public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug d/109231] [13 regression] Comparison failure in libphobos/libdruntime/rt/util/typeinfo.o Date: Wed, 22 Mar 2023 21:31:24 +0000 [thread overview] Message-ID: <bug-109231-4-0WRRtyix1r@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-109231-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 --- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So, after installing gcc 11 I've tried PATH=/export/home/jakub/gcc-11-inst/bin:$PATH LD_LIBRARY_PATH=/export/home/jakub/gcc-11-inst/lib/ ../configure --prefix=/export/home/jakub/gcc-inst --enable-languages=c,c++,d --disable-libssp --disable-libsanitizer --disable-nls --with-gmp=/opt/csw --with-ld=/usr/ccs/bin/ld --without-gnu-ld --with-as=/opt/csw/bin/gas --with-gnu-as --with-libiconv-prefix=/opt/csw --with-mpfr=/opt/csw --enable-libphobos --disable-multilib --enable-obsolete PATH=/export/home/jakub/gcc-11-inst/bin:$PATH LD_LIBRARY_PATH=/export/home/jakub/gcc-11-inst/lib/ gmake -j16 > LOG 2>&1 but that failed miserably during stage1: g++ -std=c++11 -no-pie -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -o lto1 lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o lto/lto-partition.o lto/lto-symtab.o lto/lto-common.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a -lisl -L/opt/csw/lib -L/opt/csw/lib -lmpc -lmpfr -lgmp -L./../zlib -lz libcommon.a ../libcpp/libcpp.a /opt/csw/lib/libiconv.so -R/opt/csw/lib ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a Undefined first referenced symbol in file _ZSt28__throw_bad_array_new_lengthv libbackend.a(auto-profile.o) ld: fatal: symbol referencing errors collect2: error: ld returned 1 exit status gmake[3]: *** [../../gcc/lto/Make-lang.in:96: lto1] Error 1 Strangely, /export/home/jakub/gcc-11-inst/lib/gcc/sparc*/11*/ directory only contains *.a libraries and no *.so symlinks, I've linked there ../../../lib*.so but it still fails with that. Is that because the various --with-*=/opt/csw options added -L/opt/csw/lib and that directory contains the oldish libstdc++.a? Do I need to use CC='gcc -L/export/home/jakub/gcc-11-inst/lib -R/export/home/jakub/gcc-11-inst/lib/' CXX='g++ -L/export/home/jakub/gcc-11-inst/lib -R/export/home/jakub/gcc-11-inst/lib/' as workaround?
next prev parent reply other threads:[~2023-03-22 21:31 UTC|newest] Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-21 12:42 [Bug d/109231] New: " ro at gcc dot gnu.org 2023-03-21 12:42 ` [Bug d/109231] " ro at gcc dot gnu.org 2023-03-21 12:49 ` jakub at gcc dot gnu.org 2023-03-21 12:58 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-21 14:02 ` jakub at gcc dot gnu.org 2023-03-21 14:36 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-21 15:16 ` jakub at gcc dot gnu.org 2023-03-21 15:18 ` ro at gcc dot gnu.org 2023-03-21 15:37 ` jakub at gcc dot gnu.org 2023-03-21 16:21 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-22 6:51 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-22 13:29 ` jakub at gcc dot gnu.org 2023-03-22 14:01 ` jakub at gcc dot gnu.org 2023-03-22 16:12 ` jakub at gcc dot gnu.org 2023-03-22 16:55 ` jakub at gcc dot gnu.org 2023-03-22 17:03 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-22 21:31 ` jakub at gcc dot gnu.org [this message] 2023-03-23 9:16 ` jakub at gcc dot gnu.org 2023-03-23 12:18 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-23 12:28 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-23 12:32 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-24 12:40 ` jakub at gcc dot gnu.org 2023-03-24 13:08 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-29 8:53 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-29 10:51 ` jakub at gcc dot gnu.org 2023-03-29 15:00 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-29 15:08 ` jakub at gcc dot gnu.org 2023-03-29 15:11 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-29 15:13 ` jakub at gcc dot gnu.org 2023-03-30 13:30 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-30 13:44 ` jakub at gcc dot gnu.org 2023-03-30 16:22 ` jakub at gcc dot gnu.org 2023-03-30 18:17 ` jakub at gcc dot gnu.org 2023-03-31 7:57 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-31 7:59 ` jakub at gcc dot gnu.org 2023-03-31 9:22 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-31 9:26 ` jakub at gcc dot gnu.org 2023-03-31 12:15 ` ro at CeBiTec dot Uni-Bielefeld.DE 2023-03-31 12:28 ` jakub at gcc dot gnu.org 2023-04-17 15:14 ` [Bug d/109231] [13/14 " jakub at gcc dot gnu.org 2023-06-14 12:29 ` ro at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-109231-4-0WRRtyix1r@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).