[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#361445: FTBFS with GCC 4.2: recompile with -fPIC



* Andrew_Pinski@PlayStation.Sony.Com <Andrew_Pinski@PlayStation.Sony.Com> [2006-04-18 10:49]:
> > /usr/bin/ld: /usr/lib/../lib64/libipq.a(libipq.o): relocation 
> > R_X86_64_32 against
> > `a local symbol' cannot be used when making a shared object; 
> > recompile with -fPIC
> 
> This could be still a binutils issue (without seeing the source I cannot 
> say).

FWIW, I just noticed that this also happens with GCC 4.0 and 4.1.  So
it's probably really no GCC problem but either a bug in the package or
in binutils.

See http://buildd.debian.org/fetch.php?&pkg=perlipq&ver=1.25-1&arch=amd64&stamp=1143584647&file=log&as=raw

> > openvrml_0.15.10-5
> > /usr/lib/gcc-snapshot/lib64/libstdc++.so: undefined reference to 
> > `_Unwind_GetIPInfo@GCC_4.2.0'
> 
> This one is almost 100% a configuration error.  The wrong libgcc_s.so is 
> being linked. as Unwind_GetIPInfo is new for 4.2.0.

Hmm, not sure what I'm doing wrong.
-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: