Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 880278 Details for
Bug 920644
sys-process/btop fails to compile on armv6 when CFLAGS -mcpu=arm1176jzf-s applied and -flto
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build log
build.log (text/x-log), 27.13 KB, created by
immolo
on 2023-12-24 06:28:23 UTC
(
hide
)
Description:
build log
Filename:
MIME Type:
Creator:
immolo
Created:
2023-12-24 06:28:23 UTC
Size:
27.13 KB
patch
obsolete
> * Package: sys-process/btop-1.2.13-r2:0 > * Repository: gentoo > * Maintainer: nex+b-g-o@nexadn.de proxy-maint@gentoo.org > * Upstream: https://github.com/aristocratos/btop/issues > * USE: arm elibc_musl kernel_linux > * FEATURES: preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking btop-1.2.13.tar.gz to /var/tmp/portage/sys-process/btop-1.2.13-r2/work >>>> Source unpacked in /var/tmp/portage/sys-process/btop-1.2.13-r2/work >>>> Preparing source in /var/tmp/portage/sys-process/btop-1.2.13-r2/work/btop-1.2.13 ... > * Applying btop-1.2.13-fix-makefile-deps.patch ... > [ ok ] > * Applying btop-1.2.13-verbose-mkdir.patch ... > [ ok ] > * Applying btop-1.2.13-musl-1.2.4-lfs64.patch ... >patching file src/linux/btop_collect.cpp >patching file Makefile >Hunk #1 succeeded at 130 with fuzz 1. > [ ok ] > * Applying btop-1.2.13-allow-clang.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-process/btop-1.2.13-r2/work/btop-1.2.13 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-process/btop-1.2.13-r2/work/btop-1.2.13 ... >make -j32 VERBOSE=true OPTFLAGS= CXX=armv6j-unknown-linux-musleabihf-g++ > > âââââââ âââââââââ âââââââ âââââââ > ââââââââââââââââââââââââââââââââââ âââ âââ > ââââââââ âââ âââ âââââââââââ ââââââââââââââ > ââââââââ âââ âââ ââââââââââ ââââââââââââââ > ââââââââ âââ ââââââââââââ âââ âââ > âââââââ âââ âââââââ âââ Makefile v1.5 >PLATFORM ?| Linux >ARCH ?| arm >CXX ?| armv6j-unknown-linux-musleabihf-g++ (13.2.1) >THREADS :| 32 >REQFLAGS !| -std=c++20 >WARNFLAGS :| -Wall -Wextra -pedantic >OPTFLAGS :| >LDCXXFLAGS :| -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector >CXXFLAGS +| $(REQFLAGS) $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) -Os -pipe -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -flto >LDFLAGS +| $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) -Wl,-O1 -Wl,--as-needed >mkdir -p bin >mkdir -p obj/linux > >Building btop++ (v1.2.13) Linux arm >Compiling src/btop_theme.cpp >armv6j-unknown-linux-musleabihf-g++ -Os -pipe -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -flto -std=c++20 -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector -Wall -Wextra -pedantic -Iinclude -Isrc -MMD -c -o obj/btop_theme.o src/btop_theme.cpp ><command-line>: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >src/btop_theme.cpp: In function 'void Theme::setTheme()': >src/btop_theme.cpp:432:29: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 432 | const auto& theme = Config::getS("color_theme"); > | ^~~~~ >src/btop_theme.cpp:432:49: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"color_theme"), std::allocator<char>()))' > 432 | const auto& theme = Config::getS("color_theme"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ >90%-> obj/btop_theme.o (512iB) (01m:47s) >Compiling src/btop_input.cpp >armv6j-unknown-linux-musleabihf-g++ -Os -pipe -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -flto -std=c++20 -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector -Wall -Wextra -pedantic -Iinclude -Isrc -MMD -c -o obj/btop_input.o src/btop_input.cpp ><command-line>: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >src/btop_input.cpp: In function 'void Input::process(const std::string&)': >src/btop_input.cpp:357:77: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 357 | const auto& current_selection = Config::getI("proc_selected"); > | ^~~~~~~~~~~~~~~~~ >src/btop_input.cpp:357:109: note: the temporary was destroyed at the end of the full expression 'Config::getI(std::__cxx11::basic_string<char>(((const char*)"proc_selected"), std::allocator<char>()))' > 357 | const auto& current_selection = Config::getI("proc_selected"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ >src/btop_input.cpp:413:47: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 413 | auto& pid = Config::getI("selected_pid"); > | ^~~ >src/btop_input.cpp:413:65: note: the temporary was destroyed at the end of the full expression 'Config::getI(std::__cxx11::basic_string<char>(((const char*)"selected_pid"), std::allocator<char>()))' > 413 | auto& pid = Config::getI("selected_pid"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >90%-> obj/btop_input.o (512iB) (01m:50s) >Compiling src/btop_tools.cpp >armv6j-unknown-linux-musleabihf-g++ -Os -pipe -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -flto -std=c++20 -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector -Wall -Wextra -pedantic -Iinclude -Isrc -MMD -c -o obj/btop_tools.o src/btop_tools.cpp ><command-line>: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >90%-> obj/btop_tools.o (512iB) (01m:52s) >Compiling src/btop_config.cpp >armv6j-unknown-linux-musleabihf-g++ -Os -pipe -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -flto -std=c++20 -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector -Wall -Wextra -pedantic -Iinclude -Isrc -MMD -c -o obj/btop_config.o src/btop_config.cpp ><command-line>: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >90%-> obj/btop_config.o (512iB) (02m:02s) >Compiling src/btop.cpp >armv6j-unknown-linux-musleabihf-g++ -Os -pipe -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -flto -std=c++20 -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector -Wall -Wextra -pedantic -Iinclude -Isrc -MMD -c -o obj/btop.o src/btop.cpp ><command-line>: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >90%-> obj/btop.o (512iB) (02m:05s) >Compiling src/btop_shared.cpp >armv6j-unknown-linux-musleabihf-g++ -Os -pipe -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -flto -std=c++20 -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector -Wall -Wextra -pedantic -Iinclude -Isrc -MMD -c -o obj/btop_shared.o src/btop_shared.cpp ><command-line>: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >90%-> obj/btop_shared.o (512iB) (02m:06s) >Compiling src/btop_menu.cpp >armv6j-unknown-linux-musleabihf-g++ -Os -pipe -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -flto -std=c++20 -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector -Wall -Wextra -pedantic -Iinclude -Isrc -MMD -c -o obj/btop_menu.o src/btop_menu.cpp ><command-line>: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >src/btop_menu.cpp: In member function 'std::string Menu::msgBox::operator()()': >src/btop_menu.cpp:659:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 659 | auto& first_color = (selected == 0 ? Theme::c("hi_fg") : Theme::c("div_line")); > | ^~~~~~~~~~~ >src/btop_menu.cpp:659:62: note: the temporary was destroyed at the end of the full expression 'Theme::c(std::__cxx11::basic_string<char>(((const char*)"hi_fg"), std::allocator<char>()))' > 659 | auto& first_color = (selected == 0 ? Theme::c("hi_fg") : Theme::c("div_line")); > | ~~~~~~~~^~~~~~~~~ >src/btop_menu.cpp:664:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 664 | auto& second_color = (selected == 1 ? Theme::c("hi_fg") : Theme::c("div_line")); > | ^~~~~~~~~~~~ >src/btop_menu.cpp:664:71: note: the temporary was destroyed at the end of the full expression 'Theme::c(std::__cxx11::basic_string<char>(((const char*)"hi_fg"), std::allocator<char>()))' > 664 | auto& second_color = (selected == 1 ? Theme::c("hi_fg") : Theme::c("div_line")); > | ~~~~~~~~^~~~~~~~~ >src/btop_menu.cpp: In function 'int Menu::signalSend(const std::string&)': >src/btop_menu.cpp:859:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 859 | auto& p_name = (s_pid == Config::getI("detailed_pid") ? Proc::detailed.entry.name : Config::getS("selected_name")); > | ^~~~~~ >src/btop_menu.cpp:859:121: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"selected_name"), std::allocator<char>()))' > 859 | auto& p_name = (s_pid == Config::getI("detailed_pid") ? Proc::detailed.entry.name : Config::getS("selected_name")); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ >90%-> obj/btop_menu.o (512iB) (02m:38s) >Compiling src/btop_draw.cpp >armv6j-unknown-linux-musleabihf-g++ -Os -pipe -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -flto -std=c++20 -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector -Wall -Wextra -pedantic -Iinclude -Isrc -MMD -c -o obj/btop_draw.o src/btop_draw.cpp ><command-line>: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >src/btop_draw.cpp: In function 'bool Draw::update_clock(bool)': >src/btop_draw.cpp:280:29: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 280 | const auto& clock_format = Config::getS("clock_format"); > | ^~~~~~~~~~~~ >src/btop_draw.cpp:280:56: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"clock_format"), std::allocator<char>()))' > 280 | const auto& clock_format = Config::getS("clock_format"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >src/btop_draw.cpp: In function 'std::string Cpu::draw(const cpu_info&, bool, bool)': >src/btop_draw.cpp:513:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 513 | auto& graph_up_field = Config::getS("cpu_graph_upper"); > | ^~~~~~~~~~~~~~ >src/btop_draw.cpp:513:52: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"cpu_graph_upper"), std::allocator<char>()))' > 513 | auto& graph_up_field = Config::getS("cpu_graph_upper"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >src/btop_draw.cpp:514:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 514 | auto& graph_lo_field = Config::getS("cpu_graph_lower"); > | ^~~~~~~~~~~~~~ >src/btop_draw.cpp:514:52: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"cpu_graph_lower"), std::allocator<char>()))' > 514 | auto& graph_lo_field = Config::getS("cpu_graph_lower"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >src/btop_draw.cpp:518:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 518 | auto& temp_scale = Config::getS("temp_scale"); > | ^~~~~~~~~~ >src/btop_draw.cpp:518:48: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"temp_scale"), std::allocator<char>()))' > 518 | auto& temp_scale = Config::getS("temp_scale"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~ >src/btop_draw.cpp:653:37: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 653 | const auto& temp_color = Theme::g("temp").at(clamp(cpu.temp.at(0).back() * 100 / cpu.temp_max, 0ll, 100ll)); > | ^~~~~~~~~~ >src/btop_draw.cpp:653:69: note: the temporary was destroyed at the end of the full expression '(& Theme::g(std::__cxx11::basic_string<char>(((const char*)"temp"), std::allocator<char>())))->std::array<std::__cxx11::basic_string<char>, 101>::at(((std::array<std::__cxx11::basic_string<char>, 101>::size_type)((long long int)std::clamp<long long int>(((((long long int)(& cpu.Cpu::cpu_info::temp.std::vector<std::deque<long long int> >::at(0))->std::deque<long long int>::back()) * 100) / ((long long int)cpu.Cpu::cpu_info::temp_max)), 0, 100))))' > 653 | const auto& temp_color = Theme::g("temp").at(clamp(cpu.temp.at(0).back() * 100 / cpu.temp_max, 0ll, 100ll)); > | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/btop_draw.cpp:678:45: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 678 | const auto& temp_color = Theme::g("temp").at(clamp(cpu.temp.at(n+1).back() * 100 / cpu.temp_max, 0ll, 100ll)); > | ^~~~~~~~~~ >src/btop_draw.cpp:678:77: note: the temporary was destroyed at the end of the full expression '(& Theme::g(std::__cxx11::basic_string<char>(((const char*)"temp"), std::allocator<char>())))->std::array<std::__cxx11::basic_string<char>, 101>::at(((std::array<std::__cxx11::basic_string<char>, 101>::size_type)((long long int)std::clamp<long long int>(((((long long int)(& cpu.Cpu::cpu_info::temp.std::vector<std::deque<long long int> >::at(((std::vector<std::deque<long long int> >::size_type)(((int)n) + 1))))->std::deque<long long int>::back()) * 100) / ((long long int)cpu.Cpu::cpu_info::temp_max)), 0, 100))))' > 678 | const auto& temp_color = Theme::g("temp").at(clamp(cpu.temp.at(n+1).back() * 100 / cpu.temp_max, 0ll, 100ll)); > | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/btop_draw.cpp: In function 'std::string Proc::draw(const std::vector<proc_info>&, bool, bool)': >src/btop_draw.cpp:1221:47: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 1221 | const string& t_color = (not alive or selected > 0 ? Theme::c("inactive_fg") : Theme::c("title")); > | ^~~~~~~ >src/btop_draw.cpp:1221:94: note: the temporary was destroyed at the end of the full expression 'Theme::c(std::__cxx11::basic_string<char>(((const char*)"inactive_fg"), std::allocator<char>()))' > 1221 | const string& t_color = (not alive or selected > 0 ? Theme::c("inactive_fg") : Theme::c("title")); > | ~~~~~~~~^~~~~~~~~~~~~~~ >src/btop_draw.cpp:1222:47: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 1222 | const string& hi_color = (not alive or selected > 0 ? t_color : Theme::c("hi_fg")); > | ^~~~~~~~ >src/btop_draw.cpp:1222:105: note: the temporary was destroyed at the end of the full expression 'Theme::c(std::__cxx11::basic_string<char>(((const char*)"hi_fg"), std::allocator<char>()))' > 1222 | const string& hi_color = (not alive or selected > 0 ? t_color : Theme::c("hi_fg")); > | ~~~~~~~~^~~~~~~~~ >src/btop_draw.cpp:1285:37: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 1285 | const auto& sorting = Config::getS("proc_sorting"); > | ^~~~~~~ >src/btop_draw.cpp:1285:59: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"proc_sorting"), std::allocator<char>()))' > 1285 | const auto& sorting = Config::getS("proc_sorting"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >src/btop_draw.cpp: In function 'void Draw::calcSizes()': >src/btop_draw.cpp:1630:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 1630 | auto& custom = Config::getS("custom_cpu_name"); > | ^~~~~~ >src/btop_draw.cpp:1630:52: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"custom_cpu_name"), std::allocator<char>()))' > 1630 | auto& custom = Config::getS("custom_cpu_name"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ >90%-> obj/btop_draw.o (512iB) (02m:47s) >Compiling src/linux/btop_collect.cpp >armv6j-unknown-linux-musleabihf-g++ -Os -pipe -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -flto -std=c++20 -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector -Wall -Wextra -pedantic -Iinclude -Isrc -MMD -c -o obj/linux/btop_collect.o src/linux/btop_collect.cpp ><command-line>: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >src/linux/btop_collect.cpp: In function 'void Cpu::update_sensors()': >src/linux/btop_collect.cpp:386:29: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 386 | const auto& cpu_sensor = (not Config::getS("cpu_sensor").empty() and found_sensors.contains(Config::getS("cpu_sensor")) ? Config::getS("cpu_sensor") : Cpu::cpu_sensor); > | ^~~~~~~~~~ >src/linux/btop_collect.cpp:386:151: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"cpu_sensor"), std::allocator<char>()))' > 386 | const auto& cpu_sensor = (not Config::getS("cpu_sensor").empty() and found_sensors.contains(Config::getS("cpu_sensor")) ? Config::getS("cpu_sensor") : Cpu::cpu_sensor); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~ >src/linux/btop_collect.cpp: In function 'robin_hood::unordered_flat_map<int, int> Cpu::get_core_mapping()': >src/linux/btop_collect.cpp:513:29: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 513 | const auto& custom_map = Config::getS("cpu_core_map"); > | ^~~~~~~~~~ >src/linux/btop_collect.cpp:513:54: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"cpu_core_map"), std::allocator<char>()))' > 513 | const auto& custom_map = Config::getS("cpu_core_map"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >src/linux/btop_collect.cpp: In function 'std::tuple<int, long int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > Cpu::get_battery()': >src/linux/btop_collect.cpp:601:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 601 | auto& battery_sel = Config::getS("selected_battery"); > | ^~~~~~~~~~~ >src/linux/btop_collect.cpp:601:49: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"selected_battery"), std::allocator<char>()))' > 601 | auto& battery_sel = Config::getS("selected_battery"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ >src/linux/btop_collect.cpp: In function 'Mem::mem_info& Mem::collect(bool)': >src/linux/btop_collect.cpp:934:39: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 934 | auto& disks_filter = Config::getS("disks_filter"); > | ^~~~~~~~~~~~ >src/linux/btop_collect.cpp:934:66: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"disks_filter"), std::allocator<char>()))' > 934 | auto& disks_filter = Config::getS("disks_filter"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >src/linux/btop_collect.cpp: In function 'Net::net_info& Net::collect(bool)': >src/linux/btop_collect.cpp:1378:23: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 1378 | auto& config_iface = Config::getS("net_iface"); > | ^~~~~~~~~~~~ >src/linux/btop_collect.cpp:1378:50: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"net_iface"), std::allocator<char>()))' > 1378 | auto& config_iface = Config::getS("net_iface"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~ >src/linux/btop_collect.cpp: In function 'std::vector<Proc::proc_info>& Proc::collect(bool)': >src/linux/btop_collect.cpp:1687:29: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 1687 | const auto& sorting = Config::getS("proc_sorting"); > | ^~~~~~~ >src/linux/btop_collect.cpp:1687:51: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"proc_sorting"), std::allocator<char>()))' > 1687 | const auto& sorting = Config::getS("proc_sorting"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >src/linux/btop_collect.cpp:1689:29: warning: possibly dangling reference to a temporary [-Wdangling-reference] > 1689 | const auto& filter = Config::getS("proc_filter"); > | ^~~~~~ >src/linux/btop_collect.cpp:1689:50: note: the temporary was destroyed at the end of the full expression 'Config::getS(std::__cxx11::basic_string<char>(((const char*)"proc_filter"), std::allocator<char>()))' > 1689 | const auto& filter = Config::getS("proc_filter"); > | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ >90%-> obj/linux/btop_collect.o (512iB) (02m:53s) > >Linking and optimizing binary... >armv6j-unknown-linux-musleabihf-g++ -o bin/btop obj/btop.o obj/btop_config.o obj/btop_draw.o obj/btop_input.o obj/btop_menu.o obj/btop_shared.o obj/btop_theme.o obj/btop_tools.o obj/linux/btop_collect.o -Wl,-O1 -Wl,--as-needed -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -fstack-protector -Wall -Wextra -pedantic >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >/usr/include/fortify/stdio.h: In function '__to_xstring.constprop': >/usr/include/fortify/stdio.h:152:28: error: inlining failed in call to 'always_inline' 'vsnprintf': function body can be overwritten at link time > 152 | _FORTIFY_FN(vsnprintf) int vsnprintf(char * _FORTIFY_POS0 __s, size_t __n, > | ^ >/usr/lib/gcc/armv6j-unknown-linux-musleabihf/13/include/g++-v13/ext/string_conversions.h:113:32: note: called from here > 113 | const int __len = __convf(__s, __n, __fmt, __args); > | ^ >make[1]: *** [/var/tmp/portage/sys-process/btop-1.2.13-r2/temp/ccEEBjFJ.mk:44: /var/tmp/portage/sys-process/btop-1.2.13-r2/temp/ccLGAobl.ltrans14.ltrans.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto1: warning: switch '-mcpu=arm1176jzf-s' conflicts with switch '-march=armv6j+fp' >lto-wrapper: fatal error: make returned 2 exit status >compilation terminated. >/usr/lib/gcc/armv6j-unknown-linux-musleabihf/13/../../../../armv6j-unknown-linux-musleabihf/bin/ld: error: lto-wrapper failed >collect2: error: ld returned 1 exit status >make: *** [Makefile:290: btop] Error 1 > * ERROR: sys-process/btop-1.2.13-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-process/btop-1.2.13-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-process/btop-1.2.13-r2::gentoo'`. > * The complete build log is located at '/var/tmp/portage/sys-process/btop-1.2.13-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-process/btop-1.2.13-r2/temp/environment'. > * Working directory: '/var/tmp/portage/sys-process/btop-1.2.13-r2/work/btop-1.2.13' > * S: '/var/tmp/portage/sys-process/btop-1.2.13-r2/work/btop-1.2.13'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 920644
: 880278