[swift-corelibs-dev] Unresolved enumeration symbols

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


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

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
000000000034ab40 T
00000000003944e0 T _TFO10Foundation21NSFormattingUnitStyle6MediumFMS0_S0_
000000000034b330 T
00000000003f5820 T

Thanks for any thoughts,

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