public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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'
@ 2022-05-14  9:12 herrtimson at yahoo dot de
  2022-05-14  9:23 ` [Bug target/105601] " pinskia at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: herrtimson at yahoo dot de @ 2022-05-14  9:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105601

            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==(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, 

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 possibly 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=maybe-uninitialized
-Wno-error=deprecated-declarations -Wno-error=array-bounds
-Wno-error=coverage-mismatch -Wno-error=free-nonheap-object
-Wno-multistatement-macros -Wno-error=class-memaccess
-Wno-error=deprecated-copy -Wno-error=unused-but-set-variable -Wformat
-Wformat-security -Wformat-overflow=2 -Wno-psabi -fno-sized-deallocation
-fno-aligned-new -O2 -pipe -fomit-frame-pointer -fno-tree-loop-vectorize
-mthumb -mno-thumb-interwork -mfpu=neon -fPIC -fno-rtti -ffunction-sections
-fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g
-fno-omit-frame-pointer -funwind-tables  -shared -Wl,-z,defs -Wl,--gc-sections
-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/spidermonkey-91.9.0/work/build/dist/bin
-Wl,-rpath-link,/usr/lib 
/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 
-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!=(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==(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!=(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==(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/stringtriebuilder.o:
in function
`icu_69::StringTrieBuilder::Node::operator==(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==(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==(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==(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/stringtriebuilder.o:/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:
more undefined references to `std::type_info::operator==(std::type_info const&)
const' follow
collect2: error: ld returned 1 exit status


I will attach the full and compressed build log

toolchain is: 

gcc-12.1.0, binutils-2.37_p1-r2, glibc-2.34-r13 and rust 1.59.0; on a
gentoo-amd64 machine

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-05-15 14:48 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-14  9:12 [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' herrtimson at yahoo dot de
2022-05-14  9:23 ` [Bug target/105601] " pinskia at gcc dot gnu.org
2022-05-14 10:20 ` herrtimson at yahoo dot de
2022-05-14 10:39 ` [Bug libstdc++/105601] " herrtimson at yahoo dot de
2022-05-14 10:52 ` [Bug target/105601] " pinskia at gcc dot gnu.org
2022-05-14 10:54 ` pinskia at gcc dot gnu.org
2022-05-14 11:02 ` herrtimson at yahoo dot de
2022-05-14 11:02 ` herrtimson at yahoo dot de
2022-05-14 11:21 ` pinskia at gcc dot gnu.org
2022-05-14 11:39 ` herrtimson at yahoo dot de
2022-05-14 11:47 ` pinskia at gcc dot gnu.org
2022-05-14 12:06 ` herrtimson at yahoo dot de
2022-05-15  5:07 ` herrtimson at yahoo dot de
2022-05-15  7:19 ` herrtimson at yahoo dot de
2022-05-15 14:48 ` herrtimson at yahoo dot de

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).