-----BEGIN PGP SIGNED MESSAGE-----
it seems as there's an older bug in (maybe) g++.
The package znc won't build on the following architectures:
It FTBFS with the following error message:
> i486-gnu-g++ -Wl,--export-dynamic -o znc String.o Csocket.o main.o
znc.o User.o IRCSock.o Client.o DCCBounce.o DCCSock.o Chan.o Nick.o
Server.o Modules.o MD5.o Buffer.o Utils.o FileUtils.o HTTPSock.o
Template.o -ldl -lssl -lcrypto
> znc.o: In function `CLockFile::TryExLock(CString const&, bool)':
const&, bool)]+0x6a): undefined reference to `__open_2'
How you can see at  it just happens with -D_FORTIFY_SOURCE=2 -
without fortify_source it's compiling, linking and working well.
So on FORTIFY_SOURCE=2 is optimizing something in a quite bad way?
This is at znc the evil line which causes the FTBFS:
m_fd = open(sFile.c_str(), bRw ? O_RDWR : O_RDONLY);
You can find it in Utils.h arround line 112.
The author of the software znc Uli Schlachter has written the
"testcase.cpp" where you could also test it (with some notes).
As the build logs on  say, this bug also exists in stable and lenny,
but I haven't got a hurd/kfreebsd stable/testing buildd.
Mit freundlichem Gruß / With kind regards,
// Always if we think we are right,
// we were maybe wrong.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
-----END PGP SIGNATURE-----