FS#77321 - [libcerf] disable -march=native flag

Attached to Project: Arch Linux
Opened by Jimmy Tian (jimmytian) - Sunday, 29 January 2023, 16:26 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 29 January 2023, 17:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

In release 2.3 of libcerf, they use the gcc flag -march=native as the default.

In order to avoid conflicts between processors with different ISAs,

and according to the author's suggestion*,

we should use the -DPORTABLE=ON flag to build a portable binary without host-specific optimization.

Patch is attached.

*ref: https://jugit.fz-juelich.de/mlz/libcerf/-/commit/b0aac016d0e5a6587dbb4bddf18b80ddd82b70d8

Additional info:
* package version(s): libcerf 1:2.3-1
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 29 January 2023, 17:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  libcerf 2.3-2

Loading...