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:21 +0000 |
commit | 24b0f08ae4fbaf285d494ab53a3b168a6dd17b20 (patch) | |
tree | 8c31d936fff97110512383daf8a7211238fc09eb /meta/recipes-devtools/gcc/gcc-5.3.inc | |
parent | f92465c02ea6aef59f5e65a9eb70ebc6a5c92617 (diff) | |
download | openembedded-core-contrib-24b0f08ae4fbaf285d494ab53a3b168a6dd17b20.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.
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 = "\ file://0049-Disable-the-weak-reference-logic-in-gthr.h-for-os-ge.patch \ file://0050-powerpc-pass-secure-plt-to-the-linker.patch \ file://0051-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch \ + file://0052-nios2-use-ret-with-r31.patch \ " BACKPORTS = "" |