[Bug ld/29149] New: spidermonkey-91 fails to link with: ../12.1.0/include/g++-v12/typeinfo:115: undefined reference to `std::type_info::operator==(std::type_info const&) const'

2022-05-15 Thread herrtimson at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=29149

Bug ID: 29149
   Summary: spidermonkey-91 fails to link with:
../12.1.0/include/g++-v12/typeinfo:115: undefined
reference to
`std::type_info::operator==(std::type_info const&)
const'
   Product: binutils
   Version: 2.38
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: herrtimson at yahoo dot de
  Target Milestone: ---

Created attachment 14103
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14103&action=edit
compressed build log from armv7-cross

spidermonkey-91 fails to link when cross compiling to armv7a: 


/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
make[3]: ***
[/usr/arm

[Bug ld/29149] spidermonkey-91 fails to link with: ../12.1.0/include/g++-v12/typeinfo:115: undefined reference to `std::type_info::operator==(std::type_info const&) const'

2022-05-15 Thread herrtimson at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=29149

--- Comment #1 from tt_1  ---
Created attachment 14104
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14104&action=edit
compressed output of nm for cross-compilers libstdc++

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/29149] spidermonkey-91 fails to link with: ../12.1.0/include/g++-v12/typeinfo:115: undefined reference to `std::type_info::operator==(std::type_info const&) const'

2022-05-15 Thread herrtimson at yahoo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=29149

--- Comment #2 from tt_1  ---
this bug was initial filled against gcc:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105601

of particular interest seems to be _ZNKSt9type_infoeqERKS_ in the output of nm,
per comment #10 of a gcc dev

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug binutils/29151] New: heap-use-after-free bfd_section_from_shdr

2022-05-15 Thread 2060909445 at qq dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29151

Bug ID: 29151
   Summary: heap-use-after-free bfd_section_from_shdr
   Product: binutils
   Version: 2.35
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: 2060909445 at qq dot com
  Target Milestone: ---

-- 
You are receiving this mail because:
You are on the CC list for the bug.