This is the mail archive of the gcc-patches@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]

Re: PING^2 [PATCH] Support for AMD64 targets running GNU/kFreeBSD


Ping^2

2011/1/26 Robert Millan <rmh@gnu.org>:
> Ping!
>
> 2011/1/18 Robert Millan <rmh@gnu.org>:
>> 2011/1/14 Robert Millan <rmh@gnu.org>:
>>> 2011/1/12 Robert Millan <rmh@gnu.org>:
>>>>> * The headers config/kfreebsd-gnu.h etc. override
>>>>> ÂGLIBC_DYNAMIC_LINKER. ÂBut the 64-bit configurations
>>>>> Âx86_64-*-kfreebsd*-gnu and x86_64-*-knetbsd*-gnu do not appear to
>>>>> Âuse any header that would override GLIBC_DYNAMIC_LINKER32 and
>>>>> ÂGLIBC_DYNAMIC_LINKER64, which are what LINK_SPEC in linux64.h
>>>>> Âactually uses. ÂThus those configurations would use Linux-specific
>>>>> Âdynamic linker settings, which seems unlikely to be as intended.
>>>>
>>>> It's not as intended. On amd64 we use /lib/ld.so.1 and
>>>> /lib/ld-kfreebsd-x86-64.so.1.
>>>
>>> It seems x86_64-kfreebsd-gnu has been broken for a while. ÂI
>>> just realized that I wrote a patch to fix this in 2006 [1], but
>>> somehow it was never merged in GCC (actually I'm not even
>>> sure I submitted it).
>>>
>>> In the meantime Debian GNU/kFreeBSD has been using this
>>> patch to build GCC on their "kfreebsd-amd64" port.
>>>
>>> I can prepare an updated version of this patch (relative to
>>> trunk + your linux.h overhaul [2]).
>>
>> Here is it.
>>
>> --
>> Robert Millan
>>
>
>
>
> --
> Robert Millan
>



-- 
Robert Millan

Attachment: amd64.diff
Description: Text document


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