Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933548

Summary: app-text/ghostscript-gpl-10.03.0-r1: fails to compile on clang+arm64 with error: unsupported option '-mfpu='
Product: Gentoo Linux Reporter: kit <ludicrous_train>
Component: Current packagesAssignee: Codec Project <codec>
Status: UNCONFIRMED ---    
Severity: normal CC: ludicrous_train, printing
Priority: Normal    
Version: unspecified   
Hardware: ARM64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
emerge --info

Description kit 2024-06-04 19:37:31 UTC
Created attachment 895084 [details]
build.log.xz

Trying to build app-text/ghostscript-gpl on a clang arm64 system fails with

clang++: error: unsupported option '-mfpu=' for target 'aarch64-unknown-linux-gnu'
Comment 1 kit 2024-06-04 19:39:31 UTC
Created attachment 895085 [details]
emerge --info
Comment 2 kit 2024-06-04 19:46:23 UTC
There's an upstream clang issue about this error https://github.com/llvm/llvm-project/issues/74361