https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299004
Bug ID: 299004
Summary: The fix-cortex-a53-843419 argument is added in the
base llvm which later breaks at least one port on
arm64
Product: Base System
Version: 16.0-CURRENT
Hardware: arm64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
The port audio/invada-studio-plugins-lv2 is broken on aarch64:
https://pkg-status.freebsd.org/ampere5/data/150arm64-default/399e3fa08347/logs/invada-studio-plugins-lv2-1.2.0_1.log
error:
> /usr/local/bin/ld: unrecognized option '-Wl,--no-fix-cortex-a53-843419'
This argument is added in the base llvm:
$ grep -r a53-843419 /usr/src/*
/usr/src/contrib/llvm-project/lld/ELF/AArch64ErrataFix.cpp: Log(ctx) <<
"detected cortex-a53-843419 erratum sequence starting at " <<
/usr/src/contrib/llvm-project/lld/ELF/Arch/AArch64.cpp: // when patching
instructions for the cpu errata fix -fix-cortex-a53-843419
/usr/src/contrib/llvm-project/lld/ELF/Driver.cpp: ErrAlways(ctx) <<
"--fix-cortex-a53-843419 is only supported on AArch64";
/usr/src/contrib/llvm-project/lld/ELF/Options.td:def fix_cortex_a53_843419:
F<"fix-cortex-a53-843419">,
/usr/src/contrib/llvm-project/clang/lib/Driver/ToolChains/Gnu.cpp:
CmdArgs.push_back("--fix-cortex-a53-843419");
/usr/src/contrib/llvm-project/clang/lib/Driver/ToolChains/Fuchsia.cpp:
CmdArgs.push_back("--fix-cortex-a53-843419");
/usr/src/contrib/llvm-project/clang/include/clang/Driver/Options.td:def
mfix_cortex_a53_843419 : Flag<["-"], "mfix-cortex-a53-843419">,
/usr/src/contrib/llvm-project/clang/include/clang/Driver/Options.td:def
mno_fix_cortex_a53_843419 : Flag<["-"], "mno-fix-cortex-a53-843419">,
--
You are receiving this mail because:
You are the assignee for the bug.