GlibC compiled with Error

Aubrey Lee aubrey1127 at gmail.com
Thu Jan 6 17:36:44 PST 2005


     Hi, I hit a problem when the glibc comiled.
     Firstly,
              CC=powerpc-eabi-gcc ../$GLIBVERSION/configure
--host=powerpc-eabi --build=i586-linux --prefix=$PREFIX/$TARGET
--enable-add-ons
     The following message is showed to me
---------------------------------------------------------------------------------------------------
     checking host system type... powerpc-unknown-eabi
*** The GNU C library is currently not available for this platform.
*** So far nobody cared to port it and if there is no volunteer it
*** might never happen.  So, if you have interest to see glibc on
*** this platform visit
***     http://www.gnu.org/software/libc/porting.html
*** and join the group of porters
-----------------------------------------------------------------------------------------------------
    Then I change the configuration line:
CC=powerpc-eabi-gcc ../$GLIBVERSION/configure --host=powerpc-unknown-linu 
--build=i586-linux --prefix=$PREFIX/$TARGET --enable-add-ons
    And error occurs at "make"
-----------------------------------------------------------------------------------------------------------------------------------
powerpc-eabi-gcc ../sysdeps/powerpc/powerpc32/elf/start.S -c 
-I../include -I. -I/opt/tools/build/powerpc-eabi-glibc/csu -I..
-I../libio  -I/opt/tools/build/powerpc-eabi-glibc
-I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../linuxthreads/sysdeps/unix/sysv/linux/powerpc
-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/powerpc/powerpc32
-I../linuxthreads/sysdeps/powerpc
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../sysdeps/unix/sysv/linux/powerpc -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/powerpc -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/powerpc/powerpc32/fpu -I../sysdeps/powerpc/powerpc32
-I../sysdeps/wordsize-32 -I../sysdeps/powerpc/soft-fp
-I../sysdeps/powerpc/fpu -I../sysdeps/powerpc
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  
-D_LIBC_REENTRANT -include ../include/libc-symbols.h      
-DHAVE_INITFINI -DASSEMBLER 
-I/opt/tools/build/powerpc-eabi-glibc/csu/. -Wa,-mppc  -o
/opt/tools/build/powerpc-eabi-glibc/csu/start.o
../sysdeps/powerpc/powerpc32/elf/start.S: Assembler messages:
../sysdeps/powerpc/powerpc32/elf/start.S:26: Error: Unrecognized
opcode: `l(start_addresses):'
../sysdeps/powerpc/powerpc32/elf/start.S:31: Error: Unrecognized
opcode: `asm_size_directive(L(start_addresses))'
../sysdeps/powerpc/powerpc32/elf/start.S:34: Error: Unrecognized
opcode: `entry(_start)'
../sysdeps/powerpc/powerpc32/elf/start.S:45: Error: syntax error;
found `(' but expected `,'
../sysdeps/powerpc/powerpc32/elf/start.S:45: Error: junk at end of
line: `(start_addresses)@ha'
../sysdeps/powerpc/powerpc32/elf/start.S:46: Error: junk at end of
line: `@l(8)'make[2]: ***
[/opt/tools/build/powerpc-eabi-glibc/csu/start.o] Error 1
---------------------------------------------------------------------------------------------------------------------------------
        Any comment and suggestion will be welcome!
        Thank you very much!
        Best regards!

    Aubrey



More information about the lfs-dev mailing list