Arch Linux

Please read this before reporting a bug:

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#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



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.


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