@doko this is just a warning, the actual error, further up, is this:

2024-07-18T09:43:08.5982068Z [ 89%] Building CXX object 
examples/miral-shell/CMakeFiles/miral-shell.dir/shell_main.cpp.o
2024-07-18T09:43:08.5988615Z cd 
/<<PKGBUILDDIR>>/build-amd64/examples/miral-shell && ccache /usr/bin/g++-14 
-DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK 
-DBOOST_FILESYSTEM_NO_LIB -DEGL_NO_X11 -DLTTNG_UST_HAVE_SDT_INTEGRATION 
-DMIR_USE_APPARMOR -DMIR_VERSION_MAJOR=2 -DMIR_VERSION_MICRO=0 
-DMIR_VERSION_MINOR=18 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
-I/<<PKGBUILDDIR>>/examples/example-server-lib -I/<<PKGBUILDDIR>>/include/miral 
-I/<<PKGBUILDDIR>>/include/common -I/<<PKGBUILDDIR>>/include/core 
-I/<<PKGBUILDDIR>>/examples/miral-shell/spinner -isystem /usr/include/libdrm 
-isystem /usr/include/glib-2.0 -isystem 
/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto 
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/mir-2.17.0 -Wdate-time 
-D_FORTIFY_SOURCE=3 -pthread -g -Wall -fno-strict-aliasing -pedantic 
-Wnon-virtual-dtor -Wextra -fPIC -Werror -Wno-mismatched-tags -Wno-psabi 
-std=c++23 -MD -MT 
examples/miral-shell/CMakeFiles/miral-shell.dir/shell_main.cpp.o -MF 
CMakeFiles/miral-shell.dir/shell_main.cpp.o.d -o 
CMakeFiles/miral-shell.dir/shell_main.cpp.o -c 
/<<PKGBUILDDIR>>/examples/miral-shell/shell_main.cpp
2024-07-18T09:43:08.5995706Z /usr/bin/ld: /tmp/ccAYk69S.ltrans0.ltrans.o: in 
function `(anonymous namespace)::ExternalClient::ExternalClient() [clone 
.lto_priv.0]':
2024-07-18T09:43:08.5997090Z 
/usr/src/mir-2.17.0/build-amd64/tests/miral/../../../tests/miral/external_client.cpp:32:(.text+0x391f):
 warning: the use of `tmpnam' is dangerous, better use `mkstemp'
2024-07-18T09:43:08.5998695Z /usr/bin/ld: 
../../src/miral/libmiral-internal.a(input_device_config.cpp.o): in function 
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::operator+=(char)':
2024-07-18T09:43:08.6001009Z 
/usr/include/c++/14/bits/basic_string.h:1399:(.text._ZNKSt8__format14__formatter_fpIcE6formatIDF128_NS_10_Sink_iterIcEEEENSt20basic_format_contextIT0_cE8iteratorET_RS7_[_ZNKSt8__format14__formatter_fpIcE6formatIDF128_NS_10_Sink_iterIcEEEENSt20basic_format_contextIT0_cE8iteratorET_RS7_]+0x1149):
 undefined reference to `std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >::push_back(char)'
2024-07-18T09:43:08.6004107Z /usr/bin/ld: 
/usr/include/c++/14/bits/basic_string.h:1399:(.text._ZNKSt8__format14__formatter_fpIcE6formatIeNS_10_Sink_iterIcEEEENSt20basic_format_contextIT0_cE8iteratorET_RS7_[_ZNKSt8__format14__formatter_fpIcE6formatIeNS_10_Sink_iterIcEEEENSt20basic_format_contextIT0_cE8iteratorET_RS7_]+0x111f):
 undefined reference to `std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >::push_back(char)'
2024-07-18T09:43:08.6007318Z /usr/bin/ld: 
/usr/include/c++/14/bits/basic_string.h:1399:(.text._ZNKSt8__format14__formatter_fpIcE6formatIdNS_10_Sink_iterIcEEEENSt20basic_format_contextIT0_cE8iteratorET_RS7_[_ZNKSt8__format14__formatter_fpIcE6formatIdNS_10_Sink_iterIcEEEENSt20basic_format_contextIT0_cE8iteratorET_RS7_]+0x110d):
 undefined reference to `std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >::push_back(char)'
2024-07-18T09:43:08.6010430Z /usr/bin/ld: 
/usr/include/c++/14/bits/basic_string.h:1399:(.text._ZNKSt8__format14__formatter_fpIcE6formatIfNS_10_Sink_iterIcEEEENSt20basic_format_contextIT0_cE8iteratorET_RS7_[_ZNKSt8__format14__formatter_fpIcE6formatIfNS_10_Sink_iterIcEEEENSt20basic_format_contextIT0_cE8iteratorET_RS7_]+0x110d):
 undefined reference to `std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >::push_back(char)'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2070302

Title:
  binutils 2.42.50.20240618-1FTBFS of mir 2.17, undefined references to
  stdlib with LTO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/2070302/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to