<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - illegal instruction running swift on amd ubuntu 20.4"
href="https://bugs.llvm.org/show_bug.cgi?id=50297">50297</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>illegal instruction running swift on amd ubuntu 20.4
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>5.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dave.diamond@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>I created a fresh rackspace server to play with swift on Ubuntu 20.04
first run of swift --version crashed (not getting a core dump for some reason)
- let me know if there's additional information needed or anything I can do to
help.
dld@dude:~$ swift --version
PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace.
Stack dump:
0. Program arguments: swift --version
1. Swift version 5.4 (swift-5.4-RELEASE)
swift[0x55f5064]
swift[0x55f2c5e]
swift[0x55f5245]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7f55da1183c0]
swift[0x1a92609]
swift[0x1a8c61f]
swift[0x49d743]
swift[0x49cb51]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f55d9ba10b3]
swift[0x49c66e]
Illegal instruction
dld@dude:~$ ls -l swift-5.4-RELEASE-ubuntu20.04.tar.gz
-rw-rw-r-- 1 dld dld 508197220 Apr 26 05:30
swift-5.4-RELEASE-ubuntu20.04.tar.gz
dld@dude:~$ uname -a
Linux dude 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64
x86_64 x86_64 GNU/Linux
dld@dude:~$ clang --version
clang version 10.0.0 (<a href="mailto:git@github.com">git@github.com</a>:apple/llvm-project.git
439a44695a0534a26557cc34b4fe650dccb46aed)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/dld/swift-5.4-RELEASE-ubuntu20.04/usr/bin
dld@dude:~$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 8
model name : AMD Opteron(tm) Processor 4170 HE
stepping : 1
microcode : 0x10000d9
cpu MHz : 2100.094
cache size : 512 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp
lm 3dnowext 3dnow rep_good nopl cpuid extd_apicid pni cx16 x2apic popcnt
hypervisor lahf_lm cr8_legacy abm sse4a misalignsse 3dnowprefetch ibs vmmcall
bugs : tlb_mmatch fxsave_leak sysret_ss_attrs null_seg amd_e400
spectre_v1 spectre_v2
bogomips : 4200.01
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management:</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>