|
From: | dodji at seketeli dot org |
Subject: | [Bug gold/14309] gold doesn't build with gcc 4.1.3 |
Date: | Mon, 02 Jul 2012 19:19:35 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14309 dodji at seketeli dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dodji at seketeli dot org --- Comment #3 from dodji at seketeli dot org 2012-07-02 19:15:03 UTC --- I think the problem comes from the fact that libstdc++ in GCC 4.1.2 does not define a specialization for std::tr1::hash<long long>. But that specialization is needed when you want to use a 'long long' as a key type in a std::tr1::unordered_map. I am attaching a patch that hopefully addresses the issue on platforms that provide std::tr1::unordered_map but don't provide std::tr1::hash<long long>. --- Comment #4 from dodji at seketeli dot org 2012-07-02 19:19:35 UTC --- Created attachment 6507 --> http://sourceware.org/bugzilla/attachment.cgi?id=6507 Fix the compilation error Provide the std::tr1::hash<long long> specialization when not available. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |