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!
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!
FS#40736 - [julia] julia is built for a specific CPU
Attached to Project:
Community Packages
Opened by Sami B. (spider-mario) - Friday, 06 June 2014, 17:06 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 03 July 2014, 14:31 GMT
Opened by Sami B. (spider-mario) - Friday, 06 June 2014, 17:06 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 03 July 2014, 14:31 GMT
|
DetailsJulia appears to be built with an equivalent of -march=native by default.
(This can be seen in Make.inc in its source code: # Select the cpu architecture to target # Current available options are "native" and "core2" JULIA_CPU_TARGET = native ) As a result, the package in [community] doesn’t work on all CPUs. For example, trying to run it on my machine results in: $ julia Illegal instruction (core dumped) It works if I rebuild the package with JULIA_CPU_TARGET = core2. (For some reason, it fails with `native` with another SIGILL…) |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Thursday, 03 July 2014, 14:31 GMT
Reason for closing: Fixed
Thursday, 03 July 2014, 14:31 GMT
Reason for closing: Fixed
*-cpu
description: CPU
product: Pentium(R) Dual-Core CPU T4200 @ 2.00GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: CPU Version
slot: U2E1
size: 1600MHz
capacity: 2GHz
width: 64 bits
clock: 200MHz
capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm dtherm cpufreq
configuration: cores=2 enabledcores=2 threads=2
Thanks for reporting. This is unfortunate. I'll try rebuilding with different JULIA_CPU_TARGET settings for i686 and x86_64.
Suggestions for other/better workarounds are welcome. If there are none, this should be reported upstream (if it hasn't already). Thanks.
make: Entering directory '/build/julia/src/julia'
/build/julia/src/julia/Make.inc:269: *** Unknown cpu target architecture. Stop.
make: Leaving directory '/build/julia/src/julia'
Wouldn’t it by any chance fix #39721 as well, thus making it possible to keep sys.so?
Also, https://github.com/JuliaLang/julia/pull/7103 might be relevant.
FS#39721to look into the sys.so problem. Closing this bug, as it seems to be fixed. Please re-open if this is still an issue for anyone.