This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Reinoud, list, On Wed, Apr 8, 2015 at 1:31 PM, Reinoud Koornstra <reinoudkoornstra@gmail.com> wrote: > Hi Bryan, > > I sent a message to the crossgcc list, but I don't see it showing up. > Maybe you've got a clue? If I don't, I'm sure someone on the list might! Lets try! :) > During the compiling of the final gcc 4.9.2, i'm encountering this problem: > > [ALL ] checking for LFS support... libtool: link: > /media/SSD/Reinoud/latest_crosstools/.build/mipsel-coconut-linux-uclibc/build/build-cc-final/./gcc/xgcc > -B/media/SSD/Reinoud/latest_crosstools/.build/mipsel-coconut-linux-uclibc/build/build-cc-final/./gcc/ > -B/media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/bin/ > -B/media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/lib/ > -isystem /media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/include > -isystem /media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/sys-include > -shared .libs/ssp.o .libs/gets-chk.o .libs/memcpy-chk.o > .libs/memmove-chk.o .libs/mempcpy-chk.o .libs/memset-chk.o > .libs/snprintf-chk.o .libs/sprintf-chk.o .libs/stpcpy-chk.o > .libs/strcat-chk.o .libs/strcpy-chk.o .libs/strncat-chk.o > .libs/strncpy-chk.o .libs/vsnprintf-chk.o .libs/vsprintf-chk.o > -Wl,--version-script=/media/SSD/Reinoud/latest_crosstools/.build/src/gcc-4.9.2/libssp/ssp.map > -Wl,-EL -Wl,-soname -Wl,libssp.so.0 -o .libs/libssp.so.0.0.0 > [ALL ] /media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/bin/ld: > .libs/ssp.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not > be used when making a shared object; recompile with -fPIC > [ALL ] .libs/ssp.o: error adding symbols: Bad value > [ERROR] collect2: error: ld returned 1 exit status > [ERROR] make[4]: *** [libssp.la] Error 1 > > Ii'm not sure where to try to add the -fPIC flag and if that even > helps in the first place. >From what I understand... https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fPIC-2808 It's a CFLAG that should probably go into CT_TARGET_CFLAGS (? I think?). Are you sure you want ssp with mipsel and uclibc? Just checking. > Any suggestions? -Bryan -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |