* [gentoo-embedded] Modular X and libgcc?
@ 2006-03-22 15:17 Christian Nygaard
2006-03-22 15:44 ` Eric G Ortego
0 siblings, 1 reply; 4+ messages in thread
From: Christian Nygaard @ 2006-03-22 15:17 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 1333 bytes --]
I've emerged an embedded system which uses glibc everything worked just fine
for a while,
can login tries to start X, shobang it crashes on missing libgcc_s.so. The
target embedded
system runs Via C3 supposed to be a i586 CPU, thus I'm unsure if just
copying the
i686-pc-linux-gnu/3.4.4/libgcc_s.so.1 will work.
Modular X didnt use to have this libgcc dependancy in the past - is it
coming from GCC 3.4?
How do you get rid of the dependancy or work around it?
# ldd /embedded_rootfs4/usr/bin/Xorg
linux-gate.so.1 => (0xffffe000)
liblbxutil.so.1 => /usr/lib/liblbxutil.so.1 (0xb7ede000)
libdl.so.2 => /lib/libdl.so.2 (0xb7eda000)
libXfont.so.1 => /usr/lib/libXfont.so.1 (0xb7e73000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7e11000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7e0e000)
libfontenc.so.1 => /usr/lib/libfontenc.so.1 (0xb7e08000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7e02000)
libz.so.1 => /lib/libz.so.1 (0xb7df1000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7dce000)
libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libgcc_s.so.1
(0xb7dc5000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7cab000)
/lib/ld-linux.so.2 (0xb7f09000)
Hints would be greatly appreciated!
Greets,
Chris
[-- Attachment #2: Type: text/html, Size: 1894 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-embedded] Modular X and libgcc?
2006-03-22 15:17 [gentoo-embedded] Modular X and libgcc? Christian Nygaard
@ 2006-03-22 15:44 ` Eric G Ortego
0 siblings, 0 replies; 4+ messages in thread
From: Eric G Ortego @ 2006-03-22 15:44 UTC (permalink / raw
To: gentoo-embedded
On 3/22/06, Christian Nygaard <christiannygaard@gmail.com> wrote:
> I've emerged an embedded system which uses glibc everything worked just fine
> for a while,
The gentoo embedded project uses uclibc, Anything non uclibc related
will likely get ignored.
> can login tries to start X, shobang it crashes on missing libgcc_s.so. The
> target embedded
> system runs Via C3 supposed to be a i586 CPU, thus I'm unsure if just
> copying the
> i686-pc-linux-gnu/3.4.4/libgcc_s.so.1 will work.
You should probably file a bug report so that the gentoo xorg
developers can help you. or try #gentoo-desktop on the freenode irc
server.
Cheers,
Eric
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [gentoo-embedded] Modular X and libgcc?
@ 2006-03-22 15:59 Morgan, Austin D.
2006-03-22 20:27 ` Christian Nygaard
0 siblings, 1 reply; 4+ messages in thread
From: Morgan, Austin D. @ 2006-03-22 15:59 UTC (permalink / raw
To: 'gentoo-embedded@lists.gentoo.org'
I use gentoo embedded with glibc (required for dosemu don't ask). I do not
on the other hand use X. Which gcc version you use to compile is the one
you should include. I ran into a similar issue, I use a cross compiler as
opposed to the stages that are most commonly used here. If you are using
stages in a chroot environment then get your library from there if you are
using a cross compiler, or your standard i686 compiler optimized for the C3
cpu then you can copy the one you listed.
Thing to note about the Via C3. There are many versions all under the same
moniker. The Via C3-2 (Nehemiah) will run as a 686 using SSE. The Via C3
before model 9 does not have the cmov instruction therefore it must be
compiled as i586 unless you apply a patchset to gcc. If you don't know
which you are using pre model 9's have 3dnow, model 9+ has sse exclusively.
I use the C3-2 which means that I do not have to use some of the fancy
tricks other use to get my embedded system working. I use the cross
compiler tools to maintain a separate compiler so I don't have to worry
about gentoo upgrading mine in the future.
Austin Morgan
-----Original Message-----
From: gentoo-embedded+bounces-753-AUSTIN.D.MORGAN=saic.com@gentoo.org
[mailto:gentoo-embedded+bounces-753-AUSTIN.D.MORGAN=saic.com@gentoo.org] On
Behalf Of Eric G Ortego
Sent: Wednesday, March 22, 2006 9:45 AM
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Modular X and libgcc?
On 3/22/06, Christian Nygaard <christiannygaard@gmail.com> wrote:
> I've emerged an embedded system which uses glibc everything worked
> just fine for a while,
The gentoo embedded project uses uclibc, Anything non uclibc related will
likely get ignored.
> can login tries to start X, shobang it crashes on missing libgcc_s.so.
> The target embedded system runs Via C3 supposed to be a i586 CPU, thus
> I'm unsure if just copying the
> i686-pc-linux-gnu/3.4.4/libgcc_s.so.1 will work.
You should probably file a bug report so that the gentoo xorg developers can
help you. or try #gentoo-desktop on the freenode irc server.
Cheers,
Eric
--
gentoo-embedded@gentoo.org mailing list
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-embedded] Modular X and libgcc?
2006-03-22 15:59 Morgan, Austin D.
@ 2006-03-22 20:27 ` Christian Nygaard
0 siblings, 0 replies; 4+ messages in thread
From: Christian Nygaard @ 2006-03-22 20:27 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 358 bytes --]
>
> > can login tries to start X, shobang it crashes on missing libgcc_s.so.
> > The target embedded system runs Via C3 supposed to be a i586 CPU, thus
> > I'm unsure if just copying the
> > i686-pc-linux-gnu/3.4.4/libgcc_s.so.1 will work.
reemerging gcc on the buildhost solved the issue. I'm still curious why
libgcc is there though.
//Chris
[-- Attachment #2: Type: text/html, Size: 550 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-03-22 20:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-22 15:17 [gentoo-embedded] Modular X and libgcc? Christian Nygaard
2006-03-22 15:44 ` Eric G Ortego
-- strict thread matches above, loose matches on Subject: below --
2006-03-22 15:59 Morgan, Austin D.
2006-03-22 20:27 ` Christian Nygaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox