Cygwin Hosted Linux (x86) targetted cross compiler problem
babu
babu@altosys.co.in
Wed Apr 2 15:49:00 GMT 2003
Dan,
We have crossed the previous stage and started cross-compiling glibc-2.2.5
under cygwin(for linux).
we are using the following to build config. to build glibc-2.2.5 using the
cygwin-x-linux bootstrapgcc that I built(binutils was successful as well):
configure --host=i686-pc-linux-gnu \
--prefix=/opt/install \
--enable-add-ons="linuxthreads" \
--with-headers=$(KERNEL_DIR)/include
make ; make install
we are getting the following errors(I am attaching a portion of the log file)
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/sys/build_tools/glibc-2.2.5/intl'
make -C catgets subdir_lib
make[2]: Entering directory `/sys/build_tools/glibc-2.2.5/catgets'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/sys/build_tools/glibc-2.2.5/catgets'
make -C math subdir_lib
make[2]: Entering directory `/sys/build_tools/glibc-2.2.5/math'
gcc ../sysdeps/i386/fpu/s_frexp.S -c -D__NO_MATH_INLINES -
D__LIBC_INTERNAL_MATH_INLINES -I../include -I. -I/sys/build_tools/glibc-
2.2.5/build-i386-linux/math -I.. -I../libio -I/sys/build_tools/glibc-
2.2.5/build-i386-linux -I../sysdeps/i386/elf -
I../linuxthreads/sysdeps/unix/sysv/linux/i386 -
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/i386/i686 -
I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 -
I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -
I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -
I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -
I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -
I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -
I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -
I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -
I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -
I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc-lib/i686-pc-
cygwin/3.2/include -isystem /sys/linux_2_4/include/ -D_LIBC_REENTRANT -
include ../include/libc-symbols.h -DPIC -DSHARED -DASSEMBLER -
DGAS_SYNTAX -o /sys/build_tools/glibc-2.2.5/build-i386-linux/math/s_frexp.os
./sysdeps/i386/fpu/s_frexp.S: Assembler messages:
./sysdeps/i386/fpu/s_frexp.S:32: Warning: .type pseudo-op used outside
of .def/.endef ignored.
./sysdeps/i386/fpu/s_frexp.S:32: Warning: rest of line ignored; first
ignored character is `t'
./sysdeps/i386/fpu/s_frexp.S:34: Warning: .size pseudo-op used outside
of .def/.endef ignored.
./sysdeps/i386/fpu/s_frexp.S:34: Warning: rest of line ignored; first
ignored character is `t'
./sysdeps/i386/fpu/s_frexp.S:48: Warning: .type pseudo-op used outside
of .def/.endef ignored.
./sysdeps/i386/fpu/s_frexp.S:48: Warning: rest of line ignored; first
ignored character is `_'
./sysdeps/i386/fpu/s_frexp.S:94: Warning: .size pseudo-op used outside
of .def/.endef ignored.
./sysdeps/i386/fpu/s_frexp.S:94: Warning: rest of line ignored; first
ignored character is `_'
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as: BFD
2.13.90 20030308 assertion fail /netrel/src/binutils-20030307-1/bfd/coff-
i386.c:529
./sysdeps/i386/fpu/s_frexp.S:68: Error: cannot represent relocation type
BFD_RELOC_386_GOTPC
make[2]: *** [/sys/build_tools/glibc-2.2.5/build-i386-linux/math/s_frexp.os]
Error 1
make[2]: Leaving directory `/sys/build_tools/glibc-2.2.5/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/sys/build_tools/glibc-2.2.5'
make: *** [install] Error 2
cp: cannot create directory `/opt/rtlwindk-1.2/i386-linux/include': No such
file or directory
cp: cannot create directory `/opt/rtlwindk-1.2/i386-linux/include/asm': No
such file or directory
/sys/build_tools/glibc-2.2.5 /sys/build_tools /sys/rtlpro_cd/private
/sys/build_tools /sys/rtlpro_cd/private
/sys/rtlpro_cd/private
Any hints would be appreciated.
Regards,
Babu K
Dan Kegel wrote:
>
>babu wrote:
>> Further, I find that you are using
>>
>> AS=$(IXIA_CROSS_TOOL)gcc -ml instead of $(IXIA_CROSS_TOOL)as.
>>
>> Is there a purpose for this or a typo.
>
>Heh. Good question. I'll try changing AS to /bin/false
>next time I run that script and see if it makes a difference :-)
>
>Thanks,
>Dan
>
>--
>Dan Kegel
>http://www.kegel.com
>http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
>
>
>------
>Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
>Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
>
>
>
------
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