* [Qemu-devel] SDL, GLIBC_PRIVATE error for __libc_sigaction
@ 2004-07-12 19:13 Paul Jakma
2004-07-13 21:34 ` Hetz Ben Hamo
0 siblings, 1 reply; 8+ messages in thread
From: Paul Jakma @ 2004-07-12 19:13 UTC (permalink / raw)
To: qemu-devel
Hi,
I get the following error trying to run qemu compiled with SDL
support:
./i386-softmmu/qemu: relocation error: ./i386-softmmu/qemu: symbol
__libc_sigaction, version GLIBC_PRIVATE not defined in file libc.so.6
with link time reference
This is on FC2 x86_64. AFAICT. Judging by posts like:
http://sources.redhat.com/ml/libc-hacker/2004-05/msg00001.html
The glibc folks are rather keen to not have GLIBC_PRIVATE symbols be
used outside of libc ;) (that patch doesnt remove __libc_sigaction
AFAICT, but I guess it's been removed since then.
Is there any workaround for this? (other than not using SDL support).
regards,
--
Paul Jakma paul@clubi.ie paul@jakma.org Key ID: 64A2FF6A
warning: do not ever send email to spam@dishone.st
Fortune:
All of the animals except man know that the principal business of life is
to enjoy it.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] SDL, GLIBC_PRIVATE error for __libc_sigaction
2004-07-12 19:13 [Qemu-devel] SDL, GLIBC_PRIVATE error for __libc_sigaction Paul Jakma
@ 2004-07-13 21:34 ` Hetz Ben Hamo
2004-07-13 11:27 ` Paul Jakma
0 siblings, 1 reply; 8+ messages in thread
From: Hetz Ben Hamo @ 2004-07-13 21:34 UTC (permalink / raw)
To: qemu-devel, paul
Do: LD_ASSUME_KERNEL=2.2.5 qemu <and the qemu parameters>
Thanks,
Hetz
Paul Jakma wrote:
> Hi,
>
> I get the following error trying to run qemu compiled with SDL support:
>
> ./i386-softmmu/qemu: relocation error: ./i386-softmmu/qemu: symbol
> __libc_sigaction, version GLIBC_PRIVATE not defined in file libc.so.6
> with link time reference
>
> This is on FC2 x86_64. AFAICT. Judging by posts like:
>
> http://sources.redhat.com/ml/libc-hacker/2004-05/msg00001.html
>
> The glibc folks are rather keen to not have GLIBC_PRIVATE symbols be
> used outside of libc ;) (that patch doesnt remove __libc_sigaction
> AFAICT, but I guess it's been removed since then.
>
> Is there any workaround for this? (other than not using SDL support).
>
> regards,
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] SDL, GLIBC_PRIVATE error for __libc_sigaction
2004-07-13 21:34 ` Hetz Ben Hamo
@ 2004-07-13 11:27 ` Paul Jakma
2004-07-13 12:30 ` Jocelyn Mayer
2004-07-13 12:53 ` Paul Jakma
0 siblings, 2 replies; 8+ messages in thread
From: Paul Jakma @ 2004-07-13 11:27 UTC (permalink / raw)
To: Hetz Ben Hamo; +Cc: qemu-devel
On Wed, 14 Jul 2004, Hetz Ben Hamo wrote:
> Do: LD_ASSUME_KERNEL=2.2.5 qemu <and the qemu parameters>
Hmm, that doesnt work:
LD_ASSUME_KERNEL=2.2.5 ./i386-softmmu/qemu -hda /mnt/s10/hda.img -hdb /mnt/s10/hdb.img -m 256
./i386-softmmu/qemu: error while loading shared libraries: libm.so.6:
cannot open shared object file: No such file or directory
What I have done is just to remove the sigaction stuff from vl.c, as
I found a post to the list (via google) which suggested that this
libc abuse is only needed for old libc's (linuxthreads?). If I do
that qemu works, I get a window popped up, it stays black and after a
while qemu segfaults. Thing is, qemu also segfaults if i compile
without SDL support.
This is on x86-64. Is qemu known to work on 64bit systems? I noticed
quite a few integer<->pointer warnings when compiling qemu..
> Thanks,
> Hetz
regards,
--
Paul Jakma paul@clubi.ie paul@jakma.org Key ID: 64A2FF6A
warning: do not ever send email to spam@dishone.st
Fortune:
It's great to be smart 'cause then you know stuff.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] SDL, GLIBC_PRIVATE error for __libc_sigaction
2004-07-13 11:27 ` Paul Jakma
@ 2004-07-13 12:30 ` Jocelyn Mayer
2004-07-13 13:36 ` Martin Garton
2004-07-13 12:53 ` Paul Jakma
1 sibling, 1 reply; 8+ messages in thread
From: Jocelyn Mayer @ 2004-07-13 12:30 UTC (permalink / raw)
To: qemu mailing list
On Tue, 2004-07-13 at 13:27, Paul Jakma wrote:
> On Wed, 14 Jul 2004, Hetz Ben Hamo wrote:
>
> > Do: LD_ASSUME_KERNEL=2.2.5 qemu <and the qemu parameters>
>
> Hmm, that doesnt work:
>
> LD_ASSUME_KERNEL=2.2.5 ./i386-softmmu/qemu -hda /mnt/s10/hda.img -hdb /mnt/s10/hdb.img -m 256
> ./i386-softmmu/qemu: error while loading shared libraries: libm.so.6:
> cannot open shared object file: No such file or directory
>
> What I have done is just to remove the sigaction stuff from vl.c, as
> I found a post to the list (via google) which suggested that this
> libc abuse is only needed for old libc's (linuxthreads?). If I do
> that qemu works, I get a window popped up, it stays black and after a
> while qemu segfaults. Thing is, qemu also segfaults if i compile
> without SDL support.
>
> This is on x86-64. Is qemu known to work on 64bit systems? I noticed
> quite a few integer<->pointer warnings when compiling qemu..
I don't use qemu pc emulation a lot, but qemu-ppc runs fine on my
x86_64, with a Gentoo distrib, using Linux kernel 2.6.
I had some issues with PC emulation last time I tried it:
the BIOS seemed to start to execute then freezed.
But it's been quite a long time ago...
I'll retry and tell here if it's better now.
--
Jocelyn Mayer <l_indien@magic.fr>
Never organized
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] SDL, GLIBC_PRIVATE error for __libc_sigaction
2004-07-13 12:30 ` Jocelyn Mayer
@ 2004-07-13 13:36 ` Martin Garton
0 siblings, 0 replies; 8+ messages in thread
From: Martin Garton @ 2004-07-13 13:36 UTC (permalink / raw)
To: qemu mailing list
On 13 Jul 2004, Jocelyn Mayer wrote:
> > This is on x86-64. Is qemu known to work on 64bit systems? I noticed
> > quite a few integer<->pointer warnings when compiling qemu..
>
> I don't use qemu pc emulation a lot, but qemu-ppc runs fine on my
> x86_64, with a Gentoo distrib, using Linux kernel 2.6.
> I had some issues with PC emulation last time I tried it:
> the BIOS seemed to start to execute then freezed.
> But it's been quite a long time ago...
> I'll retry and tell here if it's better now.
It still does that for me. I'm using gentoo on amd64 also. I have had to
so a static 32 bit compile and use that for now. (I tried to understand
the problem, but qemu is a bit beyond my knowledge)
--
Martin.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] SDL, GLIBC_PRIVATE error for __libc_sigaction
2004-07-13 11:27 ` Paul Jakma
2004-07-13 12:30 ` Jocelyn Mayer
@ 2004-07-13 12:53 ` Paul Jakma
2004-07-13 13:23 ` Frederic Bezies
1 sibling, 1 reply; 8+ messages in thread
From: Paul Jakma @ 2004-07-13 12:53 UTC (permalink / raw)
To: Hetz Ben Hamo; +Cc: qemu-devel
On Tue, 13 Jul 2004, Paul Jakma wrote:
> This is on x86-64. Is qemu known to work on 64bit systems? I
> noticed quite a few integer<->pointer warnings when compiling
> qemu..
Well, qemu i386 actually works, yay!
However, Solaris (the OS I'm trying to run), hangs before booting the
kernel. I'm running 0.5.5, and i notice the 0.6.0 changelog mentions
a solaris related fix.
Question is, how do i get the qemu configure script to pass -m32 to
gcc? I've tried --extra-cflags, export CFLAGS, etc, but nothing seems
to work. (config-host.mak has CFLAGS=-m32).
regards,
--
Paul Jakma paul@clubi.ie paul@jakma.org Key ID: 64A2FF6A
warning: do not ever send email to spam@dishone.st
Fortune:
Riches cover a multitude of woes.
-- Menander
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] SDL, GLIBC_PRIVATE error for __libc_sigaction
2004-07-13 12:53 ` Paul Jakma
@ 2004-07-13 13:23 ` Frederic Bezies
2004-07-13 13:33 ` Hetz Ben Hamo
0 siblings, 1 reply; 8+ messages in thread
From: Frederic Bezies @ 2004-07-13 13:23 UTC (permalink / raw)
To: qemu-devel
Le 07/13/2004 02:53 PM, Paul Jakma a écrit :
> On Tue, 13 Jul 2004, Paul Jakma wrote:
>
>> This is on x86-64. Is qemu known to work on 64bit systems? I noticed
>> quite a few integer<->pointer warnings when compiling qemu..
>
>
> Well, qemu i386 actually works, yay!
Of course it works ;)
>
> However, Solaris (the OS I'm trying to run), hangs before booting the
> kernel. I'm running 0.5.5, and i notice the 0.6.0 changelog mentions a
> solaris related fix.
Well, can we download for free a version of solaris x86 ? ;p
>
> Question is, how do i get the qemu configure script to pass -m32 to gcc?
> I've tried --extra-cflags, export CFLAGS, etc, but nothing seems to
> work. (config-host.mak has CFLAGS=-m32).
>
> regards,
I got the same error when trying to launch an homemade build of qemu on
my linux Fedora Core 2...
--
Frédéric Béziès - mozjf@alussinan.org
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-07-13 13:45 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-12 19:13 [Qemu-devel] SDL, GLIBC_PRIVATE error for __libc_sigaction Paul Jakma
2004-07-13 21:34 ` Hetz Ben Hamo
2004-07-13 11:27 ` Paul Jakma
2004-07-13 12:30 ` Jocelyn Mayer
2004-07-13 13:36 ` Martin Garton
2004-07-13 12:53 ` Paul Jakma
2004-07-13 13:23 ` Frederic Bezies
2004-07-13 13:33 ` Hetz Ben Hamo
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).