#1766: pkg-config 0.21 is not 64-bit clean
--------------------------------------------+-------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [email protected]
Type: defect | Status: new
Priority: highest | Milestone: x86_64 LiveCD
Component: CD | Version: x86_64-6.3
Keywords: |
--------------------------------------------+-------------------------------
The debian build log filter, http://people.debian.org/~dannf/check-
implicit-pointer-functions, reported this for pkg-config-0.21 build log:
{{{
Function `strsignal' implicitly converted to pointer at gstrfuncs.c:674
}}}
This is important, as this causes pointer truncation on 64-bit
architectures and thus segfaults.
The file in question is a part of the embedded glib-1.2.8 copy. The fix is
to #include a header that declares the strsignal() function, i.e.:
{{{
#define _GNU_SOURCE
#include <string.h>
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/livecd/ticket/1766>
LiveCD Trac <http://wiki.linuxfromscratch.org/livecd/>
Linux From Scratch LiveCD
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page