tech-toolchain archive

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

Re: gcc-4.5: cups build problem

On Sun, Aug 14, 2011 at 07:03:28PM +0200, Thomas Klausner wrote:
> Just updated my system to a snapshot with gcc-4.5, now cups doesn't build 
> with:
> Linking genstrings...
> libtool: link: c++ -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -pie -fPIE -Wall 
> -Wno-format-y2k -fPIC -Os -g -o genstrings genstrings.o  
> -L/scratch/print/cups/work/cups-1.4.6/cgi-bin 
> -L/scratch/print/cups/work/cups-1.4.6/cups 
> -L/scratch/print/cups/work/cups-1.4.6/filter 
> -L/scratch/print/cups/work/cups-1.4.6/ppdc 
> -L/scratch/print/cups/work/cups-1.4.6/scheduler 
> -L/scratch/print/cups/work/.buildlink/lib 
> -L/scratch/print/cups/work/.x11-buildlink/lib libcupsppdc.a ../cups/libcups.a 
> -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lasn1 -lwind -lroken -lpthread 
> -lssl -lcrypto -ldns_sd -lm -lcrypt -lz
> ld: /usr/lib/libgcc_eh.a(unwind-dw2.o): relocation R_X86_64_32S against `a 
> local symbol' can not be used when making a shared object; recompile with 
> -fPIC
> /usr/lib/libgcc_eh.a: could not read symbols: Bad value
> Are we missing a -fPIC in the base system or am I misunderstanding the
> error message?

Did you rebuild libtool-base after updating current?


Home | Main Index | Thread Index | Old Index