GLIBC compiled with err
senthil kumar
senthilnow@netscape.net
Wed Nov 19 07:21:00 GMT 2003
Hi,
Try passing LD= and AR= along with CC=powerpc-linux-gcc that u are passing
hope that will fix your problem.
with regards
senthil
Leonid Shulov <lshulov@arabellasw.com> wrote:
>Hi,
>I use:
>binutils_2.14.90.0.7
>gcc-3.3_3.3.2ds5
>glibc-2.3.2.ds1
>linux-2.4.21
>
>Then I compile GLIBC with configuration:
>CC=powerpc-linux-gcc /home/GNU/glibc-2.3.2/configure \
>--build=i686-pc-linux-gnu --host=powerpc-linux \
>--prefix=/opt/Arabella/powerpc-linux --enable-add-ons \
>--with-headers=/home/GNU/kernel-2.4.21/include
>I get error:
>...........
>powerpc-linux-gcc ../sysdeps/powerpc/powerpc32/elf/start.S -c
>-I../include -I. -I/home/GNU/obj/glibc/csu -I.. -I../libio
>-I/home/GNU/obj/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 -nostdinc -isystem
>/opt/Arabella/lib/gcc-lib/powerpc-linux/3.3.2/include -isystem
>/home/GNU/kernel-2.4.21/include -D_LIBC_REENTRANT -include
>../include/libc-symbols.h -DHAVE_INITFINI -DASSEMBLER
>-I/home/GNU/obj/glibc/csu/. -Wa,-mppc -o /home/GNU/obj/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]: *** [/home/GNU/obj/glibc/csu/start.o] Error 1
>make[2]: Leaving directory `/home/GNU/glibc-2.3.2/csu'
>make[1]: *** [csu/subdir_lib] Error 2
>make[1]: Leaving directory `/home/GNU/glibc-2.3.2'
>make: *** [all] Error 2
>
>Please, help me.
>Thanks
>
>- Leonid
>
>
>------
>Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
>Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
>
>
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list