This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problems crosscompiling libc for ppc without fpu


Hi,
I know, this is the wrong list, bu I think that someone on this list might have experienced similar problems.
I googled and googled, but I didn't find a solution.
I am trying to build a crosscompiler for ppc. I am using gcc 3.1. I had a look at this http://www.kegel.com/xgcc3/ page.

I configured the last cvs like this:
CFLAGS=" -O2 " CPPFLAGS=" -O2 " CC=/opt/gcc-3.1-ppc-cross/bin/powerpc-linux-gcc AR=/opt/gcc-3.1-ppc-cross/bin/powerpc-linux-ar RANLIB=/opt/gcc-3.1-ppc-cross/bin/powerpc-linux-ranlib /usr/src/glibc-cvs/libc/configure --host=powerpc-linux --enable-add-ons=linuxthreads --with-headers=/usr/src/kegel.com/linux/include/ --prefix=/opt/gcc-3.1-ppc-cross --without-fp
make

What CPU types can one specify through the --with-cpu= parmeter?

Here's the error output message:

/opt/gcc-3.1-ppc-cross/bin/powerpc-linux-gcc -nostdlib -nostartfiles -o /usr/src/kegel.com/glibc-build/iconv/iconvconfig -msoft-float -Wl,-dynamic-linker=/opt/gcc-3.1-ppc-cross/lib/ld.so.1   -Wl,-z,combreloc /usr/src/kegel.com/glibc-build/csu/crt1.o /usr/src/kegel.com/glibc-build/csu/crti.o `/opt/gcc-3.1-ppc-cross/bin/powerpc-linux-gcc --print-file-name=crtbegin.o` /usr/src/kegel.com/glibc-build/iconv/iconvconfig.o /usr/src/kegel.com/glibc-build/iconv/strtab.o /usr/src/kegel.com/glibc-build/iconv/xmalloc.o  -Wl,-rpath-link=/usr/src/kegel.com/glibc-build:/usr/src/kegel.com/glibc-build/math:/usr/src/kegel.com/glibc-build/elf:/usr/src/kegel.com/glibc-build/dlfcn:/usr/src/kegel.com/glibc-build/nss:/usr/src/kegel.com/glibc-build/nis:/usr/src/kegel.com/glibc-build/rt:/usr/src/kegel.com/glibc-build/resolv:/usr/src/kegel.com/glibc-build/crypt:/usr/src/kegel.com/glibc-build/linuxthreads /usr/src/kegel.com/glibc-build/libc.so.6 /usr/src/kegel.com/glibc-build/libc_nonshared.a -lgcc `/opt/gcc-3.1-ppc-cross/bin/powerpc-linux-gcc --print-file-name=crtend.o` /usr/src/kegel.com/glibc-build/csu/crtn.o
/usr/src/kegel.com/glibc-build/libc.so.6: In function `__ashldi3@GLIBC_2.0':
/usr/src/kegel.com/glibc-build/libc.so.6(.text+0xb04): multiple definition of `__ashldi3@GLIBC_2.0'
/opt/gcc-3.1-ppc-cross/lib/gcc-lib/powerpc-linux/3.1/../../../../powerpc-linux/bin/ld: Warning: size of symbol `__ashldi3@GLIBC_2.0' changed from 80 to 32 in /usr/src/kegel.com/glibc-build/libc.so.6
/usr/src/kegel.com/glibc-build/libc.so.6(*IND*+0x0): multiple definition of `__ashrdi3@GLIBC_2.0'
/usr/src/kegel.com/glibc-build/libc.so.6(.text+0xb24): first defined here
/usr/src/kegel.com/glibc-build/libc.so.6(*IND*+0x0): multiple definition of `__ucmpdi2@GLIBC_2.0'
/usr/src/kegel.com/glibc-build/libc.so.6(.text+0xb84): first defined here
/usr/src/kegel.com/glibc-build/libc.so.6(*IND*+0x0): multiple definition of `__fixdfdi@GLIBC_2.0'
/usr/src/kegel.com/glibc-build/libc.so.6(.text+0xba4): first defined here
/usr/src/kegel.com/glibc-build/libc.so.6(*IND*+0x0): multiple definition of `__cmpdi2@GLIBC_2.0'
/usr/src/kegel.com/glibc-build/libc.so.6(.text+0xb64): first defined here
/usr/src/kegel.com/glibc-build/libc.so.6: In function `__lshrdi3@GLIBC_2.0':
/usr/src/kegel.com/glibc-build/libc.so.6(.text+0xb44): multiple definition of `__lshrdi3@GLIBC_2.0'
/opt/gcc-3.1-ppc-cross/lib/gcc-lib/powerpc-linux/3.1/../../../../powerpc-linux/bin/ld: Warning: size of symbol `__lshrdi3@GLIBC_2.0' changed from 80 to 32 in /usr/src/kegel.com/glibc-build/libc.so.6
/usr/src/kegel.com/glibc-build/libc.so.6: In function `__fixsfdi@GLIBC_2.0':
/usr/src/kegel.com/glibc-build/libc.so.6(.text+0xbe4): multiple definition of `__fixsfdi@GLIBC_2.0'
/opt/gcc-3.1-ppc-cross/lib/gcc-lib/powerpc-linux/3.1/../../../../powerpc-linux/bin/ld: Warning: size of symbol `__fixsfdi@GLIBC_2.0' changed from 92 to 32 in /usr/src/kegel.com/glibc-build/libc.so.6
/usr/src/kegel.com/glibc-build/libc.so.6: In function `__fixunsdfdi@GLIBC_2.0':
/usr/src/kegel.com/glibc-build/libc.so.6(.text+0xbc4): multiple definition of `__fixunsdfdi@GLIBC_2.0'
/opt/gcc-3.1-ppc-cross/lib/gcc-lib/powerpc-linux/3.1/../../../../powerpc-linux/bin/ld: Warning: size of symbol `__fixunsdfdi@GLIBC_2.0' changed from 372 to 32 in /usr/src/kegel.com/glibc-build/libc.so.6
/usr/src/kegel.com/glibc-build/libc.so.6: In function `__fixunssfdi@GLIBC_2.0':
/usr/src/kegel.com/glibc-build/libc.so.6(.text+0xc04): multiple definition of `__fixunssfdi@GLIBC_2.0'
/opt/gcc-3.1-ppc-cross/lib/gcc-lib/powerpc-linux/3.1/../../../../powerpc-linux/bin/ld: Warning: size of symbol `__fixunssfdi@GLIBC_2.0' changed from 376 to 32 in /usr/src/kegel.com/glibc-build/libc.so.6
collect2: ld returned 1 exit status
make[2]: *** [/usr/src/kegel.com/glibc-build/iconv/iconvconfig] Error 1
make[2]: Leaving directory `/data/compilerbau/glibc-cvs/libc/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/data/compilerbau/glibc-cvs/libc'
make: *** [all] Error 2

Thanks in advance,

Johnny


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]