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

Bug#548246: cups FTBFS on mips*



* Andreas Barth (aba@not.so.argh.org) [090926 06:39]:
> * Andreas Barth (aba@not.so.argh.org) [090925 18:34]:
> > since this version cups started to FTBFS on mips*, see e.g. 
> > https://buildd.debian.org/fetch.cgi?&pkg=cups&ver=1.4.1-1&arch=mips&stamp=1253150726&file=log
> > 
> > echo Linking genstrings...
> > Linking genstrings...
> > g++  -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -Wl,--as-needed  -pie -fPIE -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o genstrings genstrings.o \
> >                 libcupsppdc.a ../cups/libcups.a -lgssapi_krb5 -lgnutls   \
> >                 -lavahi-common -lavahi-client   -lpthread -lm -lcrypt  -lz
> > echo Generating localization strings...
> > Generating localization strings...
> > ./genstrings >sample.c
> > Segmentation fault

> [...]

The last explanation wasn't correct.

Rather, binutils/gcc can't handle pie/PIE on mips* anymore.

So, please drop PIE as compiler argument on these architectures. Than
this package should build. (hardening-wrapper used to add -fpie but
not anymore with version 1.15.)



Cheers,
Andi




Reply to: