[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: where can I find glibc and ld-linux for etrax ?



>> 
>> > I just got my Axis 83 box
>> 
>> Do you mean the Axis devboard_82? If not, ignore
the following.

>Oops, it appears there *is* an "Axis 83 - Device
server".

Yes.  That's the one!  It is simply an Axis 82
Developer Board with a black aluminum box.

>What problems?  Seeing the last 50 lines of the build
log would help me helping you.


I think I am lost in the jungle of various versions of
glibc, gcc/cris-gcc, and cross-compiling platforms
(cris-dist-1.25 and native redhat gcc 3.2).  However,
I think cris-dist-1.25 is installed and working OK on
my redhat because I use it to compile the linux 2.4.20
and I got kimage and fimage and they can be loaded to
the box (using ktest) and run.  Then I need to create
ld-linux.so and various libraries so my kernel init.c
and other apps can run.  I started out with glibc
2.2.5 but with no luck and then I pulled in various
versions of glibc but none of them compiled on my
redhat 8.0.  These various glibc versions abort
compilation with various reason so I would like to
know is there any version that is considered
"verified" that I can use as the starting point. 
Notice I am using linux 2.4.20, so I would appreciate
if you can tell me those "compatible" to that linux
kernel version. 

Just FYI here.  here is the error I got from compiling
glibc 2.2.4 using cris-gcc 2.96:  (you can ignore it
if glibc 2.2.4 is NOT considered "compatible" to linux
2.4.20)

cris-gcc rtld.c -c -D__OPTIMIZE__ -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -I../include -I.
-I/home/glibc-2.2.4_cris_build/elf -I.. -I../libio

-I/home/glibc-2.2.4_cris_build -I../sysdeps/cris/elf
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/cris
-I../sysdeps/unix/sysv/linux/cris
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/cris
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic
-nostdinc -isystem
/usr/local/cris/lib/gcc-lib/cris/2.96/include -isystem
/home/axis/devboard_82/os/linux/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h
-DSHARED -o /home/glibc-2.2.4_cris_build/elf/rtld.os

rtld.c: In function `dl_main':

rtld.c:884: warning: long unsigned int format,
Elf32_Addr arg (arg 6)

rtld.c:903: warning: long unsigned int format,
Elf32_Addr arg (arg 5)

rtld.c:903: warning: long unsigned int format,
Elf32_Addr arg (arg 7)

rtld.c: At top level:

rtld.c:196: warning: `_dl_start' defined but not used

/tmp/ccENg9yn.s: Assembler messages:

/tmp/ccENg9yn.s:96: Error: Illegal operands

/tmp/ccENg9yn.s:98: Error: Illegal operands

/tmp/ccENg9yn.s:102: Error: Illegal operands

/tmp/ccENg9yn.s:121: Error: Illegal operands

/tmp/ccENg9yn.s:123: Error: Illegal operands

/tmp/ccENg9yn.s:127: Error: Illegal operands

/tmp/ccENg9yn.s:4498: Error: Illegal operands

/tmp/ccENg9yn.s:4499: Error: Illegal operands

make[2]: ***
[/home/glibc-2.2.4_cris_build/elf/rtld.os] Error 1

make[2]: Leaving directory `/home/glibc-2.2.4/elf'

make[1]: *** [elf/subdir_lib] Error 2

make[1]: Leaving directory `/home/glibc-2.2.4'

make: *** [all] Error 2

[root@xxxxxxx.4_cris_build]#

 

Best Regards,

Albert