This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/32219] optimizer causes wrong code in pic/hidden/weak symbol checking.
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Feb 2015 17:06:24 +0000
- Subject: [Bug rtl-optimization/32219] optimizer causes wrong code in pic/hidden/weak symbol checking.
- Auto-submitted: auto-generated
- References: <bug-32219-4 at http dot gcc dot gnu dot org/bugzilla/>
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?