Closed Bug 1767947 Opened 3 years ago Closed 3 years ago

Perma bustage [tier2] /builds/worker/fetches/clang/lib/clang/14.0.1/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

Categories

(Firefox Build System :: General, defect, P5)

ARM64
macOS
defect

Tracking

(firefox-esr91 unaffected, firefox100 unaffected, firefox101 unaffected, firefox102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox100 --- unaffected
firefox101 --- unaffected
firefox102 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: cpeterson)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=376919354&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/H6-bhE5mRCiNr5uH3reUKg/runs/0/artifacts/public/logs/live_backing.log


[task 2022-05-05T10:02:00.528Z] 10:02:00     INFO -  security/nss/lib/mozpkix/pkixtime.o
[task 2022-05-05T10:02:00.529Z] 10:02:00     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/security/nss/lib/mozpkix/mozpkix_mozpkix'
[task 2022-05-05T10:02:00.575Z] 10:02:00     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/security/nss/lib/mozpkix/mozpkix_mozpkix'
[task 2022-05-05T10:02:00.578Z] 10:02:00     INFO -  /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/clang++ --sysroot /builds/worker/fetches/MacOSX11.0.sdk -mmacosx-version-min=11.0 -stdlib=libc++ -std=gnu++17 --target=aarch64-apple-darwin -o pkixresult.o -c  -fstack-protector-strong -ftrivial-auto-var-init=pattern -DDEBUG -DNSS_FIPS_DISABLED -DNSS_NO_INIT_SUPPORT -DNSS_USE_64 -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DHAVE_BSD_FLOCK -DHAVE_STRERROR -DXP_UNIX -D_REENTRANT -DDARWIN -DNSS_DISABLE_DBM -DNSS_DISABLE_LIBPKIX -I/builds/worker/checkouts/gecko/security/nss/lib/mozpkix -I/builds/worker/workspace/obj-build/security/nss/lib/mozpkix/mozpkix_mozpkix -I/builds/worker/workspace/obj-build/dist/include/nspr -I/builds/worker/workspace/obj-build/dist/include/private/nss -I/builds/worker/workspace/obj-build/dist/include/nss -I/builds/worker/workspace/obj-build/dist/include -DMOZILLA_CLIENT -include /builds/worker/workspace/obj-build/mozilla-config.h -Qunused-arguments -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wcomma -Wenum-compare-conditional -Wimplicit-fallthrough -Wduplicate-method-arg -Wduplicate-method-match -Wmissing-method-return-type -Wobjc-signed-char-bool -Wsemicolon-before-method-body -Wsuper-class-method-mismatch -Werror=non-literal-null-conversion -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=free-nonheap-object -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wthread-safety -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -fcrash-diagnostics-dir=/builds/worker/artifacts -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -gdwarf-4 -Xclang -load -Xclang /builds/worker/workspace/obj-build/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -fno-omit-frame-pointer -funwind-tables -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/pkixresult.o.pp   /builds/worker/checkouts/gecko/security/nss/lib/mozpkix/lib/pkixresult.cpp
[task 2022-05-05T10:02:00.579Z] 10:02:00     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/security/nss/lib/mozpkix/mozpkix_mozpkix'
[task 2022-05-05T10:02:00.581Z] 10:02:00     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/security/nss/lib/mozpkix/mozpkix_mozpkix'
[task 2022-05-05T10:02:00.581Z] 10:02:00     INFO -  security/nss/lib/mozpkix/pkixverify.o
[task 2022-05-05T10:02:00.581Z] 10:02:00     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/security/nss/lib/mozpkix/mozpkix_mozpkix'
[task 2022-05-05T10:02:00.716Z] 10:02:00     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/security/sandbox/common'
[task 2022-05-05T10:02:00.719Z] 10:02:00     INFO -  /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/clang++ --sysroot /builds/worker/fetches/MacOSX11.0.sdk -mmacosx-version-min=11.0 -stdlib=libc++ -std=gnu++17 --target=aarch64-apple-darwin -o Unified_cpp_sandbox_common0.o -c  -fvisibility=hidden -fvisibility-inlines-hidden -fstack-protector-strong -ftrivial-auto-var-init=pattern -DDEBUG=1 -DOS_POSIX=1 -DOS_MACOSX=1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/builds/worker/checkouts/gecko/security/sandbox/common -I/builds/worker/workspace/obj-build/security/sandbox/common -I/builds/worker/checkouts/gecko/netwerk/base -I/builds/worker/workspace/obj-build/ipc/ipdl/_ipdlheaders -I/builds/worker/checkouts/gecko/ipc/chromium/src -I/builds/worker/workspace/obj-build/dist/include -I/builds/worker/workspace/obj-build/dist/include/nspr -I/builds/worker/workspace/obj-build/dist/include/nss -DMOZILLA_CLIENT -include /builds/worker/workspace/obj-build/mozilla-config.h -Qunused-arguments -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wcomma -Wenum-compare-conditional -Wimplicit-fallthrough -Wduplicate-method-arg -Wduplicate-method-match -Wmissing-method-return-type -Wobjc-signed-char-bool -Wsemicolon-before-method-body -Wsuper-class-method-mismatch -Werror=non-literal-null-conversion -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=free-nonheap-object -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wthread-safety -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -fcrash-diagnostics-dir=/builds/worker/artifacts -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -gdwarf-4 -Xclang -load -Xclang /builds/worker/workspace/obj-build/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -fno-omit-frame-pointer -funwind-tables -Werror -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/Unified_cpp_sandbox_common0.o.pp   Unified_cpp_sandbox_common0.cpp
[task 2022-05-05T10:02:00.720Z] 10:02:00     INFO -  In file included from Unified_cpp_sandbox_common0.cpp:20:
[task 2022-05-05T10:02:00.720Z] 10:02:00     INFO -  In file included from /builds/worker/checkouts/gecko/security/sandbox/common/test/SandboxTestingChild.cpp:8:
[task 2022-05-05T10:02:00.721Z] 10:02:00     INFO -  In file included from /builds/worker/checkouts/gecko/security/sandbox/common/test/SandboxTestingChildTests.h:43:
[task 2022-05-05T10:02:00.723Z] 10:02:00    ERROR -  /builds/worker/fetches/clang/lib/clang/14.0.1/include/emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
[task 2022-05-05T10:02:00.723Z] 10:02:00     INFO -  #error "This header is only meant to be used on x86 and x64 architecture"
[task 2022-05-05T10:02:00.724Z] 10:02:00     INFO -   ^
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  In file included from Unified_cpp_sandbox_common0.cpp:20:
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  In file included from /builds/worker/checkouts/gecko/security/sandbox/common/test/SandboxTestingChild.cpp:8:
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  In file included from /builds/worker/checkouts/gecko/security/sandbox/common/test/SandboxTestingChildTests.h:43:
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  In file included from /builds/worker/fetches/clang/lib/clang/14.0.1/include/emmintrin.h:17:
[task 2022-05-05T10:02:00.725Z] 10:02:00    ERROR -  /builds/worker/fetches/clang/lib/clang/14.0.1/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  #error "This header is only meant to be used on x86 and x64 architecture"
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -   ^
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  In file included from Unified_cpp_sandbox_common0.cpp:20:
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  In file included from /builds/worker/checkouts/gecko/security/sandbox/common/test/SandboxTestingChild.cpp:8:
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  In file included from /builds/worker/checkouts/gecko/security/sandbox/common/test/SandboxTestingChildTests.h:43:
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  In file included from /builds/worker/fetches/clang/lib/clang/14.0.1/include/emmintrin.h:17:
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  In file included from /builds/worker/fetches/clang/lib/clang/14.0.1/include/xmmintrin.h:17:
[task 2022-05-05T10:02:00.725Z] 10:02:00    ERROR -  /builds/worker/fetches/clang/lib/clang/14.0.1/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  #error "This header is only meant to be used on x86 and x64 architecture"
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -   ^
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  3 errors generated.
[task 2022-05-05T10:02:00.725Z] 10:02:00    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:660: Unified_cpp_sandbox_common0.o] Error 1
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/security/sandbox/common'
[task 2022-05-05T10:02:00.725Z] 10:02:00    ERROR -  gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: security/sandbox/common/target-objects] Error 2
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  gmake[3]: *** Waiting for unfinished jobs....
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/security/manager/ssl'
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  security/manager/ssl/Unified_cpp_security_manager_ssl1.o
[task 2022-05-05T10:02:00.725Z] 10:02:00     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/security/manager/ssl'
[task 2022-05-05T10:02:00.761Z] 10:02:00     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/security/nss/lib/mozpkix/mozpkix_mozpkix'
[task 2022-05-05T10:02:00.764Z] 10:02:00     INFO -  /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/clang++ --sysroot /builds/worker/fetches/MacOSX11.0.sdk -mmacosx-version-min=11.0 -stdlib=libc++ -std=gnu++17 --target=aarch64-apple-darwin -o pkixtime.o -c  -fstack-protector-strong -ftrivial-auto-var-init=pattern -DDEBUG -DNSS_FIPS_DISABLED -DNSS_NO_INIT_SUPPORT -DNSS_USE_64 -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DHAVE_BSD_FLOCK -DHAVE_STRERROR -DXP_UNIX -D_REENTRANT -DDARWIN -DNSS_DISABLE_DBM -DNSS_DISABLE_LIBPKIX -I/builds/worker/checkouts/gecko/security/nss/lib/mozpkix -I/builds/worker/workspace/obj-build/security/nss/lib/mozpkix/mozpkix_mozpkix -I/builds/worker/workspace/obj-build/dist/include/nspr -I/builds/worker/workspace/obj-build/dist/include/private/nss -I/builds/worker/workspace/obj-build/dist/include/nss -I/builds/worker/workspace/obj-build/dist/include -DMOZILLA_CLIENT -include /builds/worker/workspace/obj-build/mozilla-config.h -Qunused-arguments -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wcomma -Wenum-compare-conditional -Wimplicit-fallthrough -Wduplicate-method-arg -Wduplicate-method-match -Wmissing-method-return-type -Wobjc-signed-char-bool -Wsemicolon-before-method-body -Wsuper-class-method-mismatch -Werror=non-literal-null-conversion -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=free-nonheap-object -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wthread-safety -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -fcrash-diagnostics-dir=/builds/worker/artifacts -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -gdwarf-4 -Xclang -load -Xclang /builds/worker/workspace/obj-build/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -fno-omit-frame-pointer -funwind-tables -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/pkixtime.o.pp   /builds/worker/checkouts/gecko/security/nss/lib/mozpkix/lib/pkixtime.cpp
[task 2022-05-05T10:02:00.764Z] 10:02:00     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/security/nss/lib/mozpkix/mozpkix_mozpkix'
[task 2022-05-05T10:02:00.776Z] 10:02:00     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/netwerk/ipc'
[task 2022-05-05T10:02:00.776Z] 10:02:00     INFO -  netwerk/ipc/Unified_cpp_netwerk_ipc2.o

Chris, could you take a look please?

Flags: needinfo?(cpeterson)

Set release status flags based on info from the regressing bug 1767881

Has Regression Range: --- → yes

I'm hitting this build error as well.

I failed to test my patch on aarch64 build. Testing a patch now.

Assignee: nobody → cpeterson
Flags: needinfo?(cpeterson)
OS: Unspecified → macOS
Hardware: Unspecified → ARM64

Hit this on today's nightly, on my mac build.

To fix this build error:

ERROR - /builds/worker/fetches/clang/lib/clang/14.0.1/include/xmmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"

Wrap #include "emmintrin.h" with (the relevant subset of) the same #ifdefs nsRect.h uses here:

https://searchfox.org/mozilla-central/rev/bf243bc817f97b0bb74af710bd9d874370468e8b/gfx/src/nsRect.h#19-26

Pushed by cpeterson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/750f394e4a03 Fix macOS build error on aarch64. r=mac-reviewers,tnikkel
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: