[LLVMdev] gfortran link failure in current llvm svn
Bill Wendling
isanbard at gmail.com
Tue Aug 12 22:58:46 PDT 2008
It's not an llvm-gcc vs gcc thing. We sync our code base up with
Apple's gcc branch.
-bw
On Aug 12, 2008, at 9:13 PM, Jack Howarth wrote:
> IMHO, this is one of my biggest concerns about Apple eventually
> switching over to llvm-gcc. The absence of the rigorous patch
> review process required in FSF gcc will tend to allow these sort
> of issues to slip by.
> Jack
>
> On Tue, Aug 12, 2008 at 09:05:11PM -0700, Bill Wendling wrote:
>> On Aug 10, 2008, at 11:40 PM, Duncan Sands wrote:
>>
>>> Hi Jack,
>>>
>>>> The curent llvm svn (r54623) is unable to link the gfortran
>>>> compiler in llvm-gcc-4.2 svn. I am getting the error...
>>> ...
>>>> Undefined symbols:
>>>> "_create_init_utf16_var", referenced from:
>>>> _darwin_build_constant_cfstring in libbackend.a(darwin.o)
>>>
>>> this is probably due to recent Apple changes. Fortran builds on
>>> linux.
>>>
>>>>
>> I just looked at what's going on here, and I threw up a little in my
>> mouth.
>>
>> It's just horrendous. For some reason, they placed a whole bunch of
>> ObjC-building code into darwin.c, then had it call this function in
>> darwin-c.c. If I try to put that function into darwin.c, all hell
>> breaks
>> loose. So even though the Fortran stuff wouldn't call the Obj-C
>> stuff in
>> darwin.c, it appears like it still needs the darwin-c.c file linked
>> in
>> with it.
>>
>> -bw
More information about the llvm-dev
mailing list