Summary: | dev-libs/nss-3.46 - /usr/lib/gcc/aarch64-unknown-linux-gnu/8.3.0/include/arm_neon.h:26094:1: error: inlining failed in call to always_inline ‘vmull_p64’: target specific option mismatch | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aaron Bauman (RETIRED) <bman> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=695420 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Aaron Bauman (RETIRED)
![]() Created attachment 589064 [details]
build.log
build log
Aaron tested and found that with CFLAGS="-O2 -pipe" the build succeeds and with CFLAGS="-march=native -O2 -pipe" the build fails. This is because there is some code that uses crypto instructions (and is presumably selected at runtime) and so the build system specifies "-march=armv8-a+crypto": > -march=native -O2 -pipe -I/usr/include/nspr -std=gnu99 -march=armv8-a+crypto But -march=native overrides even subsequent -march=... values. I have submitted a gcc patch to fix this behavior (https://gcc.gnu.org/ml/gcc-patches/2019-09/msg01411.html) Patch is now upstream. |