Skip to contentSkip to conversation

Anyone using uClibc on a 405GP platform?

DISCUSSION Torben Mathiasen 2 participants 5 messages Feb 24, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

Does anyone successfully use uClibc on a 405GP platform? I tried compiling uClibc but all my dynamic apps just segfault. Its the shared library loader that segfaults immediately after execve(). I tried both a recent 2.4 and 2.6 kernel with the same result. Also using latest 0.9.26 uClibc.

Has anyone gotten this to work?

On my i386 platform uClibc works very well.

Thanks,
Torben
--

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 11 lines

Hi,

Does anyone successfully use uClibc on a 405GP platform? I tried compiling
uClibc but all my dynamic apps just segfault. Its the shared library loader
that segfaults immediately after execve(). I tried both a recent 2.4 and 2.6
kernel with the same result. Also using latest 0.9.26 uClibc.

Quoted 3 lines

Has anyone gotten this to work?

On my i386 platform uClibc works very well.

ldso is broken in 0.9.26 uClibc for powerpc, try latest uClibc CVS. There might be some problem with dlopen and friends in CVS still.

Jocke

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
In reply to Torben Mathiasen
Quoted 10 lines · Torben Mathiasen

Hi,

Does anyone successfully use uClibc on a 405GP platform? I tried compiling uClibc but all my dynamic apps just segfault. Its the shared library loader that segfaults immediately after execve(). I tried both a recent 2.4 and 2.6 kernel with the same result. Also using latest 0.9.26 uClibc.

Has anyone gotten this to work?

Funny, I got this to work. I was under the assumption that one should be able to execute the library loader directly, which has never worked for me on powerpc. But a dynamic linked application seems to be working now. Both those I compiled myself and the ones I got from the root_fs_powerpc fs.

Torben
--

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw
Quoted 16 lines · Torben Mathiasen
Quoted 4 lines

Hi,

Does anyone successfully use uClibc on a 405GP platform? I

tried compiling

Quoted 1 line

uClibc but all my dynamic apps just segfault. Its the

shared library loader

Quoted 1 line

that segfaults immediately after execve(). I tried both a

recent 2.4 and 2.6

Quoted 4 lines

kernel with the same result. Also using latest 0.9.26 uClibc.

Has anyone gotten this to work?

Quoted 7 lines

Funny, I got this to work. I was under the assumption that one should be able
to execute the library loader directly, which has never worked for me on
powerpc. But a dynamic linked application seems to be working now. Both those
I compiled myself and the ones I got from the root_fs_powerpc fs.

hmm, not sure about executing ldso directly, you may have better luck asking about that on the uClibc list.

ldso is however somewhat broken. Lots of stuff/fixes has been added since the last release.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#4 lore raw
Quoted 23 lines · Joakim Tjernlund
Quoted 15 lines · Torben Mathiasen
Quoted 4 lines

Hi,

Does anyone successfully use uClibc on a 405GP platform? I

tried compiling

Quoted 1 line

uClibc but all my dynamic apps just segfault. Its the

shared library loader

Quoted 1 line

that segfaults immediately after execve(). I tried both a

recent 2.4 and 2.6

Quoted 4 lines

kernel with the same result. Also using latest 0.9.26 uClibc.

Has anyone gotten this to work?

Quoted 7 lines

Funny, I got this to work. I was under the assumption that one should be able
to execute the library loader directly, which has never worked for me on
powerpc. But a dynamic linked application seems to be working now. Both those
I compiled myself and the ones I got from the root_fs_powerpc fs.

Quoted 5 lines

hmm, not sure about executing ldso directly, you may have better luck asking about that on the uClibc list.

ldso is however somewhat broken. Lots of stuff/fixes has been added since the last release.

Thanks for the info. The uClibc I'm using now is the latest from CVS.

Torben
--

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/