[uClibc] Segmentation fault
tovbin at niisi.msk.ru
Fri Oct 24 08:52:11 UTC 2003
On Thu, 23 Oct 2003, Erik Andersen wrote:
> On Thu Oct 23, 2003 at 06:15:56PM +0400, Tommy Tovbin wrote:
> > Greetings!!!
> > I've built uClibc-0.9.21 for mips-linux ( I mean I want to generate code
> > on 386 for mips)...
> > First of all the i386-uclibc-strip programm don't run correctly:
> > # i386-uclibc-strip t
> > i386-uclibc-strip: Warning: Output file cannot represent architecture
> > UNKNOWN!
> You can not use i386-uclibc-strip on a mips binary... You need
> to use, i.e. mipsel-uclibc-strip,
Ok... It should be noted that I build uClibc like: make CROSS=mips-linux-.
I got have toolchain for mips, but I don't undestand why indeed I got
sudden result - i386-uclibc, not mips-uclibc...
# i386-uclibc-gcc -o t test.c
# ls -l t
-rwxrwxr-x 1 tovbin tovbin 7376 Oct 24 12:48 t
# file t
t: ELF 32-bit MSB MIPS-I executable, MIPS, version 1 (SYSV), dynamically
linked (uses shared libs), not stripped
Does anybody have estimates about this?
> Erik B. Andersen http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--
"This is UNIX country. //=\ Tommy Tovbin
if you listen carefully, \=//
you can hear //=\ tovbin at niisi dot msk dot ru
Windows reboot..." \=// http://m1.sm.bmstu.ru
More information about the uClibc