[swift-corelibs-dev] Unresolved enumeration symbols

Joseph Bell joe at iachieved.it
Sat Dec 12 17:48:29 CST 2015


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20151212/4d6e0b6e/attachment.html>


More information about the swift-corelibs-dev mailing list