Can't seem to post

Bryan Hundven
Wed Apr 8 21:28:00 GMT 2015

Reinoud, list,

On Wed, Apr 8, 2015 at 1:31 PM, Reinoud Koornstra
<> 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/
> -Wl,-EL   -Wl,-soname -Wl, -o .libs/
> [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]: *** [] 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...

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?


For unsubscribe information see

More information about the crossgcc mailing list