Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57461 - [cjdns] cjdroute Illegal instruction (core dumped) with 20.1

Attached to Project: Community Packages
Opened by whoami (atommixz) - Saturday, 10 February 2018, 14:02 GMT
Last edited by Levente Polyak (anthraxx) - Sunday, 18 February 2018, 19:17 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I just update my arch, reboot and found my cjdns not working

Additional info:
* package version(s)
* config and/or log files etc.
cjdns 20.1-1

Linux host 4.15.2-2-zen #1 ZEN SMP PREEMPT Thu Feb 8 18:54:59 UTC 2018 x86_64 GNU/Linux

~ $ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 21
Model: 2
Model name: AMD FX(tm)-4300 Quad-Core Processor
Stepping: 0
CPU MHz: 2712.739
CPU max MHz: 3800.0000
CPU min MHz: 1400.0000
BogoMIPS: 7600.03
Virtualization: AMD-V
L1d cache: 16K
L1i cache: 64K
L2 cache: 2048K
L3 cache: 4096K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb cpb hw_pstate vmmcall bmi1 arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold

~ $ dmesg
...
[Сб фев 10 16:51:34 2018] traps: cjdroute[5319] trap invalid opcode ip:5590d1d54560 sp:7ffed1d67550 error:0 in cjdroute[5590d1ce9000+af000]
[Сб фев 10 16:56:06 2018] traps: cjdroute[6190] trap invalid opcode ip:556ed5b4f560 sp:7ffe72d6bfb0 error:0 in cjdroute[556ed5ae4000+af000]
[Сб фев 10 16:56:09 2018] traps: cjdroute[6208] trap invalid opcode ip:558b7be5b560 sp:7ffdd7598720 error:0 in cjdroute[558b7bdf0000+af000]


Steps to reproduce:
~ $ cjdroute
Illegal instruction (core dumped)
This task depends upon

Closed by  Levente Polyak (anthraxx)
Sunday, 18 February 2018, 19:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  20.1-3
seems to respect CFLAGS just extend it
Comment by Klaus Alexander Seistrup (kseistrup) - Sunday, 11 February 2018, 16:09 GMT
I see the same problem on a similar architecture:

```
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 22
Model: 48
Model name: AMD A6-7310 APU with AMD Radeon R4 Graphics
Stepping: 1
CPU MHz: 2107.126
CPU max MHz: 2000,0000
CPU min MHz: 1000,0000
BogoMIPS: 3992.60
Virtualization: AMD-V
L1d cache: 32K
L1i cache: 32K
L2 cache: 2048K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt topoext perfctr_nb bpext ptsc perfctr_llc cpb hw_pstate vmmcall bmi1 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale flushbyasid decodeassists pausefilter pfthreshold overflow_recov
```
Comment by Jelle van der Waa (jelly) - Sunday, 11 February 2018, 19:30 GMT
Upstream builds by default with -march=native, by setting CROSS it does not override -march=native. I'll keep this bug open since it also set's it's own CFLAGS which should be fixed upstream.

Loading...