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#71328 - [calc] 2.13.0.1-1 crashes immediately on first computation
Attached to Project:
Community Packages
Opened by Naomi (naoph) - Tuesday, 22 June 2021, 02:16 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 22 June 2021, 06:33 GMT
Opened by Naomi (naoph) - Tuesday, 22 June 2021, 02:16 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 22 June 2021, 06:33 GMT
|
DetailsTo reproduce:
$ calc '2+2' [1] 14031 illegal hardware instruction (core dumped) calc '2+2' $ calc C-style arbitrary precision calculator (version 2.13.0.1) Calc is open software. For license details type: help copyright [Type "exit" to exit, or "help" for help.] ; 2+2 [1] 14044 illegal hardware instruction (core dumped) calc -- Issue occurs on: - Arch package 2.13.0.1-1 Issue does not occur on: - Arch package 2.12.7.1-2 - git master (compiled with default options using only `make` without arguments) - git tag v2.13.0.1 (compiled the same way). My kernel is 5.12.12-arch1-1, my hardware is a Thinkpad T430 |
This task depends upon
Closed by Antonio Rojas (arojas)
Tuesday, 22 June 2021, 06:33 GMT
Reason for closing: Fixed
Additional comments about closing: calc 2.13.0.1-2
Tuesday, 22 June 2021, 06:33 GMT
Reason for closing: Fixed
Additional comments about closing: calc 2.13.0.1-2
ARCH_CFLAGS= -march=native
It does not use CFLAGS and LDFLAGS environment variables so what instructions are used depends on the build host.
PKGBUILD.diff
Setting ARCH_CFLAGS to empty, EXTRA_CFLAGS to $CPPFLAGS $CFLAGS, EXTRA_LDFLAGS to $LDFLAGS LD_SHARE to empty DEBUG to empty
Use sed to add LDFLAGS to library linker rules.