From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9A3993858CDA; Sat, 14 May 2022 09:12:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A3993858CDA From: "herrtimson at yahoo dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/105601] New: spidermonkey-91 fails to compile with: ../12.1.0/include/g++-v12/typeinfo:115: undefined reference to `std::type_info::operator==(std::type_info const&) const' Date: Sat, 14 May 2022 09:12:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 12.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: herrtimson at yahoo dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2022 09:12:55 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105601 Bug ID: 105601 Summary: spidermonkey-91 fails to compile with: ../12.1.0/include/g++-v12/typeinfo:115: undefined reference to `std::type_info::operator=3D=3D(std::type_info const&) const' Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: herrtimson at yahoo dot de Target Milestone: --- hey there,=20 I really hope I'm not misstaken here - tried to cross compile spidermonkey-= 91 from an amd64 host to an armv7a target to me it seems that there is possibl= y a bug somehwere in libstdc++-v3? /usr/bin/armv7a-unknown-linux-gnueabihf-g++ --sysroot /usr/armv7a-unknown-linux-gnueabihf -fstack-protector-strong -Wall -Wempty-= body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=3Dmaybe-uninitialized -Wno-error=3Ddeprecated-declarations -Wno-error=3Darray-bounds -Wno-error=3Dcoverage-mismatch -Wno-error=3Dfree-nonheap-object -Wno-multistatement-macros -Wno-error=3Dclass-memaccess -Wno-error=3Ddeprecated-copy -Wno-error=3Dunused-but-set-variable -Wformat -Wformat-security -Wformat-overflow=3D2 -Wno-psabi -fno-sized-deallocation -fno-aligned-new -O2 -pipe -fomit-frame-pointer -fno-tree-loop-vectorize -mthumb -mno-thumb-interwork -mfpu=3Dneon -fPIC -fno-rtti -ffunction-sectio= ns -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -fno-omit-frame-pointer -funwind-tables -shared -Wl,-z,defs -Wl,--gc-secti= ons -Wl,-h,libmozjs-91.so -o libmozjs-91.so /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-lang/spidermonkey-91.9.= 0/work/build/js/src/build/libmozjs-91_so.list -lpthread -Wl,-O1 -Wl,--as-needed -mthumb -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -fstack-protector-strong -Wl,-rpath-link,/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-lang/sp= idermonkey-91.9.0/work/build/dist/bin -Wl,-rpath-link,/usr/lib=20 /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-lang/spidermonkey-91.9.= 0/work/build/thumbv7neon-unknown-linux-gnueabihf/release/libjsrust.a -Wl,--version-script,symverscript -Wl,-soname,libmozjs-91.so.0 -lm=20 -L/usr/armv7a-unknown-linux-gnueabihf/usr/lib -lplds4 -lplc4 -lnspr4 -lz -lm -ldl /usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld: /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-lang/spidermonkey-91.9.= 0/work/build/js/src/build/../../../config/external/icu/common/rbbi.o: in function `std::type_info::operator!=3D(std::type_info const&) const': /usr/lib/gcc/armv7a-unknown-linux-gnueabihf/12.1.0/include/g++-v12/typeinfo= :115: undefined reference to `std::type_info::operator=3D=3D(std::type_info const= &) const' /usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld: /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-lang/spidermonkey-91.9.= 0/work/build/js/src/build/../../../config/external/icu/common/schriter.o: in function `std::type_info::operator!=3D(std::type_info const&) const': /usr/lib/gcc/armv7a-unknown-linux-gnueabihf/12.1.0/include/g++-v12/typeinfo= :115: undefined reference to `std::type_info::operator=3D=3D(std::type_info const= &) const' /usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld: /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-lang/spidermonkey-91.9.= 0/work/build/js/src/build/../../../config/external/icu/common/stringtriebui= lder.o: in function `icu_69::StringTrieBuilder::Node::operator=3D=3D(icu_69::StringTrieBuilder:= :Node const&) const': /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-lang/spidermonkey-91.9.= 0/work/firefox-91.9.0/intl/icu/source/common/stringtriebuilder.cpp:388: undefined reference to `std::type_info::operator=3D=3D(std::type_info const= &) const' /usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld: /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-lang/spidermonkey-91.9.= 0/work/firefox-91.9.0/intl/icu/source/common/stringtriebuilder.cpp:388: undefined reference to `std::type_info::operator=3D=3D(std::type_info const= &) const' /usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld: /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-lang/spidermonkey-91.9.= 0/work/firefox-91.9.0/intl/icu/source/common/stringtriebuilder.cpp:388: undefined reference to `std::type_info::operator=3D=3D(std::type_info const= &) const' /usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld: /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-lang/spidermonkey-91.9.= 0/work/build/js/src/build/../../../config/external/icu/common/stringtriebui= lder.o:/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/dev-lang/spidermonke= y-91.9.0/work/firefox-91.9.0/intl/icu/source/common/stringtriebuilder.cpp:3= 88: more undefined references to `std::type_info::operator=3D=3D(std::type_info= const&) const' follow collect2: error: ld returned 1 exit status I will attach the full and compressed build log toolchain is:=20 gcc-12.1.0, binutils-2.37_p1-r2, glibc-2.34-r13 and rust 1.59.0; on a gentoo-amd64 machine=