* [Qemu-devel] qemu 0.7.0 does not compile with binutils 2.16
@ 2005-06-10 17:54 Gioele Barabucci
2005-06-10 20:45 ` Christian MICHON
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Gioele Barabucci @ 2005-06-10 17:54 UTC (permalink / raw)
To: qemu-devel
Hi,
I tried to compile qemu 0.7.0 on my gentoo-ppc box.
This is what the configuration script outputs:
Install prefix /usr
BIOS directory /usr/share/qemu
binary directory /usr/bin
Manual directory /usr/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /var/tmp/portage/qemu-0.7.0/work/qemu-0.7.0
C compiler gcc
make make
host CPU powerpc
host big endian yes
target list i386-user ppc-user i386-softmmu ppc-softmmu x86_64-softmmu
gprof enabled no
static build no
SDL support yes
SDL static link yes
mingw32 support no
Adlib support no
FMOD support no
kqemu support no
And this is the error message:
gcc -g -Wl,-T,/var/tmp/portage/qemu-0.7.0/work/qemu-0.7.0/ppc.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/lib/gcc/powerpc-unknown-linux-gnu/3.4.3-20050110/../../../../powerpc-unknown-linux-gnu/bin/ld:
qemu-i386: Not enough room for program headers (allocated 9, need 10)
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.3-20050110/../../../../powerpc-unknown-linux-gnu/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
make[1]: *** [qemu-i386] Error 1
make[1]: Leaving directory
`/var/tmp/portage/qemu-0.7.0/work/qemu-0.7.0/i386-user'
make: *** [all] Error 1
I used gcc-3.4.3, binutils 2.16 and gentoo's glibc 2.3.4.20041102-r1 with
NPTL.
I found a bug report similar to mine in the archives, but there was no reply.
Is this bug going to be fixed in qemu 0.7.1?
--
Gioele <dev@gioelebarabucci.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] qemu 0.7.0 does not compile with binutils 2.16
2005-06-10 17:54 [Qemu-devel] qemu 0.7.0 does not compile with binutils 2.16 Gioele Barabucci
@ 2005-06-10 20:45 ` Christian MICHON
2005-06-11 6:55 ` David Coppa
2005-06-12 14:05 ` Kevin F. Quinn
2 siblings, 0 replies; 6+ messages in thread
From: Christian MICHON @ 2005-06-10 20:45 UTC (permalink / raw)
To: qemu-devel
0.7.0 compiles fine on mingw with custom compiled gcc-3.3.6 and
binutils-2.16. This is on windows host.
Christian
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] qemu 0.7.0 does not compile with binutils 2.16
2005-06-10 17:54 [Qemu-devel] qemu 0.7.0 does not compile with binutils 2.16 Gioele Barabucci
2005-06-10 20:45 ` Christian MICHON
@ 2005-06-11 6:55 ` David Coppa
2005-06-12 14:05 ` Kevin F. Quinn
2 siblings, 0 replies; 6+ messages in thread
From: David Coppa @ 2005-06-11 6:55 UTC (permalink / raw)
To: qemu-devel
I've the same problem on my iBook running gentoo-ppc. Maybe is a
ppc-related problem...
Best regards,
David Coppa
On 6/10/05, Gioele Barabucci <dev@gioelebarabucci.com> wrote:
> Hi,
>
> I tried to compile qemu 0.7.0 on my gentoo-ppc box.
> This is what the configuration script outputs:
>
> Install prefix /usr
> BIOS directory /usr/share/qemu
> binary directory /usr/bin
> Manual directory /usr/share/man
> ELF interp prefix /usr/gnemul/qemu-%M
> Source path /var/tmp/portage/qemu-0.7.0/work/qemu-0.7.0
> C compiler gcc
> make make
> host CPU powerpc
> host big endian yes
> target list i386-user ppc-user i386-softmmu ppc-softmmu x86_64-softmmu
> gprof enabled no
> static build no
> SDL support yes
> SDL static link yes
> mingw32 support no
> Adlib support no
> FMOD support no
> kqemu support no
>
> And this is the error message:
> gcc -g -Wl,-T,/var/tmp/portage/qemu-0.7.0/work/qemu-0.7.0/ppc.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/lib/gcc/powerpc-unknown-linux-gnu/3.4.3-20050110/../../../../powerpc-unknown-linux-gnu/bin/ld:
> qemu-i386: Not enough room for program headers (allocated 9, need 10)
>
> /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.3-20050110/../../../../powerpc-unknown-linux-gnu/bin/ld:
> final link failed: Bad value
>
> collect2: ld returned 1 exit status
> make[1]: *** [qemu-i386] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/qemu-0.7.0/work/qemu-0.7.0/i386-user'
> make: *** [all] Error 1
>
> I used gcc-3.4.3, binutils 2.16 and gentoo's glibc 2.3.4.20041102-r1 with
> NPTL.
>
> I found a bug report similar to mine in the archives, but there was no reply.
> Is this bug going to be fixed in qemu 0.7.1?
>
> --
> Gioele <dev@gioelebarabucci.com>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] qemu 0.7.0 does not compile with binutils 2.16
2005-06-10 17:54 [Qemu-devel] qemu 0.7.0 does not compile with binutils 2.16 Gioele Barabucci
2005-06-10 20:45 ` Christian MICHON
2005-06-11 6:55 ` David Coppa
@ 2005-06-12 14:05 ` Kevin F. Quinn
2005-06-12 14:53 ` Grzegorz Kulewski
2005-06-12 15:19 ` Luca Barbato
2 siblings, 2 replies; 6+ messages in thread
From: Kevin F. Quinn @ 2005-06-12 14:05 UTC (permalink / raw)
To: qemu-devel
On 10/6/2005 19:54:53, Gioele Barabucci (dev@gioelebarabucci.com) wrote:
> I tried to compile qemu 0.7.0 on my gentoo-ppc box.
...
> I used gcc-3.4.3, binutils 2.16 and gentoo's glibc 2.3.4.20041102-r1 with > NPTL.
Posting a bug to Gentoo's bugzilla would be a good idea (http://bugs.gentoo.org).
Since binutils-2.16 is ~ppc (i.e. being tested), you could try the latest stable version of binutils (2.15.90.0.3-r5). That would demonstrate whether it's a binutils issue or not.
Kev.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] qemu 0.7.0 does not compile with binutils 2.16
2005-06-12 14:05 ` Kevin F. Quinn
@ 2005-06-12 14:53 ` Grzegorz Kulewski
2005-06-12 15:19 ` Luca Barbato
1 sibling, 0 replies; 6+ messages in thread
From: Grzegorz Kulewski @ 2005-06-12 14:53 UTC (permalink / raw)
To: Kevin F.Quinn; +Cc: qemu-devel
On Sun, 12 Jun 2005, Kevin F.Quinn wrote:
> On 10/6/2005 19:54:53, Gioele Barabucci (dev@gioelebarabucci.com) wrote:
>
>> I tried to compile qemu 0.7.0 on my gentoo-ppc box.
> ...
>> I used gcc-3.4.3, binutils 2.16 and gentoo's glibc 2.3.4.20041102-r1 with > NPTL.
>
> Posting a bug to Gentoo's bugzilla would be a good idea (http://bugs.gentoo.org).
> Since binutils-2.16 is ~ppc (i.e. being tested), you could try the latest stable version of binutils (2.15.90.0.3-r5). That would demonstrate whether it's a binutils issue or not.
Similar bug was reported looong (year...) ago (x86 with QEMU-fast) and
Luca closed it with "waiting for upstream fix" message.
I think it should be reopened, it's title should be changed to reflect
current (no qemu-fast) state and somebody (who knows ld scripts more
than me) should really fix it.
Maybe Fabrice knows what is wrong?
Grzegorz Kulewski
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] qemu 0.7.0 does not compile with binutils 2.16
2005-06-12 14:05 ` Kevin F. Quinn
2005-06-12 14:53 ` Grzegorz Kulewski
@ 2005-06-12 15:19 ` Luca Barbato
1 sibling, 0 replies; 6+ messages in thread
From: Luca Barbato @ 2005-06-12 15:19 UTC (permalink / raw)
To: qemu-devel
Kevin F. Quinn wrote:
> On 10/6/2005 19:54:53, Gioele Barabucci (dev@gioelebarabucci.com) wrote:
>
>
>>I tried to compile qemu 0.7.0 on my gentoo-ppc box.
>
> ...
>
>>I used gcc-3.4.3, binutils 2.16 and gentoo's glibc 2.3.4.20041102-r1 with > NPTL.
>
>
> Posting a bug to Gentoo's bugzilla would be a good idea (http://bugs.gentoo.org).
> Since binutils-2.16 is ~ppc (i.e. being tested), you could try the latest stable
> version of binutils (2.15.90.0.3-r5). That would demonstrate whether it's a
> binutils issue or not.
The problem got already reported in the gentoo bugzilla and in the
binutils bugzilla.
As I wrote before the issue is in the linker scripts. isn't a ld
problems (it does the right thing) nor a distribution problem (I'm not
so keen on use a older and probably with more issues open version)
lu
--
Luca Barbato
Gentoo/linux Developer Gentoo/PPC Operational Leader
http://dev.gentoo.org/~lu_zero
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-06-12 15:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-10 17:54 [Qemu-devel] qemu 0.7.0 does not compile with binutils 2.16 Gioele Barabucci
2005-06-10 20:45 ` Christian MICHON
2005-06-11 6:55 ` David Coppa
2005-06-12 14:05 ` Kevin F. Quinn
2005-06-12 14:53 ` Grzegorz Kulewski
2005-06-12 15:19 ` Luca Barbato
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).