2fda0dd7d4
This combination causes a compilation failure of the host-gcc-final
recipe like this one:
/br/output/host/usr/mips-buildroot-linux-gnu/bin/ld:
.libs/gload.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not
be used when making a shared object; recompile with -fPIC
The problem is the file 'libatomic/gload.c' is compiled without -fPIC
when using binutils-2.25. All gcc (with libatomic) versions below 4.9.3
are affected by this issue.
Here is a summary of affected/unaffected versions in Buildroot:
4.7.x: unaffected (doesn't have libatomic)
4.8.x: affected
4.9.x: unaffected (we have 4.9.3 which is fixed)
5.1.x: unaffected
The fix can be found here:
|
||
---|---|---|
.. | ||
4.5.4 | ||
4.7.4 | ||
4.8.5 | ||
4.9.3 | ||
5.1.0 | ||
arc-2015.06-rc1 | ||
gcc-final | ||
gcc-initial | ||
Config.in.host | ||
gcc.hash | ||
gcc.mk |