[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO en
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO enabled build |
Date: |
Wed, 28 Aug 2024 17:41:42 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31982
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Matthias Klose from comment #5)
> fails with
>
> /usr/bin/ld: /tmp/ccijjp3k.ltrans5.ltrans.o: in function
> `StaticDisplayConfig_nonexistent_config_file_is_no_error_Test::TestBody()':
> /usr/src/mir-2.14.1-7/tests/miral/static_display_config.cpp:154:(.
> text+0x6d94): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
> /usr/bin/ld: ../libmir-test-assist.a(mmap_wrapper.cpp.o): in function
> `std::literals::string_literals::operator"" s[abi:cxx11](char const*,
> unsigned long)':
> /usr/include/c++/14/bits/basic_string.h:4694:(.text+0x6f8): undefined
> reference to `std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >::basic_string(char const*, unsigned long,
> std::allocator<char> const&)'
> /usr/bin/ld: /usr/include/c++/14/bits/basic_string.h:4694:(.text+0xa64):
> undefined reference to `std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> >::basic_string(char const*,
> unsigned long, std::allocator<char> const&)'
> collect2: error: ld returned 1 exit status
On Fedora 40/x86-64, I got
[hjl@gnu-cfl-3 lib64]$ readelf --dyn-syms -W /usr/lib64/libstdc++.so.6.0.33 |
grep 00000000000c1a20
1727: 00000000000c1a20 42 FUNC WEAK DEFAULT 4
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EPKcmRKS3_@@GLIBCXX_3.4.21
4081: 00000000000c1a20 42 FUNC WEAK DEFAULT 4
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcmRKS3_@@GLIBCXX_3.4.21
[hjl@gnu-cfl-3 lib64]$ readelf --dyn-syms -W /usr/lib64/libstdc++.so.6.0.33 |
grep 00000000000c1a20 | c++filt
1727: 00000000000c1a20 42 FUNC WEAK DEFAULT 4
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>::basic_string(char const*, unsigned long, std::allocator<char>
const&)@@GLIBCXX_3.4.21
4081: 00000000000c1a20 42 FUNC WEAK DEFAULT 4
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>::basic_string(char const*, unsigned long, std::allocator<char>
const&)@@GLIBCXX_3.4.21
[hjl@gnu-cfl-3 lib64]$
What do you get?
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO enabled build, doko at debian dot org, 2024/08/28
- [Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO enabled build, doko at debian dot org, 2024/08/28
- [Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO enabled build,
hjl.tools at gmail dot com <=
- [Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO enabled build, doko at debian dot org, 2024/08/29
- [Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO enabled build, jwakely.gcc at gmail dot com, 2024/08/29
- [Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO enabled build, hjl.tools at gmail dot com, 2024/08/29
- [Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO enabled build, doko at debian dot org, 2024/08/29
- [Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO enabled build, doko at debian dot org, 2024/08/29
- [Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO enabled build, hjl.tools at gmail dot com, 2024/08/29
- [Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO enabled build, doko at debian dot org, 2024/08/29
- [Bug ld/31982] [2.43 Regression] mir 2.17 build failure during an LTO enabled build, hjl.tools at gmail dot com, 2024/08/29