diff options
author | Marek Vasut <marex@denx.de> | 2016-02-17 01:29:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-18 07:39:30 +0000 |
commit | c9e5e347f74767ef66d9a477e648b39ff5d66247 (patch) | |
tree | 9db0e4102368650a252dbde20c3b82995620270f /meta/recipes-devtools/gcc/gcc-5.3.inc | |
parent | 012460d4ff714ee75f977c35af7749c5544da7b1 (diff) | |
download | poky-c9e5e347f74767ef66d9a477e648b39ff5d66247.tar.gz |
gcc: Backport nios2 r31 fix
Backport a fix from GCC mainline, which fixes libpcre 8.38 and expat 2.1.0
build on nios2. The example of the fixed error follows:
| ./nios2-poky-linux-libtool --silent --mode=compile nios2-poky-linux-gcc -mel -mhw-div -mhw-mul --sysroot=/mnt/work/Yocto/build-nios2/tmp/sysroots/10m50 -I../expat-2.1.0/lib -I. -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o lib/xmltok.lo -c ../expat-2.1.0/lib/xmltok.c
| {standard input}: Assembler messages:
| {standard input}:4988: Error: r31 cannot be used with jmp; use ret instead
| {standard input}:9703: Error: r31 cannot be used with jmp; use ret instead
| {standard input}:20068: Error: r31 cannot be used with jmp; use ret instead
| {standard input}:24020: Error: r31 cannot be used with jmp; use ret instead
| Makefile:196: recipe for target 'lib/xmltok.lo' failed
| make: *** [lib/xmltok.lo] Error 1
| WARNING: exit code 1 from a shell command.
(From OE-Core rev: 24b0f08ae4fbaf285d494ab53a3b168a6dd17b20)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-5.3.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.3.inc b/meta/recipes-devtools/gcc/gcc-5.3.inc index a653e5c4ff..a522bc40c2 100644 --- a/meta/recipes-devtools/gcc/gcc-5.3.inc +++ b/meta/recipes-devtools/gcc/gcc-5.3.inc | |||
@@ -81,6 +81,7 @@ SRC_URI = "\ | |||
81 | file://0049-Disable-the-weak-reference-logic-in-gthr.h-for-os-ge.patch \ | 81 | file://0049-Disable-the-weak-reference-logic-in-gthr.h-for-os-ge.patch \ |
82 | file://0050-powerpc-pass-secure-plt-to-the-linker.patch \ | 82 | file://0050-powerpc-pass-secure-plt-to-the-linker.patch \ |
83 | file://0051-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch \ | 83 | file://0051-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch \ |
84 | file://0052-nios2-use-ret-with-r31.patch \ | ||
84 | " | 85 | " |
85 | 86 | ||
86 | BACKPORTS = "" | 87 | BACKPORTS = "" |