public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "herrtimson at yahoo dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/105601] 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: Sun, 15 May 2022 05:07:24 +0000	[thread overview]
Message-ID: <bug-105601-4-UCLwX4JugK@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-105601-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #12 from tt_1 <herrtimson at yahoo dot de> ---
with gcc-12.1.0, glibc-2.34-r13 and old binutils-2.33.1-r1: 

/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/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld: DWARF error: can't find
.debug_ranges section.
../../../config/external/icu/common/rbbi.o: in function
`icu_69::RuleBasedBreakIterator::operator==(icu_69::BreakIterator const&)
const':
rbbi.cpp:(.text._ZNK6icu_6922RuleBasedBreakIteratoreqERKNS_13BreakIteratorE+0x14):
undefined reference to `std::type_info::operator==(std::type_info const&)
const'
/usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld:
/usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld: DWARF error: can't find
.debug_ranges section.
../../../config/external/icu/common/schriter.o: in function
`icu_69::StringCharacterIterator::operator==(icu_69::ForwardCharacterIterator
const&) const':
schriter.cpp:(.text._ZNK6icu_6923StringCharacterIteratoreqERKNS_24ForwardCharacterIteratorE+0x18):
undefined reference to `std::type_info::operator==(std::type_info const&)
const'
/usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld:
/usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld: DWARF error: can't find
.debug_ranges section.
../../../config/external/icu/common/stringtriebuilder.o: in function
`icu_69::StringTrieBuilder::Node::operator==(icu_69::StringTrieBuilder::Node
const&) const':
stringtriebuilder.cpp:(.text._ZNK6icu_6917StringTrieBuilder4NodeeqERKS1_+0x18):
undefined reference to `std::type_info::operator==(std::type_info const&)
const'
/usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld:
../../../config/external/icu/common/stringtriebuilder.o: in function
`icu_69::StringTrieBuilder::FinalValueNode::operator==(icu_69::StringTrieBuilder::Node
const&) const':
stringtriebuilder.cpp:(.text._ZNK6icu_6917StringTrieBuilder14FinalValueNodeeqERKNS0_4NodeE+0x18):
undefined reference to `std::type_info::operator==(std::type_info const&)
const'
/usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld:
../../../config/external/icu/common/stringtriebuilder.o: in function
`icu_69::StringTrieBuilder::SplitBranchNode::operator==(icu_69::StringTrieBuilder::Node
const&) const':
stringtriebuilder.cpp:(.text._ZNK6icu_6917StringTrieBuilder15SplitBranchNodeeqERKNS0_4NodeE+0x18):
undefined reference to `std::type_info::operator==(std::type_info const&)
const'
/usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld:
../../../config/external/icu/common/stringtriebuilder.o:stringtriebuilder.cpp:(.text._ZNK6icu_6917StringTrieBuilder14ListBranchNodeeqERKNS0_4NodeE+0x18):
more undefined references to `std::type_info::operator==(std::type_info const&)
const' follow
collect2: error: ld returned 1 exit status


looks identical to me 

(the additional dwarf bug has been fixed in binutils since)

  parent reply	other threads:[~2022-05-15  5:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14  9:12 [Bug libstdc++/105601] New: " 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 [this message]
2022-05-15  7:19 ` herrtimson at yahoo dot de
2022-05-15 14:48 ` herrtimson at yahoo dot de

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-105601-4-UCLwX4JugK@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: link
Be 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).