[LiveCD Trac] #1766: pkg-config 0.21 is not 64-bit clean

LiveCD Trac trac at linuxfromscratch.org
Sun Dec 16 08:20:58 PST 2007

#1766: pkg-config 0.21 is not 64-bit clean
 Reporter:  alexander at linuxfromscratch.org  |       Owner:  livecd at linuxfromscratch.org
     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

More information about the livecd mailing list