From: Michael Wetherell <mike.wetherell@ntlworld.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] trunk sources fails to compile on Debian GNU/Linux 3.1 on AMD64.
Date: Tue, 12 Jul 2005 13:15:29 +0100 [thread overview]
Message-ID: <200507121315.29311.mike.wetherell@ntlworld.com> (raw)
In-Reply-To: <Pine.LNX.4.63.0507121259180.2526@silence.gardas.net>
On Tuesday 12 Jul 2005 11:59, Karel Gardas wrote:
> > Qemu's trunk sources obtained from today CVS fails to compile on
> > debian 3.1/amd64 platform. The error is:
> >
> > gcc -g -Wl,-T,/home/karel/cvs/qemu/qemu/x86_64.ld -o qemu-i386
> > elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o
> > vm86.o libqemu.a gdbstub.o -lm
> > /usr/bin/ld:/home/karel/cvs/qemu/qemu/x86_64.ld:62: parse error
> > collect2: ld returned 1 exit status
>
> short followup: exactly the same issue also hits qemu 0.7.0 release.
Here's a suggested fix.
Regards,
Mike
--- qemu-0.7.0.orig/x86_64.ld 2005-04-27 21:52:05.000000000 +0100
+++ qemu-0.7.0/x86_64.ld 2005-07-12 13:06:32.104978032 +0100
@@ -59,8 +59,6 @@
.rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
.rodata1 : { *(.rodata1) }
.eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) }
- .gcc_except_table : ONLY_IF_RO { *(.gcc_except_table) }
/* Adjust the address for the data segment. We want to adjust up to
the same address within the page on the next page up. */
. = ALIGN (0x100000) - ((0x100000 - .) & (0x100000 - 1)); . =
DATA_SEGMENT_ALIGN (0x100000, 0x1000);
@@ -86,8 +84,8 @@
.data1 : { *(.data1) }
.tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
.tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
- .eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) }
- .gcc_except_table : ONLY_IF_RW { *(.gcc_except_table) }
+ .eh_frame : { KEEP (*(.eh_frame)) }
+ .gcc_except_table : { *(.gcc_except_table) }
.dynamic : { *(.dynamic) }
.ctors :
{
next prev parent reply other threads:[~2005-07-12 12:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-12 10:30 [Qemu-devel] trunk sources fails to compile on Debian GNU/Linux 3.1 on AMD64 Karel Gardas
2005-07-12 10:59 ` Karel Gardas
2005-07-12 12:15 ` Michael Wetherell [this message]
2005-07-12 12:44 ` Paul Brook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200507121315.29311.mike.wetherell@ntlworld.com \
--to=mike.wetherell@ntlworld.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).