RE: Troubles using apbuild

Eugene Zolenko <EugeneZolenko-XYgkjQFSZqy1Z/[email protected]> Tue, 17 Mar 2009 13:33:32 -0600
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
You have to disable source fortification when building it.

Look for FORTIFY_SOURCE and how to disable it for your version. 
(-UFORTIFY_SOURCE might work, or there was cmd line flag, I forgot).

-----Original Message-----
From: Mathieu Cadet [mailto:[email protected]] 
Sent: Tuesday, March 17, 2009 1:24 PM
To: autopackage-dev-OfajU3CKLf1/[email protected]
Subject: Troubles using apbuild

Hi folks,

I'm trying to use apbuild to build more portable binaries.

However the documentation for the tool seems to be quite sparse...

I'm trying to build mono using apbuild/apgcc and I'm getting the
following errors:

[...]
/usr/include/bits/stdio2.h:105: undefined reference to
`__printf_chk@GLIBC_DONT_USE_THIS_SYMBOL'
pedump.o: In function `printf':
/usr/src/packages/BUILD/mono-2.2/mono/metadata/pedump.c:83: undefined
reference to `__printf_chk@GLIBC_DONT_USE_THIS_SYMBOL
[...]

In the pedump.c file, this error seems to be caused by the usage of
the "printf" function.

I understand that apbuild is doing some clever tricks to mask GLIBC
symbols that are too recent.
What can I do to fix those errors?

Thank you.

Regards,
Mathieu

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]