FS#40115 - [vc] 0.7.3-3 binary is optimized for simd instructions available on the build machine
Attached to Project:
Arch Linux
Opened by Garry Roseman (sitquietly) - Sunday, 27 April 2014, 15:00 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 15 November 2015, 13:31 GMT
Opened by Garry Roseman (sitquietly) - Sunday, 27 April 2014, 15:00 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 15 November 2015, 13:31 GMT
|
Details
Description: the pkgbuild for vc does not explicitly
configure the target architecture, which defaults to the architecture of the build machine. i.e. // CPU architecture to optimize for. Using an incorrect setting here can result in crashes of the resulting binary because of invalid instructions used. Setting the value to "auto" will try to optimize for the architecture where cmake is called. Other supported values are: "none", "generic", "core", "merom" (65nm Core2), "penryn" (45nm Core2), "nehalem", "westmere", "sandy-bridge", "ivy-bridge", "atom", "k8", "k8-sse3", "barcelona", "istanbul", "magny-cours", "bulldozer", "interlagos", "piledriver". TARGET_ARCHITECTURE:STRING=auto I believe that there needs to be an explicit option to cmake to set "none" or "generic": -DTARGET_ARCHITECTURE=generic Additional info: * package version(s) vc-0.7.3-3 * could cause crashes in calligra (the main user of vc) Steps to reproduce: This "bug" report is based on my reading of the sources. I have not confirmed it by testing. I may be wrong :) |
This task depends upon
Closed by Antonio Rojas (arojas)
Sunday, 15 November 2015, 13:31 GMT
Reason for closing: Fixed
Additional comments about closing: vc 0.7.5-2
Sunday, 15 November 2015, 13:31 GMT
Reason for closing: Fixed
Additional comments about closing: vc 0.7.5-2
Comment by Antonio Rojas (arojas) -
Friday, 13 November 2015, 22:22 GMT
@TomHu please test calligra 2.9.9-3