https://sourceware.org/bugzilla/show_bug.cgi?id=17432
Bug ID: 17432 Summary: internal error in relocate_tls, at gold/x86_64.cc:3829 Product: binutils Version: 2.25 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ccoutant at google dot com Reporter: markus at trippelsdorf dot de CC: ian at airs dot com Since r215417 of gcc trunk gold hits the following assert: markus@x4 ~ % echo "int main () {}" | g++ -flto -fprofile-generate -x c++ - ld: internal error in relocate_tls, at gold/x86_64.cc:3829 collect2: error: ld returned 1 exit status 3825 case elfcpp::R_X86_64_TPOFF32: // Local-exec 3826 if (tls_segment == NULL) 3827 { 3828 gold_assert(parameters->errors()->error_count() > 0 3829 || issue_undefined_symbol_error(gsym)); 3830 return; 3831 } 3832 value -= tls_segment->memsz(); 3833 Relocate_functions<size, false>::rela32(view, value, addend); 3834 break; 3835 } https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/ipa-visibility.c?r1=215417&r2=215416&pathrev=215417 -- 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