[Bug ld/20402] ld.bfd for emits *_RELATIVE relocations against SHN_ABS symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=20402 Jiong Wang changed: What|Removed |Added Target||aarch64*, x86-64 Summary|ld.bfd for AArch64 emits|ld.bfd for emits *_RELATIVE |R_AARCH64_RELATIVE |relocations against SHN_ABS |relocations against SHN_ABS |symbols |symbols | -- 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
[Bug ld/20402] ld.bfd for emits *_RELATIVE relocations against SHN_ABS symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=20402 --- Comment #4 from Jiong Wang --- It seems this to be a generic ld.bfd issue? I see there is relocations generated on x86-64 as well, while I think linker should fully resolve these relocation during static linking as they are absolute value. When using ld.gold, I see no relocations generated for above abs testcase. -- 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
[Bug ld/20402] ld.bfd for emits *_RELATIVE relocations against SHN_ABS symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=20402 --- Comment #5 from Ard Biesheuvel --- As it turns out, this is a known issue (at least to some): https://sourceware.org/ml/binutils/2012-05/msg00019.html SHN_ABS symbols are treated just like other (section relative) symbols, because symbols like __GLOBAL_OFFSET_TABLE__ and __DYNAMIC are erroneously emitted as absolute. So it seems this cannot be fixed without fixing the underlying problem. -- 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
[Bug gold/21110] New: ld.gold --threads segfaults x86_64
https://sourceware.org/bugzilla/show_bug.cgi?id=21110 Bug ID: 21110 Summary: ld.gold --threads segfaults x86_64 Product: binutils Version: 2.28 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: jan.smets at nokia dot com CC: ian at airs dot com Target Milestone: --- GNU gold (GNU Binutils 2.27.90.20170206) 1.14 [New Thread 0x7ffaf0446700 (LWP 2944)] [New Thread 0x7ffaefa45700 (LWP 2945)] Thread 389 "ld-new" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffbc1b95700 (LWP 2563)] 0x00582de8 in std::_Construct, std::pair > (__value=..., __p=0x7ffef0045000) at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_construct.h:80 80::new(static_cast(__p)) _T1(__value); (gdb) (gdb) (gdb) bt #0 0x00582de8 in std::_Construct, std::pair > (__value=..., __p=0x7ffef0045000) at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_construct.h:80 #1 std::__uninitialized_copy::uninitialized_copy*, std::pair*> (__last=0x7ffac80bb028, __first=, __result=0x7ffef0034db8) at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_uninitialized.h:74 #2 std::uninitialized_copy*, std::pair*> (__last=0x7ffac80bb028, __first=0x7ffef0024da0, __result=0x7ffef0034db8) at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_uninitialized.h:116 #3 std::__uninitialized_copy_a*, std::pair*, std::pair > ( __result=0x7ffef0034db8, __last=0x7ffac80bb028, __first=0x7ffef0024da0) at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_uninitialized.h:256 #4 std::__uninitialized_move_a*, std::pair*, std::allocator > > (__alloc=..., __result=0x7ffef0034db8, __last=0x7ffac80bb028, __first=0x7ffef0024da0) at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_uninitialized.h:266 #5 std::vector, std::allocator > >::_M_insert_aux (this=0x7ffac42949c8, __position=..., __x=...) at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/vector.tcc:344 #6 0x00707f95 in std::vector, std::allocator > >::push_back (__x=..., this=0x7ffac42949c8) at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:741 #7 gold::Output_symtab_xindex::add (shndx=, symndx=, this=0x7ffac4294990) at output.h:2939 #8 gold::Symbol_table::sized_write_section_symbol<64, false> (this=, os=0x7ffc218cc7f0, symtab_xindex=0x7ffac4294990, of=, offset=) at symtab.cc:3392 #9 0x0062a091 in gold::Layout::write_data (this=0x7fffb450, symtab=0x7fffb8a0, of=0x7ffac4295100) at layout.cc:5395 #10 0x0071c104 in gold::Workqueue::find_and_run_task (this=0x7fffbde0, thread_number=388) at workqueue.cc:319 #11 0x0071c46a in gold::Workqueue::process (this=0x7fffbde0, thread_number=388) at workqueue.cc:495 #12 0x0071c6b3 in gold::Workqueue_threader_threadpool::process (thread_number=, this=) at workqueue-internal.h:92 #13 gold::Workqueue_thread::thread_body (arg=0x7ffc04abe6a0) at workqueue-threads.cc:117 #14 0x77bc79d1 in start_thread () from /lib64/libpthread.so.0 #15 0x76f708fd in clone () from /lib64/libc.so.6 -- 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
[Bug gold/21110] ld.gold --threads segfaults x86_64
https://sourceware.org/bugzilla/show_bug.cgi?id=21110 --- Comment #1 from Jan Smets --- I do not have a testcase, but this occurs when doing threaded linking with relocations, ie, ld.gold -r --threads. Please let me know if you need any specific information. Thank you -- 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
[Bug gold/21111] New: gold unhandled mips64 relocation types R_MIPS_HIGHER / R_MIPS_HIGHEST
https://sourceware.org/bugzilla/show_bug.cgi?id=2 Bug ID: 2 Summary: gold unhandled mips64 relocation types R_MIPS_HIGHER / R_MIPS_HIGHEST Product: binutils Version: 2.28 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: jan.smets at nokia dot com CC: ian at airs dot com Target Milestone: --- .globl sysInit .text .ent sysInit sysInit: .set noreorder dla $2, sysInit .set reorder .end sysInit $ mips64-linux-gnuabi64-as -mabi=64 /tmp/test.s -o /tmp/test.o $ mips64-linux-gnuabi64-ld.gold -e sysInit /tmp/test.o -o /tmp/test1.exe -mabi=64 mips64-linux-gnuabi64-ld.gold: internal error in get_reference_flags, at ../../gold/mips.cc:12259 -- 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