[cfe-dev] Building libc++ on Lion
Jean-Daniel Dupas
devlists at shadowlab.org
Thu Nov 17 08:53:27 PST 2011
Sorry, I missed the part of you question stating you "grabbed the abi header and dylib".
To make it clear, this step is not required on 10.7, as Lion already provide this library and the corresponding header.
Le 17 nov. 2011 à 17:43, Jean-Daniel Dupas a écrit :
> Is there any change you get a custom version of libc++abi.dylib somewhere in the linker search path ?
> When I build libc++ using the default Lion's libraries, I don't get any error.
>
> Le 17 nov. 2011 à 04:31, Matthew Abbott a écrit :
>
>> Hi all,
>>
>> I grabbed the svn of libc++ and followed the instructions on the Getting Started page on my build of Mac OS 10.7, including grabbing the ABI header and dylib file. When I run ./buildit, however, I get the following linker error at the final step:
>>
>> Undefined symbols for architecture i386:
>> "__ZTIDi", referenced from:
>> -reexported_symbols_list command line option
>> "__ZTIDn", referenced from:
>> -reexported_symbols_list command line option
>> "__ZTIDs", referenced from:
>> -reexported_symbols_list command line option
>> "__ZTIPDi", referenced from:
>> -reexported_symbols_list command line option
>> "__ZTIPDn", referenced from:
>> -reexported_symbols_list command line option
>> "__ZTIPDs", referenced from:
>> -reexported_symbols_list command line option
>> "__ZTIPKDi", referenced from:
>> -reexported_symbols_list command line option
>> "__ZTIPKDn", referenced from:
>> -reexported_symbols_list command line option
>> "__ZTIPKDs", referenced from:
>> -reexported_symbols_list command line option
>> ld: symbol(s) not found for architecture i386
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>>
>> It looks like it produces the dylib file even with this error, but when I run test/testit, I fail a much larger number of tests than I assume I should, given the completeness graph on the project page. I'm not hugely familiar with all of these compiler options, so before I start investigating, I was wondering if this is something people have been running into. I've only been subscribed to the mailing list for a couple weeks, so I apologize if this is a worn out topic--my attempts at google searches have not turned up anything.
>>
>> Thanks for your help,
>>
>> Matt Abbott
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
> -- Jean-Daniel
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-- Jean-Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111117/ea77da52/attachment.html>
More information about the cfe-dev
mailing list