[Bug c/29281] New: natPlainDatagramSocketImpl.cc:148: internal compiler error
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 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
[Bug c/29281] natPlainDatagramSocketImpl.cc:148: internal compiler error
--- Comment #1 from sangsu at gmail dot com 2006-09-29 03:03 --- before configuring glibc... i had some patches, too start === --- gcc-3.4.1/gcc/flow.c.old2004-02-27 19:39:19.0 -0800 +++ gcc-3.4.1/gcc/flow.c2004-08-26 07:29:46.0 -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 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
[Bug c/29281] natPlainDatagramSocketImpl.cc:148: internal compiler error
--- 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.old2004-02-27 19:39:19.0 -0800 > +++ gcc-3.4.1/gcc/flow.c2004-08-26 07:29:46.0 -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 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
[Bug target/29281] natPlainDatagramSocketImpl.cc:148: internal compiler error
--- Comment #5 from sangsu at gmail dot com 2006-10-02 02:15 --- (In reply to comment #4) > Can you attach the preprocessed source as requested by the website: > http://gcc.gnu.org/bugs.html what do you mean 'preprocessed source'? do you mean original full source? i cant understand exactly about that... and i even don't know how to attach that... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29281
[Bug target/29281] natPlainDatagramSocketImpl.cc:148: internal compiler error
--- Comment #7 from sangsu at gmail dot com 2006-10-02 03:19 --- (In reply to comment #6) > Read http://gcc.gnu.org/bugs.html . It should tell you how to do everything > we > need to be able to reproduce this bug. this error is occured during linking. it's not occured during compiling. do you want really preprocessed file?? then, the way to produced preprocessed file is ../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/ -save-temps is it right?? i think that you and i have different way think... because of my poor english... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29281