i'm a korean embedded linux engineer.
i'm making a cross tool-chain.
(gcc-3.4.1 / glibc-2.3.2 / binutils-2.15 / linux-2.6.17)
i used some configuration like below.
../binutils-2.15/configure --target=arm-linux --prefix=/usr/local/arm
--disable-nls
../gcc-3.4.5/configure --target=arm-linux --prefix=/usr/local/arm/
--with-cpu=arm9 --disable-threads --disable-shared --enable-languages=c
i had some patches...
å vi sysdeps/unix/sysv/linux/arm/ioperm.c
å change "BUS_ISA" to be "CTL_BUS_ISA" lines 103 and 104
å vi Makeconfig
å change all occurrances of "O2" to "O"
å remove any occurrances of -lgcc_eh
å vi configure
å change all occurrances of "O2" to "O"
å touch sysdeps/arm/framestate.c
å Rm ¡Vrf nptl
å vi sysdeps/generic/wordexp.c
å /* Function called by child process in exec_comm() */
å -static void
å +static inline void
å internal_function __attribute__ ((always_inline))
../glibc-2.3.6/configure --target=arm-linux --host=arm-linux
--prefix=/usr/local/arm/arm-linux/ --enable-add-ons=linuxthreads
--with-headers=/usr/src/linux/include/
but, i got some errors like below
=================================== error start
=====================================
gnu/java/net/natPlainDatagramSocketImpl.cc: In member function `virtual void
gnu::java::net::PlainDatagramSocketImpl::bind(jint, java::net::InetAddress*)':
gnu/java/net/natPlainDatagramSocketImpl.cc:148: internal compiler error: in
arm_print_operand, at config/arm/arm.c:9810
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
========================================= error end
=====================================
i've known that you got similar error and you fixed it through
http://gcc.gnu.org/bugzilla/.
so, i wonder how you fixed that bug??
help me plz...
--
Summary: natPlainDatagramSocketImpl.cc:148: internal compiler
error
Product: gcc
Version: 3.4.5
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sangsu at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29281