This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/32219] optimizer causes wrong code in pic/hidden/weak symbol checking.


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32219

--- Comment #19 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Pat Haugen from comment #18)
> The following error started with r220674 on powerpc64-linux when trying to
> build 447.dealII from CPU2006 with -m64.
> 
> /usr/bin/ld: exceptions.o: In function `ExceptionBase::what() const':
> exceptions.cc:(.text+0xda0): unresolvable R_PPC64_TOC16_HA against
> `std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >::~basic_string()@@GLIBCXX_3.4.21'
> /usr/bin/ld: exceptions.cc:(.text+0xdac): unresolvable R_PPC64_TOC16_LO
> against `std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >::~basic_string()@@GLIBCXX_3.4.21'
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: error: ld returned 1 exit status

Can you try fix in PR 65074?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]