Linker Error When Building gnat 4.6.0

Shea Levy shea@shealevy.com
Wed Mar 30 15:52:00 GMT 2011


On 03/29/2011 06:27 PM, Ian Lance Taylor wrote:
> Shea Levy<shea@shealevy.com>  writes:
>
>> On 03/29/2011 04:52 PM, Ian Lance Taylor wrote:
>>> Shea Levy<shea@shealevy.com>   writes:
>>>
>>>> Found it:
>>>>
>>>> 000000000000098a  0000002800000002 R_X86_64_PC32
>>>> 0000000000000000 simple_object_set_big_16 - 4
>>>>
>>>> How should I proceed? Should I file a bug?
>>> Yes, I can't think of anything else to do.  Describe all the information
>>> which might possible be needed to recreate this issue.
>>>
>>> Ian
>> Ok. Is this more likely a linker error or a compiler error?
> It appears to be a compiler error.  Specifically, it appears to be an
> error in the compiler that you are using to build gcc (which is to say,
> in the older version of gcc).  Or else it is somehow an error in the
> compiler source code which I am not seeing.
>
> Ian
I did some double-checking, and it turns out that for gnat alone our 
build system uses Gentoo's gnatboot-4.1 instead of gcc 4.5.1. Building 
using gcc 4.5.1 was successful, so either the GCC install docs are 
incorrect in saying that the gnat version must be 4.0 or later, or there 
is some oddity in how Gentoo built their gnat.



More information about the Gcc-help mailing list