rpms/inkscape/devel inkscape-0.42-GC-check.patch, 1.1, 1.2 inkscape.spec, 1.20, 1.21

Rex Dieter rdieter at math.unl.edu
Fri Aug 19 14:31:00 UTC 2005


Michael Schwendt wrote:
> On Fri, 19 Aug 2005 08:21:32 -0500, Rex Dieter wrote:

>>FYI, Extras gc is patched (gc*opendl.patch) to not need -lpthread -ldl 
>>(it's linked in the shared lib so there are no undefinted symbols, and 
>>help prelink), so you could probably leave those out altogether, if 
>>you're already testing things.
> 
> 
> Well, I didn't patch it without reason. Inkscape gtk/cairo rebuild request
> failed after 10 seconds on x86_64, which made me insert "cat config.log"
> to get a better picture:
...
> configure: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc
> + :
> + cat config.log
> [...]
> configure:22935: checking for GC_init in -lgc
> configure:22965: g++ -o conftest -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=nocona   conftest.cc -lgc   >&5
> /usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `pthread_create'
> /usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `dlopen'

WTF?  On my FC4 system at least (with gc-6.5):

$ldd /usr/lib/libgc.so
         linux-gate.so.1 =>  (0x001f2000)
         libpthread.so.0 => /lib/libpthread.so.0 (0x00e8d000)
         libdl.so.2 => /lib/libdl.so.2 (0x00977000)
         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x004b5000)
         libc.so.6 => /lib/libc.so.6 (0x006ca000)
         /lib/ld-linux.so.2 (0x00433000)

(Not sure what linux-gate.so.1 is??)

I'll have to go check on FC5(devel) to see if libgc really did link 
against libdl/libpthread or not.

Is this failure specific to x86_64 or does it occur on i386 too?

-- Rex




More information about the fedora-extras-list mailing list