kumquat-buildroot/package/gcc
Vicente Olivert Riera 2fda0dd7d4 Disable gcc-4.8.x + binutils-2.25 + MIPS combination
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:

  57f5c0954f

However, given the following reasons...

- Upstream gcc 4.8 branch is closed.
- The fix is very hard to backport from 4.9 to 4.8.
- This stuff is insanely sensitive and not working at all could be
  better than looking like it works but not quite.

...I think the best choice is to disable that combination in Buildroot.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-03 10:32:41 +02:00
..
4.5.4
4.7.4
4.8.5 gcc: bump 4.8.x version 2015-06-24 09:20:43 +02:00
4.9.3 gcc: bump 4.9.x series to version 4.9.3 2015-06-28 14:03:44 +02:00
5.1.0 gcc: add support for gcc 5.1 2015-06-23 00:18:17 +02:00
arc-2015.06-rc1 ARC: update folders with patches for arc-2015.06-rc1 release 2015-07-01 09:50:06 +02:00
gcc-final
gcc-initial package/gcc: fix ARC failure to build in 2 phases. 2015-07-02 23:44:28 +02:00
Config.in.host Disable gcc-4.8.x + binutils-2.25 + MIPS combination 2015-07-03 10:32:41 +02:00
gcc.hash ARC: switch to RC1 of upcoming arc-2015.06 tools 2015-06-28 14:35:15 +02:00
gcc.mk