------- Comment #2 from sangsu at gmail dot com 2006-09-29 03:05 ------- and i used a gcc configuration below...
========================= start ========================= ../gcc-3.4.5/configure --target=arm-linux --prefix=/usr/local/arm/ --with-headers=/ojt/kernel/linux-2.6.17/include/ ========================= end ========================= (In reply to comment #1) > before configuring glibc... > i had some patches, too > ======================== start ======================= > --- gcc-3.4.1/gcc/flow.c.old 2004-02-27 19:39:19.000000000 -0800 > +++ gcc-3.4.1/gcc/flow.c 2004-08-26 07:29:46.000000000 -0700 > @@ -1878,6 +1878,7 @@ > rtx set_src = SET_SRC (pc_set (BB_END (bb))); > rtx cond_true = XEXP (set_src, 0); > rtx reg = XEXP (cond_true, 0); > + enum rtx_code inv_cond; > if (GET_CODE (reg) == SUBREG) > reg = SUBREG_REG (reg); > @@ -1886,11 +1887,13 @@ > in the form of a comparison of a register against zero. > If the condition is more complex than that, then it is safe > not to record any information. */ > - if (GET_CODE (reg) == REG > + inv_cond = reversed_comparison_code (cond_true, BB_END (bb)); > + if (inv_cond != UNKNOWN > + && GET_CODE (reg) == REG > && XEXP (cond_true, 1) == const0_rtx) > { > rtx cond_false > - = gen_rtx_fmt_ee (reverse_condition (GET_CODE (cond_true)), > + = gen_rtx_fmt_ee (inv_cond, > GET_MODE (cond_true), XEXP (cond_true, 0), > XEXP (cond_true, 1)); >  if (GET_CODE (XEXP (set_src, 1)) == PC) > ===================== end ============================ > (In reply to comment #0) > > 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... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29281