[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined r
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors |
Date: |
Fri, 11 Feb 2022 22:12:14 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28879
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |ASSIGNED
Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot
com
--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 13974
--> https://sourceware.org/bugzilla/attachment.cgi?id=13974&action=edit
A testcase
[hjl@gnu-tgl-3 pr28879]$ make
g++ -D_GLIBCXX_ASSERTIONS -flto -c -o pr28879c.o pr28879c.cc
g++ -fPIC -c -o pr28879b.o pr28879b.cc
g++ -fPIC -c -o pr28879a.o pr28879a.cc
g++ -Wl,--no-demangle -shared -o libpr28879a.so pr28879a.o
g++ -Wl,--no-demangle -shared -o libpr28879b.so pr28879b.o libpr28879a.so
g++ -Wl,--no-demangle -o x pr28879c.o libpr28879b.so -Wl,-R,.
/usr/local/bin/ld: ./libpr28879a.so: undefined reference to
`_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev@GLIBCXX_3.4.21'
collect2: error: ld returned 1 exit status
make: *** [Makefile:25: x] Error 1
[hjl@gnu-tgl-3 pr28879]$
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, (continued)
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, hjl.tools at gmail dot com, 2022/02/11
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, hjl.tools at gmail dot com, 2022/02/11
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, hjl.tools at gmail dot com, 2022/02/11
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, evangelos at foutrelis dot com, 2022/02/11
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, hjl.tools at gmail dot com, 2022/02/11
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, evangelos at foutrelis dot com, 2022/02/11
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, hjl.tools at gmail dot com, 2022/02/11
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, evangelos at foutrelis dot com, 2022/02/11
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, evangelos at foutrelis dot com, 2022/02/11
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, freswa at archlinux dot org, 2022/02/11
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors,
hjl.tools at gmail dot com <=
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, hjl.tools at gmail dot com, 2022/02/11
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, evangelos at foutrelis dot com, 2022/02/12
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, cvs-commit at gcc dot gnu.org, 2022/02/13
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, cvs-commit at gcc dot gnu.org, 2022/02/16
- [Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors, hjl.tools at gmail dot com, 2022/02/16