[swift-corelibs-dev] Unresolved enumeration symbols

Joe Bell joe at iachieved.it
Sat Dec 12 19:24:52 CST 2015


Tony, yes, I'm building on an Ubuntu 14.04 system.  I can provide any uname or kernel information if you need.

Joe

> On Dec 12, 2015, at 7:17 PM, Tony Parker <anthony.parker at apple.com> wrote:
> 
> Hi Joe,
> 
> I see you used the preset for linux, but I just wanted to double-check that you are indeed building on Linux.
> 
> - Tony
> 
>> On Dec 12, 2015, at 3:48 PM, Joseph Bell via swift-corelibs-dev <swift-corelibs-dev at swift.org> wrote:
>> 
>> Howdy.
>> 
>> I'm using the basic build instructions (checking out swift, llvm, clang, etc.) and can successfully build a packaged release with 
>> 
>> ./swift/utils/build-script --preset=buildbot_linux_1404 install_destdir=${INSTALL_DIR} i
>> nstallable_package=${PACKAGE}
>> 
>> However, the resulting build output for Foundation is missing enumeration types, and I noticed it in particular in the NSDateFormatter class:
>> 
>> ➜  Foundation git:(master) ✗ nm NSDateFormatter.swift.o|grep Medium
>> 
>> 
>> Of course this results in the symbols not being included in libFoundation.so
>> ➜  Foundation git:(master) ✗ nm -D libFoundation.so |grep Medium
>> 
>> Looking at my build from source I am missing about 200K of symbols that the SNAPSHOT build is including:
>> 
>>   Foundation git:(master) ✗ nm -D /opt/apple/swift-2.2-SNAPSHOT-2015-12-10-a-ubuntu14.04/usr/lib/swift/linux/libFoundation.so|grep Medium
>> 000000000034ab40 T _TFO10Foundation20NSDateFormatterStyle11MediumStyleFMS0_S0_
>> 00000000003944e0 T _TFO10Foundation21NSFormattingUnitStyle6MediumFMS0_S0_
>> 000000000034b330 T _TFO10Foundation28NSDateIntervalFormatterStyle11MediumStyleFMS0_S0_
>> 00000000003f5820 T _TFO10Foundation36NSPersonNameComponentsFormatterStyle6MediumFMS0_S0_
>> 
>> Thanks for any thoughts,
>> Joe
>> 
>> PS - I am using the master branch across all repositories.
>> 
>>  _______________________________________________
>> swift-corelibs-dev mailing list
>> swift-corelibs-dev at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20151212/8da26b86/attachment.html>


More information about the swift-corelibs-dev mailing list