<div dir="ltr">Information about the system I&#39;m building with, will note it doesn&#39;t have anything else &quot;special&quot; i.e., no 4.x kernel or non-standard libc.  It is really interesting, everything compiles okay, no errors thrown, etc.  I&#39;m going to try a build on a 15.10 VM as well to see if I can reproduce. <div><br></div><div><div><font face="monospace, monospace">uname -a</font></div><div><font face="monospace, monospace">Linux darthvader 3.19.0-39-generic #44~14.04.1-Ubuntu SMP Wed Dec 2 10:00:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux</font></div></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">lsb_release -a</font></div><div><font face="monospace, monospace">No LSB modules are available.</font></div><div><font face="monospace, monospace">Distributor ID:<span class="" style="white-space:pre">        </span>Ubuntu</font></div><div><font face="monospace, monospace">Description:<span class="" style="white-space:pre">        </span>Ubuntu 14.04.3 LTS</font></div><div><font face="monospace, monospace">Release:<span class="" style="white-space:pre">        </span>14.04</font></div><div><font face="monospace, monospace">Codename:<span class="" style="white-space:pre">        </span>trusty</font></div></div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">clang --version</font></div><div><font face="monospace, monospace">Ubuntu clang version 3.6.0-2ubuntu1~trusty1 (tags/RELEASE_360/final) (based on LLVM 3.6.0)</font></div><div><font face="monospace, monospace">Target: x86_64-pc-linux-gnu</font></div><div><font face="monospace, monospace">Thread model: posix</font></div></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">cat /proc/cpuinfo</font></div><div><div><font face="monospace, monospace">processor       : 0</font></div><div><font face="monospace, monospace">vendor_id       : AuthenticAMD</font></div><div><font face="monospace, monospace">cpu family      : 21</font></div><div><font face="monospace, monospace">model           : 1</font></div><div><font face="monospace, monospace">model name      : AMD FX(tm)-8120 Eight-Core Processor</font></div><div><font face="monospace, monospace">stepping        : 2</font></div><div><font face="monospace, monospace">microcode       : 0x6000626</font></div><div><font face="monospace, monospace">cpu MHz         : 1400.000</font></div><div><font face="monospace, monospace">cache size      : 2048 KB</font></div><div><font face="monospace, monospace">physical id     : 0</font></div><div><font face="monospace, monospace">siblings        : 8</font></div><div><font face="monospace, monospace">core id         : 0</font></div><div><font face="monospace, monospace">cpu cores       : 4</font></div><div><font face="monospace, monospace">apicid          : 16</font></div><div><font face="monospace, monospace">initial apicid  : 0</font></div><div><font face="monospace, monospace">fpu             : yes</font></div><div><font face="monospace, monospace">fpu_exception   : yes</font></div><div><font face="monospace, monospace">cpuid level     : 13</font></div><div><font face="monospace, monospace">wp              : yes</font></div><div><font face="monospace, monospace">flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse3</font></div><div><font face="monospace, monospace">6 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc</font></div><div><font face="monospace, monospace"> rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_</font></div><div><font face="monospace, monospace">1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misali</font></div><div><font face="monospace, monospace">gnsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core per</font></div><div><font face="monospace, monospace">fctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid</font></div><div><font face="monospace, monospace">decodeassists pausefilter pfthreshold vmmcall</font></div><div><font face="monospace, monospace">bugs            : fxsave_leak</font></div><div><font face="monospace, monospace">bogomips        : 6228.24</font></div><div><font face="monospace, monospace">TLB size        : 1536 4K pages</font></div><div><font face="monospace, monospace">clflush size    : 64</font></div><div><font face="monospace, monospace">cache_alignment : 64</font></div><div><font face="monospace, monospace">address sizes   : 48 bits physical, 48 bits virtual</font></div><div><font face="monospace, monospace">power management: ts ttp tm 100mhzsteps hwpstate cpb</font></div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 12, 2015 at 7:24 PM, Joe Bell <span dir="ltr">&lt;<a href="mailto:joe@iachieved.it" target="_blank">joe@iachieved.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Tony, yes, I&#39;m building on an Ubuntu 14.04 system.  I can provide any uname or kernel information if you need.<br><br>Joe</div><div><div class="h5"><div><br>On Dec 12, 2015, at 7:17 PM, Tony Parker &lt;<a href="mailto:anthony.parker@apple.com" target="_blank">anthony.parker@apple.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div>Hi Joe,</div><div><br></div><div>I see you used the preset for linux, but I just wanted to double-check that you are indeed building on Linux.</div><div><br></div><div>- Tony</div><div><br><div><blockquote type="cite"><div>On Dec 12, 2015, at 3:48 PM, Joseph Bell via swift-corelibs-dev &lt;<a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a>&gt; wrote:</div><br><div><div dir="ltr">Howdy.<div><br></div><div>I&#39;m using the basic build instructions (checking out swift, llvm, clang, etc.) and can successfully build a packaged release with </div><div><br></div><div><div><font face="monospace, monospace">./swift/utils/build-script --preset=buildbot_linux_1404 install_destdir=${INSTALL_DIR} i</font></div><div><font face="monospace, monospace">nstallable_package=${PACKAGE}</font></div></div><div><br></div><div>However, the resulting build output for Foundation is missing enumeration types, and I noticed it in particular in the NSDateFormatter class:</div><div><br></div><div><font face="monospace, monospace">➜  Foundation git:(master) ✗ nm NSDateFormatter.swift.o|grep Medium</font><br></div><div><font face="monospace, monospace"><br></font></div><div><br></div><div>Of course this results in the symbols not being included in libFoundation.so<br></div><div><font face="monospace, monospace">➜  Foundation git:(master) ✗ nm -D libFoundation.so |grep Medium<br></font></div><div><font face="monospace, monospace"><br></font></div><div>Looking at my build from source I am missing about 200K of symbols that the SNAPSHOT build is including:<br></div><div><br></div><div><div><font face="monospace, monospace">  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</font></div><div><font face="monospace, monospace">000000000034ab40 T _TFO10Foundation20NSDateFormatterStyle11MediumStyleFMS0_S0_</font></div><div><font face="monospace, monospace">00000000003944e0 T _TFO10Foundation21NSFormattingUnitStyle6MediumFMS0_S0_</font></div><div><font face="monospace, monospace">000000000034b330 T _TFO10Foundation28NSDateIntervalFormatterStyle11MediumStyleFMS0_S0_</font></div><div><font face="monospace, monospace">00000000003f5820 T _TFO10Foundation36NSPersonNameComponentsFormatterStyle6MediumFMS0_S0_</font></div></div><div><font face="monospace, monospace"><br></font></div><div>Thanks for any thoughts,<br></div><div>Joe</div><div><br></div><div>PS - I am using the master branch across all repositories.</div><div><font face="monospace, monospace"><br></font></div></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=U7z7oSqRMSwdl2rYt9JJ4zIFaeg4R-2FxExg9xndDuCbw-2F3QBJSiv1F-2BO5pJk8MILsLA0DnOVFcm6q-2FOg3GC07rT-2BaT7LtVR1XvW9ewM0FiAJMBgky-2F9sw3-2FeFqiLbtv5BOuyS9P4Ikr8j-2BeFHJkN8zgZnm3qR4T-2FF0X6ehg-2BYKeKkmLlZ2Px8yu-2BK740OrH7h3ujJbVk3sNCNqEKTcEJh6hRVIW5ixn4V33bIbubV1yw-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
_______________________________________________<br>swift-corelibs-dev mailing list<br><a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" target="_blank">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a><br></div></blockquote></div><br></div></div></blockquote></div></div></div></blockquote></div><br></div>