public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Problem compiling final gcc for MIPS
@ 2015-04-07 22:33 Reinoud Koornstra
  0 siblings, 0 replies; only message in thread
From: Reinoud Koornstra @ 2015-04-07 22:33 UTC (permalink / raw)
  To: crossgcc

Hi Everyone,

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.
Any suggestions?
Thanks,

Reinoud.

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-07 22:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07 22:33 Problem compiling final gcc for MIPS Reinoud Koornstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).