[Bug libstdc++/36217] gcc-4.2-20080507, target mips64vrel-elf, libmath build failure
--- Comment #2 from marco at sitek dot it 2008-10-18 11:54 --- Hello, I confirm I could successfully build mips64vrel-elf with gcc 4.2.4. The same settings. Did not attempt any further build with gcc-4.2-20080507. Thank you. m. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36217
[Bug other/34900] New: target mips64vrel-elf. Internal compiler error (in reload_cse_simplify_operands, at postreload.c:392) while building libiberty
Hello, I am experiencing the error below while building gcc 4.2.2 for the mips64vr-elf target. I have confirmed the same happens with gcc-4.2-20080116. Versioning: binutils 2.18 newlib-1.16.0 GCC configured this way: $ CFLAGS=-O2 $DEPACK_DIR/gcc-4.2.2/configure --target=mips64vrel-elf \ --prefix=$PREFIX_DIR --enable-languages=c,c++ --disable-__cxa_atexit \ --with-gnu-as --with-gnu-ld --with-newlib \ --with-gxx-include-dir=$PREFIX_DIR/mips64vrel-elf/include -v \ 2>&1 | tee configure.log With the same configuration and binutils/newlib, I succeeded building GCC 4.1.2. I saved all log for configure and make. Please let me know if they may help. Thanks in advance. //-- make[4]: Entering directory `/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/mips16/libiberty' if [ x"" != x ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir CONFIG_FILES= CONFIG_HEADERS=config.h:/ecostools/src/gcc-4.2.2/libiberty/config.in /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default commands if [ x"" != x ]; then \ /tmp/build-mips64vrel-elf-20080115/gcc/./gcc/xgcc -B/tmp/build-mips64vrel-elf-20080115/gcc/./gcc/ -nostdinc -B/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/newlib/ -isystem /tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/newlib/targ-include -isystem /ecostools/src/gcc-4.2.2/newlib/libc/include -B/ecostools/mips64vrel-elf-20080115/mips64vrel-elf/bin/ -B/ecostools/mips64vrel-elf-20080115/mips64vrel-elf/lib/ -isystem /ecostools/mips64vrel-elf-20080115/mips64vrel-elf/include -isystem /ecostools/mips64vrel-elf-20080115/mips64vrel-elf/sys-include -c -DHAVE_CONFIG_H -O2 -O2 -mips16 -I. -I/ecostools/src/gcc-4.2.2/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat /ecostools/src/gcc-4.2.2/libiberty/regex.c -o pic/regex.o; \ else true; fi /tmp/build-mips64vrel-elf-20080115/gcc/./gcc/xgcc -B/tmp/build-mips64vrel-elf-20080115/gcc/./gcc/ -nostdinc -B/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/newlib/ -isystem /tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/newlib/targ-include -isystem /ecostools/src/gcc-4.2.2/newlib/libc/include -B/ecostools/mips64vrel-elf-20080115/mips64vrel-elf/bin/ -B/ecostools/mips64vrel-elf-20080115/mips64vrel-elf/lib/ -isystem /ecostools/mips64vrel-elf-20080115/mips64vrel-elf/include -isystem /ecostools/mips64vrel-elf-20080115/mips64vrel-elf/sys-include -c -DHAVE_CONFIG_H -O2 -O2 -mips16 -I. -I/ecostools/src/gcc-4.2.2/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat /ecostools/src/gcc-4.2.2/libiberty/regex.c -o regex.o /ecostools/src/gcc-4.2.2/libiberty/regex.c: In function 'byte_re_match_2_internal': /ecostools/src/gcc-4.2.2/libiberty/regex.c:7481: error: insn does not satisfy its constraints: (insn 5298 1670 1672 171 (set (reg:SI 4 $4) (lo_sum:SI (reg/f:SI 1080) (symbol_ref:SI ("byte_reg_unset_dummy") [flags 0x6] ))) 205 {*lowsi_mips16} (nil) (expr_list:REG_EQUAL (symbol_ref:SI ("byte_reg_unset_dummy") [flags 0x6] ) (nil))) /ecostools/src/gcc-4.2.2/libiberty/regex.c:7481: internal compiler error: in reload_cse_simplify_operands, at postreload.c:392 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html> for instructions. make[4]: *** [regex.o] Error 1 make[4]: Leaving directory `/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/mips16/libiberty' make[3]: *** [multi-do] Error 1 make[3]: Leaving directory `/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/libiberty' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/libiberty' make[1]: *** [all-target-libiberty] Error 2 make[1]: Leaving directory `/tmp/build-mips64vrel-elf-20080115/gcc' make: *** [all] Error 2 -- Summary: target mips64vrel-elf. Internal compiler error (in reload_cse_simplify_operands, at postreload.c:392) while building libiberty Product: gcc Version: 4.2.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marco at sitek dot it http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34900
[Bug target/34900] target mips64vrel-elf. Internal compiler error (in reload_cse_simplify_operands, at postreload.c:392) while building libiberty
--- Comment #2 from marco at sitek dot it 2008-01-30 08:43 --- I do confirm that applying pr31388, gcc 4.2.2 build passes the mentioned bug. thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34900
[Bug libstdc++/36217] New: gcc-4.2-20080507, target mips64vrel-elf, libmath build failure
-v3' make[5]: *** [multi-do] Error 1 make[5]: Leaving directory `/tmp/build-mips64vrel-elf/gcc-20080507/mips64vrel-elf/libstdc++-v3' make[4]: *** [all-multi] Error 2 make[4]: Leaving directory `/tmp/build-mips64vrel-elf/gcc-20080507/mips64vrel-elf/libstdc++-v3' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/build-mips64vrel-elf/gcc-20080507/mips64vrel-elf/libstdc++-v3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/build-mips64vrel-elf/gcc-20080507/mips64vrel-elf/libstdc++-v3' make[1]: *** [all-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/tmp/build-mips64vrel-elf/gcc-20080507' make: *** [all] Error 2 //---// notes: + last successfully built with the same configuration was gcc-4.2-20080206 + I have dumped gcc build log. Let me know if it may help. -- Summary: gcc-4.2-20080507, target mips64vrel-elf, libmath build failure Product: gcc Version: 4.2.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marco at sitek dot it http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36217
[Bug other/36301] New: target mips64vrel-elf, configure-target-libiberty error
080 520/mips64vrel-elf/include -isystem /ecostools/mips64vrel-elf-20080520/mips64vre l-elf/sys-include and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for a BSD-compatible install... /usr/bin/install -c checking for sys/file.h... yes checking for sys/param.h... yes checking for limits.h... yes checking for stdlib.h... yes checking for malloc.h... yes checking for string.h... yes checking for unistd.h... yes checking for strings.h... no checking for sys/time.h... yes checking for time.h... yes checking for sys/resource.h... yes checking for sys/stat.h... yes checking for sys/mman.h... no checking for fcntl.h... yes checking for alloca.h... yes checking for sys/pstat.h... no checking for sys/sysmp.h... no checking for sys/sysinfo.h... no checking for machine/hal_sysinfo.h... no checking for sys/table.h... no checking for sys/sysctl.h... no checking for sys/systemcfg.h... no checking for stdint.h... yes checking for stdio_ext.h... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... no checking for strings.h... (cached) no checking for inttypes.h... yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for int... yes checking size of int... 4 checking for uintptr_t... yes checking for a 64-bit type... uint64_t checking for pid_t... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... no checking for working mmap... no checking for working strncmp... no updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile mkdir: cannot create directory `': No such file or directory config.status: error: cannot create directory "" make[1]: *** [configure-target-libiberty] Error 1 make[1]: Leaving directory `/tmp/build-mips64vrel-elf-20080520/gcc' make: *** [all] Error 2 -- Summary: target mips64vrel-elf, configure-target-libiberty error Product: gcc Version: 4.2.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marco at sitek dot it http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36301