gcc: add patches for powerpc e6500 64-bit support
authorArnout Vandecappelle <arnout@mind.be>
Fri, 6 Nov 2015 14:05:44 +0000 (15:05 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 16 Nov 2015 23:16:03 +0000 (00:16 +0100)
commit71b0ebd92d887c3c6b319e8d57c46db0274aa231
tree72e5ed15f48109f63683f3686835286716d39459
parent1ca617fe72678cbd15e3d76170b9563ec74570bd
gcc: add patches for powerpc e6500 64-bit support

Building with -mtune=e6500 led to build failures in glibc (probably in
uclibc as well) because gcc was built for a 32-bit target even though
the target tuple is powerpc64-*. This lead to a mix of 32-bit and
64-bit support and build errors like:

  fatal error: gnu/lib-names-32.h: No such file or directory

The root cause is that the configure script is not handling e6500
correctly, because of stupid typo in the condition.

Change has been submitted upstream.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Alvaro Gamez <alvaro.gamez@hazent.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gcc/4.8.5/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch [new file with mode: 0644]
package/gcc/4.9.3/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch [new file with mode: 0644]
package/gcc/5.2.0/120-gcc-config.gcc-fix-typo-for-powerpc-e6500-cpu_is_64b.patch [new file with mode: 0644]