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 10:24:16PM +0200, Martin Husemann wrote:
> On Sun, Aug 14, 2011 at 08:39:47PM +0200, Joerg Sonnenberger wrote:
> > Basically, the code should be linked with something like -lgcc_s
> > -lgcc_eh -lgcc. All symbols should be found in libgcc_s, so the latter
> > two are supposed to be nops.
> c++ should handle that, I suppose?
> The failing command is:
> libtool: link: c++ -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -pie -fPIE -Wall 
> -Wno-format-y2k -fPIC -Os -g -o .libs/ppdc ppdc.o  
> -L/usr/pkgobj/print/cups/work/cups-1.4.6/cups/.libs 
> -L/usr/pkgobj/print/cups/work/cups-1.4.6/cgi-bin 
> -L/usr/pkgobj/print/cups/work/cups-1.4.6/cups 
> -L/usr/pkgobj/print/cups/work/cups-1.4.6/filter 
> -L/usr/pkgobj/print/cups/work/cups-1.4.6/ppdc 
> -L/usr/pkgobj/print/cups/work/cups-1.4.6/scheduler 
> -L/usr/pkgobj/print/cups/work/.buildlink/lib 
> -L/usr/pkgobj/print/cups/work/.x11-buildlink/lib ../ppdc/.libs/ 
> /usr/pkgobj/print/cups/work/cups-1.4.6/cups/.libs/ 
> ../cups/.libs/ -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lasn1 
> -lwind -lroken -lpthread -lz -lssl -lcrypto -ldns_sd -lm -lcrypt -Wl,-rpath 
> -Wl,/usr/pkg/lib
> I don't see anytthikng gcc specific in there.

The real question is how ld is ultimately called. wrapper log could
help, otherwise add -v to the cmd line.


Home | Main Index | Thread Index | Old Index