public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug modula2/106443] New: Many 32-bit tests FAIL to link on Solaris/sparcv9 @ 2022-07-26 7:43 ro at gcc dot gnu.org 2022-08-07 23:08 ` [Bug modula2/106443] " gaius at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: ro at gcc dot gnu.org @ 2022-07-26 7:43 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106443 Bug ID: 106443 Summary: Many 32-bit tests FAIL to link on Solaris/sparcv9 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Host: sparcv9-sun-solaris2.11 Target: sparcv9-sun-solaris2.11 Build: sparcv9-sun-solaris2.11 As of 20220726, 2000+ 32-bit gm2 tests FAIL on Solaris/sparcv9, while the 64-bit tests are ok. The failure mode seems always to be the same: spawn -ignore SIGHUP /var/gcc/modula-2/11.4-gcc-64-modula-2/gcc/gm2 -B/var/gcc/modula-2/11.4-gcc-64-modula-2/gcc -I/var/gcc/modula-2/11.4-gcc-64-modula-2/sparcv9-sun-solaris2.11/sparcv8plus/libgm2/libm2pim:/vol/gcc/src/hg/master/modula-2/gcc/testsuite/../m2/gm2-libs -I/var/gcc/modula-2/11.4-gcc-64-modula-2/sparcv9-sun-solaris2.11/sparcv8plus/libgm2/libm2iso:/vol/gcc/src/hg/master/modula-2/gcc/testsuite/../m2/gm2-libs-iso -I/vol/gcc/src/hg/master/modula-2/gcc/testsuite/gm2/calling-c/datatypes/unbounded/run/pass -fpim -L/var/gcc/modula-2/11.4-gcc-64-modula-2/sparcv9-sun-solaris2.11/sparcv8plus/libgm2/libm2pim/.libs -L/var/gcc/modula-2/11.4-gcc-64-modula-2/sparcv9-sun-solaris2.11/sparcv8plus/libgm2/libm2iso/.libs -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never /vol/gcc/src/hg/master/modula-2/gcc/testsuite/gm2/calling-c/datatypes/unbounded/run/pass/m.mod -m32 -fdiagnostics-plain-output c.o -fno-libs=- -L/var/gcc/modula-2/11.4-gcc-64-modula-2/sparcv9-sun-solaris2.11/sparcv8plus/libstdc++-v3/src/.libs -L/var/gcc/modula-2/11.4-gcc-64-modula-2/sparcv9-sun-solaris2.11/sparcv8plus/libstdc++-v3/src/.libs -lm -o /var/gcc/modula-2/11.4-gcc-64-modula-2/gcc/testsuite/gm2/m.x0 Undefined first referenced symbol in file _M2_termios_ctor /var/tmp//cc1CQWRd.o M2RTS_DeconstructModules /var/tmp//cc1CQWRd.o _M2_M2EXCEPTION_ctor /var/tmp//cc1CQWRd.o _M2_SysStorage_ctor /var/tmp//cc1CQWRd.o M2RTS_ConstructModules /var/tmp//cc1CQWRd.o _M2_SysStorage_ctor /var/tmp//cc1CQWRd.o M2RTS_ConstructModules /var/tmp//cc1CQWRd.o _M2_SYSTEM_ctor /var/tmp//cc1CQWRd.o _M2_RTExceptions_ctor /var/tmp//cc1CQWRd.o _M2_Indexing_ctor /var/tmp//cc1CQWRd.o M2RTS_RequestDependant /var/tmp//cc1CQWRd.o _M2_errno_ctor /var/tmp//cc1CQWRd.o _M2_StrLib_ctor /var/tmp//cc1CQWRd.o _M2_SysExceptions_ctor /var/tmp//cc1CQWRd.o _M2_M2RTS_ctor /var/tmp//cc1CQWRd.o _M2_Storage_ctor /var/tmp//cc1CQWRd.o _M2_M2Dependent_ctor /var/tmp//cc1CQWRd.o M2RTS_HALT /var/tmp//cc1CQWRd.o _M2_NumberIO_ctor /var/tmp//cc1CQWRd.o _M2_Debug_ctor /var/tmp//cc1CQWRd.o M2RTS_RegisterModule /var/tmp//cc1CQWRd.o _M2_FIO_ctor /var/tmp//cc1CQWRd.o _M2_ASCII_ctor /var/tmp//cc1CQWRd.o _M2_IO_ctor /var/tmp//cc1CQWRd.o _M2_StdIO_ctor /var/tmp//cc1CQWRd.o _M2_StrIO_ctor /var/tmp//cc1CQWRd.o ld: fatal: symbol referencing errors collect2: error: ld returned 1 exit status compiler exited with status 1 FAIL: gm2/calling-c/datatypes/unbounded/run/pass/m.mod compilation, -g unsuccessful link ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/106443] Many 32-bit tests FAIL to link on Solaris/sparcv9 2022-07-26 7:43 [Bug modula2/106443] New: Many 32-bit tests FAIL to link on Solaris/sparcv9 ro at gcc dot gnu.org @ 2022-08-07 23:08 ` gaius at gcc dot gnu.org 2022-08-09 14:25 ` ro at CeBiTec dot Uni-Bielefeld.DE ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: gaius at gcc dot gnu.org @ 2022-08-07 23:08 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106443 Gaius Mulley <gaius at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 Last reconfirmed| |2022-08-07 Version|12.0 |13.0 --- Comment #1 from Gaius Mulley <gaius at gcc dot gnu.org> --- I've pushed a fix to devel/modula2 to fix multilib install (seen on amd64). It now builds and installs multilib. Prior to this fix the 32 bit libraries were installed over the 64 bit libraries when multilib was enabled. Curious as to whether this fixes the linking bugs on Solaris. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/106443] Many 32-bit tests FAIL to link on Solaris/sparcv9 2022-07-26 7:43 [Bug modula2/106443] New: Many 32-bit tests FAIL to link on Solaris/sparcv9 ro at gcc dot gnu.org 2022-08-07 23:08 ` [Bug modula2/106443] " gaius at gcc dot gnu.org @ 2022-08-09 14:25 ` ro at CeBiTec dot Uni-Bielefeld.DE 2022-08-10 11:24 ` gaius at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2022-08-09 14:25 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106443 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #1 from Gaius Mulley <gaius at gcc dot gnu.org> --- > I've pushed a fix to devel/modula2 to fix multilib install (seen on amd64). It > now builds and installs multilib. Prior to this fix the 32 bit libraries were > installed over the 64 bit libraries when multilib was enabled. Curious as to > whether this fixes the linking bugs on Solaris. It did indeed: I've tried both sparcv9-sun-solaris2.11 and i386-pc-solaris2.11 builds and the results are fine (rought 15 to 20 failures per multilib on both sparc and x86). However, I still needed the gcc.cc patch from https://gcc.gnu.org/pipermail/gcc-patches/2022-July/598822.html to allow the 32-bit-default build to succeed. Thanks. Rainer ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/106443] Many 32-bit tests FAIL to link on Solaris/sparcv9 2022-07-26 7:43 [Bug modula2/106443] New: Many 32-bit tests FAIL to link on Solaris/sparcv9 ro at gcc dot gnu.org 2022-08-07 23:08 ` [Bug modula2/106443] " gaius at gcc dot gnu.org 2022-08-09 14:25 ` ro at CeBiTec dot Uni-Bielefeld.DE @ 2022-08-10 11:24 ` gaius at gcc dot gnu.org 2022-09-13 8:14 ` gaius at gcc dot gnu.org 2022-09-14 11:39 ` ro at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: gaius at gcc dot gnu.org @ 2022-08-10 11:24 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106443 --- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> --- Thanks for the report and reminder/patch - I've now pushed the patch to gcc.cc. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/106443] Many 32-bit tests FAIL to link on Solaris/sparcv9 2022-07-26 7:43 [Bug modula2/106443] New: Many 32-bit tests FAIL to link on Solaris/sparcv9 ro at gcc dot gnu.org ` (2 preceding siblings ...) 2022-08-10 11:24 ` gaius at gcc dot gnu.org @ 2022-09-13 8:14 ` gaius at gcc dot gnu.org 2022-09-14 11:39 ` ro at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: gaius at gcc dot gnu.org @ 2022-09-13 8:14 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106443 --- Comment #4 from Gaius Mulley <gaius at gcc dot gnu.org> --- just querying whether this bug can be closed now? ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/106443] Many 32-bit tests FAIL to link on Solaris/sparcv9 2022-07-26 7:43 [Bug modula2/106443] New: Many 32-bit tests FAIL to link on Solaris/sparcv9 ro at gcc dot gnu.org ` (3 preceding siblings ...) 2022-09-13 8:14 ` gaius at gcc dot gnu.org @ 2022-09-14 11:39 ` ro at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: ro at gcc dot gnu.org @ 2022-09-14 11:39 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106443 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> --- It can. I've verified both sparcv9-sun-solaris2.11 (and, while I'm at it) i386-pc-solaris2.11 bootstraps off the unpatched devel/modula-2 branch and results lookgood: ca. 20 FAILs per multilib only in both cases. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-09-14 11:39 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-07-26 7:43 [Bug modula2/106443] New: Many 32-bit tests FAIL to link on Solaris/sparcv9 ro at gcc dot gnu.org 2022-08-07 23:08 ` [Bug modula2/106443] " gaius at gcc dot gnu.org 2022-08-09 14:25 ` ro at CeBiTec dot Uni-Bielefeld.DE 2022-08-10 11:24 ` gaius at gcc dot gnu.org 2022-09-13 8:14 ` gaius at gcc dot gnu.org 2022-09-14 11:39 ` ro at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).