diff options
author | Matthew McClintock <msm@freescale.com> | 2012-07-06 13:15:24 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-21 11:16:39 +0100 |
commit | 1ddd5378ec7d6d4116174181c2b3d6036b6eb7d7 (patch) | |
tree | 1e7866a2ac746b323bead855b42902709603370d /meta/recipes-devtools/qemu/qemu-0.15.1/0001-ppc64-Fix-linker-script.patch | |
parent | ebbd09e21d78377ba1d52e6283099632e2340eff (diff) | |
download | poky-1ddd5378ec7d6d4116174181c2b3d6036b6eb7d7.tar.gz |
qemu-0.15.1: add patch to fix compilatation problems on powerpc
ERROR: Function failed: do_compile (see /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447 for further information)
ERROR: Logfile of failure stored in: /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447
Log data follows:
| DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', 'common']
| ERROR: Function failed: do_compile (see /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447 for further information)
| NOTE: make -j 24
| LINK ppc-linux-user/qemu-ppc
| /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/sysroots/x86_64-linux/usr/libexec/ppc64e5500-fsl-linux/gcc/powerpc64-fsl-linux/4.6.4/ld:/opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/qemu-0.15.1/ppc64.ld:84: syntax error
| collect2: ld returned 1 exit status
| make[1]: *** [qemu-ppc] Error 1
| make: *** [subdir-ppc-linux-user] Error 2
| make: *** Waiting for unfinished jobs....
| ERROR: oe_runmake failed
(From OE-Core rev: 2a1f7a8be5170cdb85f9faae81d94ac2ca8b6566)
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-0.15.1/0001-ppc64-Fix-linker-script.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-0.15.1/0001-ppc64-Fix-linker-script.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-0.15.1/0001-ppc64-Fix-linker-script.patch b/meta/recipes-devtools/qemu/qemu-0.15.1/0001-ppc64-Fix-linker-script.patch new file mode 100644 index 0000000000..d64d76fc6c --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu-0.15.1/0001-ppc64-Fix-linker-script.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | From 7c0a3409627604c111d5c5e1ce4e0224c2b56315 Mon Sep 17 00:00:00 2001 | ||
4 | From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber@suse.de> | ||
5 | Date: Tue, 4 Oct 2011 05:14:52 +0000 | ||
6 | Subject: [PATCH] ppc64: Fix linker script | ||
7 | MIME-Version: 1.0 | ||
8 | Content-Type: text/plain; charset=UTF-8 | ||
9 | Content-Transfer-Encoding: 8bit | ||
10 | |||
11 | Since commit 8733f609 (Fix linker scripts) linking on Linux/ppc64 fails: | ||
12 | |||
13 | LINK ppc64-linux-user/qemu-ppc64 | ||
14 | /usr/lib64/gcc/powerpc64-suse-linux/4.3/../../../../powerpc64-suse-linux/bin/ld:/home/afaerber/qemu/ppc64.ld:84: syntax error | ||
15 | collect2: ld gab 1 als Ende-Status zurück | ||
16 | make[1]: *** [qemu-ppc64] Fehler 1 | ||
17 | make: *** [subdir-ppc64-linux-user] Fehler 2 | ||
18 | |||
19 | Fix by removing a leftover line in the ppc64 linker script. | ||
20 | |||
21 | Cc: Gerd Hoffmann <kraxel@redhat.com> | ||
22 | Cc: Blue Swirl <blauwirbel@gmail.com> | ||
23 | Signed-off-by: Andreas Färber <afaerber@suse.de> | ||
24 | Signed-off-by: Alexander Graf <agraf@suse.de> | ||
25 | --- | ||
26 | ppc64.ld | 4 ++-- | ||
27 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
28 | |||
29 | diff --git a/ppc64.ld b/ppc64.ld | ||
30 | index 0059ee5..0a7c0dd 100644 | ||
31 | --- a/ppc64.ld | ||
32 | +++ b/ppc64.ld | ||
33 | @@ -81,8 +81,8 @@ SECTIONS | ||
34 | .sdata2 : { *(.sdata2 .sdata2.* .gnu.linkonce.s2.*) } | ||
35 | .sbss2 : { *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*) } | ||
36 | .eh_frame_hdr : { *(.eh_frame_hdr) } | ||
37 | -*(.gcc_except_table.*) } /* Adjust the address for the data segment. We want to | ||
38 | -adjust up to + the same address within the page on the next page up. */ | ||
39 | + /* Adjust the address for the data segment. We want to adjust up to | ||
40 | + the same address within the page on the next page up. */ | ||
41 | . = ALIGN (0x10000) - ((0x10000 - .) & (0x10000 - 1)); . = DATA_SEGMENT_ALIGN | ||
42 | (0x10000, 0x1000); /* Exception handling */ | ||
43 | .eh_frame : { KEEP (*(.eh_frame)) } | ||
44 | -- | ||
45 | 1.7.10 | ||
46 | |||