https://sourceware.org/bugzilla/show_bug.cgi?id=25061
Bug ID: 25061 Summary: git libxml++ test unit linking causes cre dump of the /usr/bin/ld.bfd Product: binutils Version: 2.32 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: kloczko.tomasz at gmail dot com CC: ian at airs dot com Target Milestone: --- Fedora rawhide. libxml++ 3.0.1 + git patches with LTO causes sigsegv. Tested that without LTO everything is fine. ============================================================================ make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/examples' Making check in tests /usr/bin/make saxparser_chunk_parsing_inconsistent_state/test saxparser_parse_double_free/test saxparser_parse_stream_inconsistent_state/test make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/tests' g++ -std=c++17 -DHAVE_CONFIG_H -I.. -I.. -I. -I/usr/include/libxml2 -I/usr/include/glibmm-2.62 -I/usr/lib64/glibmm-2.62/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-3.0 -I/usr/lib64/sigc++-3.0/include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -c -o saxparser_parse_double_free/main.o saxparser_parse_double_free/main.cc make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/tests' g++ -std=c++17 -DHAVE_CONFIG_H -I.. -I.. -I. -I/usr/include/libxml2 -I/usr/include/glibmm-2.62 -I/usr/lib64/glibmm-2.62/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-3.0 -I/usr/lib64/sigc++-3.0/include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -c -o saxparser_chunk_parsing_inconsistent_state/main.o saxparser_chunk_parsing_inconsistent_state/main.cc make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/tests' g++ -std=c++17 -DHAVE_CONFIG_H -I.. -I.. -I. -I/usr/include/libxml2 -I/usr/include/glibmm-2.62 -I/usr/lib64/glibmm-2.62/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-3.0 -I/usr/lib64/sigc++-3.0/include -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -c -o saxparser_parse_stream_inconsistent_state/main.o saxparser_parse_stream_inconsistent_state/main.cc make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -std=c++17 -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -flto-partition=none -fuse-linker-plugin -o saxparser_parse_stream_inconsistent_state/test saxparser_parse_stream_inconsistent_state/main.o ../libxml++/libxml++-4.0.la -lxml2 -lglibmm-2.62 -lgobject-2.0 -lglib-2.0 -lsigc-3.0 libtool: link: g++ -std=c++17 -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -flto-partition=none -fuse-linker-plugin -o saxparser_parse_stream_inconsistent_state/.libs/test saxparser_parse_stream_inconsistent_state/main.o ../libxml++/.libs/libxml++-4.0.so -lxml2 -lglibmm-2.62 -lgobject-2.0 -lglib-2.0 -lsigc-3.0 make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -std=c++17 -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -flto-partition=none -fuse-linker-plugin -o saxparser_parse_double_free/test saxparser_parse_double_free/main.o ../libxml++/libxml++-4.0.la -lxml2 -lglibmm-2.62 -lgobject-2.0 -lglib-2.0 -lsigc-3.0 libtool: link: g++ -std=c++17 -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -flto-partition=none -fuse-linker-plugin -o saxparser_parse_double_free/.libs/test saxparser_parse_double_free/main.o ../libxml++/.libs/libxml++-4.0.so -lxml2 -lglibmm-2.62 -lgobject-2.0 -lglib-2.0 -lsigc-3.0 /usr/bin/ld: error: could not unlink output file collect2: error: ld returned 1 exit status make[2]: *** [Makefile:637: saxparser_parse_double_free/test] Error 1 make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/tests' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -std=c++17 -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -flto-partition=none -fuse-linker-plugin -o saxparser_chunk_parsing_inconsistent_state/test saxparser_chunk_parsing_inconsistent_state/main.o ../libxml++/libxml++-4.0.la -lxml2 -lglibmm-2.62 -lgobject-2.0 -lglib-2.0 -lsigc-3.0 libtool: link: g++ -std=c++17 -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -flto-partition=none -fuse-linker-plugin -o saxparser_chunk_parsing_inconsistent_state/.libs/test saxparser_chunk_parsing_inconsistent_state/main.o ../libxml++/.libs/libxml++-4.0.so -lxml2 -lglibmm-2.62 -lgobject-2.0 -lglib-2.0 -lsigc-3.0 collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. /usr/bin/ld: error in test.lto.o(.eh_frame); no .eh_frame_hdr table will be created /usr/bin/ld: test.lto.o: invalid string offset 262144 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 262144 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 262144 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1979712512 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 40705 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1979712512 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 40705 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1979712512 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1979712512 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1979712256 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 2960523271 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 2960523271 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 2692087812 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 4034265092 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1543504128 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 10420224 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 16777216 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 524288 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 16842752 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1919251314 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1702130537 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 727920485 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 727920485 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 724263727 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 788558706 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1768711983 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1769108595 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1650422383 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1920234335 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 33581102 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1819042048 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1937008993 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1952673397 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1818850658 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 134557757 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 460033 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 133376 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 133376 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 2500007685 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 50725381 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 25135875 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 772145535 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 52757761 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 71983107 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 84018278 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 83951872 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 369455361 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 67415042 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 369456254 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 84247558 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 50725380 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 33817088 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 2124546818 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 460051 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 83459 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 50725380 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 33817088 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o(.debug_info): relocation 0 has invalid symbol index 2019644281 /usr/bin/ld: test.lto.o: unsupported relocation type 0x4e test.lto.o:(.text+0x7): relocation truncated to fit: R_X86_64_PC32 against `*UND*' test.lto.o:(.text+0x27): relocation truncated to fit: R_X86_64_PC32 against `*UND*' `.group' referenced in section `.gnu.build.attributes.unlikely[.text.unlikely.group]' of test.lto.o: defined in discarded section `.group' of test.lto.o /usr/bin/ld: test.lto.o: invalid string offset 1979712512 >= 3191 for section `.strtab' /usr/bin/ld: test.lto.o: invalid string offset 1543504128 >= 3191 for section `.strtab' make[2]: *** [Makefile:624: saxparser_chunk_parsing_inconsistent_state/test] Error 1 make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libxml++-3.0.1/tests' make[1]: *** [Makefile:967: check-am] Error 2 make: *** [Makefile:581: check-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.sFqxzA (%check) $ coredumpctl gdb /usr/bin/ld.bfd PID: 958744 (ld) UID: 1000 (tkloczko) GID: 1000 (tkloczko) Signal: 11 (SEGV) Timestamp: Thu 2019-10-03 15:24:27 BST (10s ago) Command Line: /usr/bin/ld -plugin /usr/libexec/gcc/x86_64-redhat-linux/9/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccV5PDiC.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o saxparser_chunk_parsing_inconsistent_state/.libs/test /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/Scrt1.o /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/9/crtbeginS.o -L/usr/lib/gcc/x86_64-redhat-linux/9 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../.. -z relro --as-needed -z now saxparser_chunk_parsing_inconsistent_state/main.o ../libxml++/.libs/libxml++-4.0.so -lxml2 -lglibmm-2.62 -lgobject-2.0 -lglib-2.0 -lsigc-3.0 -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/9/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crtn.o Executable: /usr/bin/ld.bfd Control Group: /user.slice/user-1000.slice/session-61.scope Unit: session-61.scope Slice: user-1000.slice Session: 61 Owner UID: 1000 (tkloczko) Boot ID: bb9bbf6eca594bdb914f10da6e8fca54 Machine ID: ddd9adc076fd4480afcea67383c00b78 Hostname: barrel Storage: /var/lib/systemd/coredump/core.ld.1000.bb9bbf6eca594bdb914f10da6e8fca54.958744.1570112667000000000000.lz4 Message: Process 958744 (ld) of user 1000 dumped core. Stack trace of thread 958744: #0 0x00007fcadc77eda7 _bfd_elf_rela_local_sym (libbfd-2.32-26.fc32.so) #1 0x00007fcadc7607fb elf_x86_64_relocate_section (libbfd-2.32-26.fc32.so) #2 0x00007fcadc7903bb elf_link_input_bfd (libbfd-2.32-26.fc32.so) #3 0x00007fcadc791eb0 bfd_elf_final_link (libbfd-2.32-26.fc32.so) #4 0x0000562ba760efaf ldwrite (ld.bfd) #5 0x0000562ba75f72eb main (ld.bfd) #6 0x00007fcadc5531a3 __libc_start_main (libc.so.6) #7 0x0000562ba75f794e _start (ld.bfd) GNU gdb (GDB) Fedora 8.3.50.20190824-26.fc32 Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/ld.bfd... Reading symbols from /usr/lib/debug/usr/bin/ld.bfd-2.32-26.fc32.x86_64.debug... warning: core file may not match specified executable file. [New LWP 958744] Core was generated by `/usr/bin/ld -plugin /usr/libexec/gcc/x86_64-redhat-linux/9/liblto_plugin.so -pl'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fcadc77eda7 in _bfd_elf_rela_local_sym (abfd=0x562ba8f05360, sym=0x562ba9ba8bf0, psec=0x7ffe9c484d38, rel=0x562ba9277880) at elf.c:11818 11818 relocation = (sec->output_section->vma Missing separate debuginfos, use: dnf debuginfo-install gcc-9.2.1-1.fc32.x86_64 glibc-2.30.9000-6.fc32.x86_64 (gdb) bt full #0 0x00007fcadc77eda7 in _bfd_elf_rela_local_sym (abfd=0x562ba8f05360, sym=0x562ba9ba8bf0, psec=0x7ffe9c484d38, rel=0x562ba9277880) at elf.c:11818 sec = 0x0 relocation = <optimized out> #1 0x00007fcadc7607fb in elf_x86_64_relocate_section (output_bfd=output_bfd@entry=0x562ba8f05360, info=0x562ba779c840 <link_info>, input_bfd=input_bfd@entry=0x562ba926ee20, input_section=input_section@entry=0x562ba8f55170, contents=0x562ba9bbf770 "otection", relocs=relocs@entry=0x562ba9277880, local_syms=0x562ba9ba89f0, local_sections=0x562ba9c04720) at elf64-x86-64.c:2459 htab = <optimized out> symtab_hdr = <optimized out> sym_hashes = <optimized out> local_got_offsets = <optimized out> local_tlsdesc_gotents = <optimized out> rel = <optimized out> wrel = <optimized out> relend = <optimized out> plt_entry_size = <optimized out> __PRETTY_FUNCTION__ = "elf_x86_64_relocate_section" r_type = <optimized out> r_type_tls = <optimized out> howto = <optimized out> r_symndx = <optimized out> h = <optimized out> eh = <optimized out> sym = <optimized out> sec = <optimized out> off = <optimized out> offplt = <optimized out> plt_offset = <optimized out> relocation = <optimized out> unresolved_reloc = <optimized out> r = <optimized out> tls_type = <optimized out> base_got = <optimized out> resolved_plt = <optimized out> st_size = <optimized out> resolved_to_zero = <optimized out> relative_reloc = <optimized out> converted_reloc = <optimized out> need_copy_reloc_in_pie = <optimized out> warned = <optimized out> ignored = <optimized out> err = <optimized out> plt_index = <optimized out> name = <optimized out> outrel = <optimized out> sreloc = <optimized out> plt_index = <optimized out> s = <optimized out> outrel = <optimized out> v = <optimized out> fail = <optimized out> outrel = <optimized out> skip = <optimized out> relocate = <optimized out> sreloc = <optimized out> name = <optimized out> addend = <optimized out> sindx = <optimized out> osec = <optimized out> oi = <optimized out> roff = <optimized out> largepic = <optimized out> val = <optimized out> type = <optimized out> val = <optimized out> --Type <RET> for more, q to quit, c to continue without paging-- type = <optimized out> reg = <optimized out> outrel = <optimized out> dr_type = <optimized out> indx = <optimized out> sreloc = <optimized out> roff = <optimized out> largepic = <optimized out> outrel = <optimized out> name = <optimized out> rel_hdr = <optimized out> deleted = <optimized out> #2 0x00007fcadc7903bb in elf_link_input_bfd (flinfo=flinfo@entry=0x7ffe9c484ff0, input_bfd=input_bfd@entry=0x562ba926ee20) at elflink.c:10856 rel = 0x562ba92778b0 relend = 0x562ba92778b0 action_discarded = <optimized out> ret = <optimized out> internal_relocs = 0x562ba9277880 contents = 0x562ba9bbf770 "otection" relocate_section = <optimized out> output_bfd = <optimized out> symtab_hdr = 0x562ba926f1e8 locsymcount = 103 extsymoff = 103 isymbuf = 0x562ba9ba89f0 isym = <optimized out> isymend = 0x562ba9ba96d0 pindex = <optimized out> ppsection = <optimized out> o = <optimized out> bed = <optimized out> sym_hashes = 0x562ba9277580 address_size = 8 r_type_mask = 4294967295 r_sym_shift = 32 have_file_sym = <optimized out> __PRETTY_FUNCTION__ = "elf_link_input_bfd" #3 0x00007fcadc791eb0 in bfd_elf_final_link (abfd=<optimized out>, info=<optimized out>) at elflink.c:12183 dynamic = <optimized out> emit_relocs = <optimized out> dynobj = <optimized out> flinfo = {info = 0x562ba779c840 <link_info>, output_bfd = 0x562ba8f05360, symstrtab = 0x562ba9278a20, hash_sec = 0x0, symver_sec = 0x562ba8f217f0, contents = 0x562ba9bbf770 "otection", external_relocs = 0x562ba9bd4f60, internal_relocs = 0x562ba9bebff0, external_syms = 0x562ba9c03080 "", locsym_shndx = 0x0, internal_syms = 0x562ba9c03a30, indices = 0x562ba90c5250, sections = 0x562ba9c04720, symshndxbuf = 0x0, filesym_count = 1} o = 0x562ba9ac21f8 p = 0x562ba8f146d8 sub = 0x562ba926ee20 max_contents_size = <optimized out> max_external_reloc_size = <optimized out> max_internal_reloc_count = <optimized out> max_sym_count = <optimized out> max_sym_shndx_count = <optimized out> elfsym = {st_value = 0, st_size = 0, st_name = 18446744073709551615, st_info = 3 '\003', st_other = 0 '\000', st_target_internal = 0 '\000', st_shndx = 34} i = <optimized out> symtab_hdr = <optimized out> symtab_shndx_hdr = <optimized out> bed = <optimized out> eoinfo = {failed = -1460689744, localsyms = 22059, file_sym_done = 253, flinfo = 0xfe0} merged = <optimized out> relativecount = 0 reldyn = 0x0 amt = <optimized out> attr_section = <optimized out> --Type <RET> for more, q to quit, c to continue without paging-- attr_size = <optimized out> std_attrs_section = <optimized out> htab = <optimized out> __PRETTY_FUNCTION__ = "bfd_elf_final_link" #4 0x0000562ba760efaf in ldwrite () at ldwrite.c:581 No locals. #5 0x0000562ba75f72eb in main (argc=<optimized out>, argv=<optimized out>) at ./ldmain.c:456 emulation = <optimized out> start_time = <optimized out> (gdb) quit -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils