[Bug libgomp/32013] New: Use posix95 for libgomp on Irix 6.2
Irix 6.2 with pthread patches is not Unix98 compatible so libgomp must use the posix95 locking primitives. -- Summary: Use posix95 for libgomp on Irix 6.2 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-tgc at jupiterrise dot com GCC build triplet: mips-sgi-irix6.2 GCC host triplet: mips-sgi-irix6.2 GCC target triplet: mips-sgi-irix6.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32013
[Bug libgomp/32013] Use posix95 for libgomp on Irix 6.2
--- Comment #1 from gcc-tgc at jupiterrise dot com 2007-05-20 20:06 --- Created an attachment (id=13590) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13590&action=view) Make libgomp choose posix95 for Irix 6.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32013
[Bug libgomp/32013] Use posix95 for libgomp on Irix 6.2
--- Comment #3 from gcc-tgc at jupiterrise dot com 2007-05-21 16:19 --- (In reply to comment #2) > patches get sent to gcc-patches@, make sure you read > http://gcc.gnu.org/contribute.html also. > I noticed and I just did. Perhaps I should have started there ;) I haven't signed any FSF paperwork and have no intention of doing so either. I don't think the patch constitutes a major contribution so no paperwork needed? The patch was tested, test results are here: http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg01003.html A suitable ChangeLog entry I think could look like this: PR libgomp/32013 * configure.tgt: mips-sgi-irix6.2 must use posix95 locking primitives -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32013
[Bug bootstrap/43870] New: ICE in gcc/config/soft-fp/divtf3.c
Bootstrapping 4.5.0 fails with ICE in stage1. Env/tools: LD_LIBRARY_PATH=/opt/csw/lib gcc 4.3.4 gas 2.19.1 mpfr 2.4.2 gmp 5.0.1 mpc 0.8.1 Build was configured as: $ ~/source/gcc-4.5.0/configure --prefix=/usr/tgcware/gcc-4.5.0 --with-local-prefix=/usr/tgcware/gcc-4.5.0 --with-gnu-as --with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-shared --with-gmp=/opt/csw --with-mpfr=/opt/csw --with-mpc=/opt/csw --disable-nsl --with-x --enable-java-awt=xlib --with-system-zlib --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ Build failure: /export/home/tgc/build/gcc450_all_native/./gcc/xgcc -B/export/home/tgc/build/gcc450_all_native/./gcc/ -B/usr/tgcware/gcc-4.5.0/i386-pc-solaris2.8 /bin/ -B/usr/tgcware/gcc-4.5.0/i386-pc-solaris2.8/lib/ -isystem /usr/tgcware/gcc-4.5.0/i386-pc-solaris2.8/include -isystem /usr/tgcware/gcc-4.5.0 /i386-pc-solaris2.8/sys-include-g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -W old-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I/export/ho me/tgc/source/gcc-4.5.0/libgcc -I/export/home/tgc/source/gcc-4.5.0/libgcc/. -I/export/home/tgc/source/gcc-4.5.0/libgcc/../gcc -I/export/home/tgc/ source/gcc-4.5.0/libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -Wno-missing-prototypes -Wno-type-limits -o divtf3.o -MT divtf3.o -MD -MP -MF divt f3.dep -fexceptions -c /export/home/tgc/source/gcc-4.5.0/libgcc/../gcc/config/soft-fp/divtf3.c /export/home/tgc/source/gcc-4.5.0/libgcc/../gcc/config/soft-fp/divtf3.c: In function '__divtf3': /export/home/tgc/source/gcc-4.5.0/libgcc/../gcc/config/soft-fp/divtf3.c:38:1: warning: 'R_e' may be used uninitialized in this function /export/home/tgc/source/gcc-4.5.0/libgcc/../gcc/config/soft-fp/divtf3.c:49:1: internal compiler error: Segmentation Fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. gmake[3]: *** [divtf3.o] Error 1 gmake[3]: Leaving directory `/export/home/tgc/build/gcc450_all_native/i386-pc-solaris2.8/libgcc' gmake[2]: *** [all-stage1-target-libgcc] Error 2 gmake[2]: Leaving directory `/export/home/tgc/build/gcc450_all_native' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/export/home/tgc/build/gcc450_all_native' gmake: *** [bootstrap] Error 2 -- Summary: ICE in gcc/config/soft-fp/divtf3.c Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-tgc at jupiterrise dot com GCC build triplet: i386-pc-solaris2.8 GCC host triplet: i386-pc-solaris2.8 GCC target triplet: i386-pc-solaris2.8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43870
[Bug bootstrap/43870] ICE in gcc/config/soft-fp/divtf3.c
--- Comment #1 from gcc-tgc at jupiterrise dot com 2010-04-23 18:58 --- Created an attachment (id=20475) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20475&action=view) Preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43870
[Bug bootstrap/43870] ICE in gcc/config/soft-fp/divtf3.c
--- Comment #3 from gcc-tgc at jupiterrise dot com 2010-04-25 09:34 --- $ gdb --args /export/home/tgc/build/gcc450_all_native/./gcc/cc1 -fpreprocessed divtf3.i -quiet -dumpbase divtf3.c -mtune=generic -march=pentium4 -auxbase-strip divtf3.o -g -g -g -O2 -O2 -O2 -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wold-style-definition -Wno-missing-prototypes -Wno-type-limits -version -fPIC -fexceptions -o divtf3.s GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-solaris2.8"... (gdb) break fancy_abort Breakpoint 1 at 0x84c5bc4: file /export/home/tgc/source/gcc-4.5.0/gcc/diagnostic.c, line 763. (gdb) run Starting program: /export/home/tgc/build/gcc450_all_native/gcc/cc1 -fpreprocessed divtf3.i -quiet -dumpbase divtf3.c -mtune=generic -march=pentium4 -auxbase-strip divtf3.o -g -g -g -O2 -O2 -O2 -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wold-style-definition -Wno-missing-prototypes -Wno-type-limits -version -fPIC -fexceptions -o divtf3.s warning: Temporarily disabling breakpoints for unloaded shared library "/usr/lib/ld.so.1" GNU C (GCC) version 4.5.0 (i386-pc-solaris2.8) compiled by GNU C version 4.3.4, GMP version 5.0.1, MPFR version 2.4.2, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU C (GCC) version 4.5.0 (i386-pc-solaris2.8) compiled by GNU C version 4.3.4, GMP version 5.0.1, MPFR version 2.4.2, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: 69cf92c491c71b15695da53015b23e3b /export/home/tgc/source/gcc-4.5.0/libgcc/../gcc/config/soft-fp/divtf3.c: In function '__divtf3': /export/home/tgc/source/gcc-4.5.0/libgcc/../gcc/config/soft-fp/divtf3.c:38:169: warning: 'R_e' may be used uninitialized in this function Program received signal SIGSEGV, Segmentation fault. 0x084bd3c5 in df_ref_compare (r1=0xa3278a4, r2=0xa3278ac) at /export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:2357 2357 if (DF_REF_CLASS (ref1) != DF_REF_CLASS (ref2)) (gdb) bt #0 0x084bd3c5 in df_ref_compare (r1=0xa3278a4, r2=0xa3278ac) at /export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:2357 #1 0xdf89b889 in qsort () from /usr/lib/libc.so.1 #2 0x084bd8e2 in df_sort_and_compress_refs (ref_vec=0x8047678) at /export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:2449 #3 0x084be0cb in df_canonize_collection_rec (collection_rec=0x8047674) at /export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:2581 #4 0x084bfd2b in df_insn_refs_collect (collection_rec=0x8047674, bb=0xdf5f7e40, insn_info=0xa2b93ec) at /export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:3589 #5 0x084c035a in df_bb_refs_record (bb_index=89, scan_insns=1 '\001') at /export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:3728 #6 0x084b9dce in df_scan_blocks () at /export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:702 #7 0x08497012 in rest_of_handle_df_initialize () at /export/home/tgc/source/gcc-4.5.0/gcc/df-core.c:739 #8 0x0898b161 in execute_one_pass (pass=0xa137580) at /export/home/tgc/source/gcc-4.5.0/gcc/passes.c:1568 #9 0x0898b340 in execute_pass_list (pass=0xa137580) at /export/home/tgc/source/gcc-4.5.0/gcc/passes.c:1623 #10 0x0898b360 in execute_pass_list (pass=0xa1c40c0) at /export/home/tgc/source/gcc-4.5.0/gcc/passes.c:1624 #11 0x08e5878c in tree_rest_of_compilation (fndecl=0xdf7bb880) at /export/home/tgc/source/gcc-4.5.0/gcc/tree-optimize.c:413 #12 0x0965ac8e in cgraph_expand_function (node=0xdf7cc170) at /export/home/tgc/source/gcc-4.5.0/gcc/cgraphunit.c:1548 #13 0x0965aeec in cgraph_expand_all_functions () at /export/home/tgc/source/gcc-4.5.0/gcc/cgraphunit.c:1627 #14 0x0965b4da in cgraph_optimize () at /export/home/tgc/source/gcc-4.5.0/gcc/cgraphunit.c:1875 #15 0x09659584 in cgraph_finalize_compilation_unit () at /export/home/tgc/source/gcc-4.5.0/gcc/cgraphunit.c:1096 #16 0x0811c18b in c_write_global_declarations () at /export/home/tgc/source/gcc-4.5.0/gcc/c-decl.c:9519 #17 0x08c28bb5 in compile_file () at /export/home/tgc/source/gcc-4.5.0/gcc/toplev.c:1065 #18 0x08c2abea in do_compile () at /export/home/tgc/source/gcc-4.5.0/gcc/toplev.c:2417 #19 0x08c2acb7 in toplev_main (argc=29, argv=0x8047948) at /export/home/tgc/source/gcc-4.5.0/gcc/toplev.c:2459 #20 0x0829301f in main (argc=Cannot access memory at address 0x2 ) at /export/home/tgc/source/gcc-4.5.0/gcc/main.c:35 (gdb) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43870
[Bug other/45914] New: Typo in gcc/configure.ac
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45914 Summary: Typo in gcc/configure.ac Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: gcc-...@jupiterrise.com Host: i386-pc-solaris2.8 While building gcc-4.6-20101002 I noticed this output from configure: checking linker and ld.so.1 TLS support... /export/home/pkgsrc/build/gcc-4.6-20101002/gcc/configure: test: : integer expression expected yes Looking in gcc/configure.ac I see that it is caused by an obvious typo in line 3017 where 'ls_vers_major' should have been 'ld_vers_major'.
[Bug other/45915] New: Check for gnu_unique_object in ld.so in gcc/configure.ac is broken for non-glibc ldd
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45915 Summary: Check for gnu_unique_object in ld.so in gcc/configure.ac is broken for non-glibc ldd Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: gcc-...@jupiterrise.com Host: i386-pc-solaris2.8 While building gcc-4.6-20101002 with this configure invocation: ./gcc-4.6-20101002/configure --prefix=/usr/tgcware/gcc46 --with-gnu-as --with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --disable-nls --enable-shared --enable-languages=c,c++,fortran,ada Where gas is from binutils 2.20.1 (Blastwave build). I noticed this output: checking assembler for gnu_unique_object... yes expr: syntax error /export/home/pkgsrc/build/gcc-4.6-20101002/gcc/configure: test: : integer expression expected Looking in gcc/configure.ac beginning in line 3840 is the problem. It runs 'ldd --version' and expects output that can be parsed into an integer. This fails on Solaris and $glibcmajor is empty when expr tries to do math with it causing the error above to be printed.
[Bug boehm-gc/49381] New: Unresolved symbols in libgcjgc.a when linking gctest
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49381 Summary: Unresolved symbols in libgcjgc.a when linking gctest Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: boehm-gc AssignedTo: unassig...@gcc.gnu.org ReportedBy: gcc-...@jupiterrise.com Host: i386-pc-solaris2.9 On sparc-sun-solaris2.7 and i386-pc-solaris2.9 I'm seeing this when running the testsuite. libtool: link: /export/home/pkgsrc/ccj_native/./gcc/xgcc -B/export/home/pkgsrc/ccj_native/./gcc/ -B/export/home/pkgsrc/ gcc45/i386-pc-solaris2.9/bin/ -B/export/home/pkgsrc/gcc45/i386-pc-solaris2.9/lib/ -isystem /export/home/pkgsrc/gcc45/i3 86-pc-solaris2.9/include -isystem /export/home/pkgsrc/gcc45/i386-pc-solaris2.9/sys-include -fexceptions -Iinclude -I./. /targ-include -I.//libc/include -O2 -g -o gctest -shared-libgcc tests/test.o ./.libs/libgcjgc.a -lpthread -ldl Undefined first referenced symbol in file nanosleep ./.libs/libgcjgc.a(pthread_support.o) sched_yield ./.libs/libgcjgc.a(pthread_support.o) sem_destroy ./.libs/libgcjgc.a(pthread_support.o) sem_getvalue./.libs/libgcjgc.a(pthread_stop_world.o) sem_init./.libs/libgcjgc.a(pthread_support.o) sem_post./.libs/libgcjgc.a(pthread_support.o) sem_wait./.libs/libgcjgc.a(pthread_support.o) ld: fatal: Symbol referencing errors. No output written to gctest collect2: ld returned 1 exit status The reason seems to be that http://gcc.gnu.org/ml/gcc-patches/2011-01/msg02288.html is missing on 4.5 branch. Applying that fixes the issue for me.