Date: Mon, 30 Nov 2020 11:27:00 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 251480] lang/spidermonkey78: Build fails on 12.2 with system clang 10. Message-ID: <bug-251480-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251480 Bug ID: 251480 Summary: lang/spidermonkey78: Build fails on 12.2 with system clang 10. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: swills@FreeBSD.org Reporter: janm@transactionware.com Flags: maintainer-feedback?(swills@FreeBSD.org) Assignee: swills@FreeBSD.org When overriding CC to be "clang" and CXX to be "clang++" so that lang/spidermonkey78 is build with the system Clang 10, the build fails with= the same error as in this bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250161 The issue seems to be the --target option. Rerunning the command without the --target option, or fixing the target value to have a "12.2" suffix works. Building with llvm80, as in the original bug, removing or fixing the --targ= et option also made this build step work. Error output below. --- stdout TARGET =3D Some("x86_64-unknown-freebsd") OPT_LEVEL =3D Some("2") HOST =3D Some("x86_64-unknown-freebsd") CXX_x86_64-unknown-freebsd =3D None CXX_x86_64_unknown_freebsd =3D Some(" /usr/bin/clang++ -std=3Dgnu++17") CXXFLAGS_x86_64-unknown-freebsd =3D None CXXFLAGS_x86_64_unknown_freebsd =3D Some("-I/ports-work/usr/ports/lang/spidermonkey78/work/.build/dist/system_w= rappers -include /ports-work/usr/ports/lang/spidermonkey78/work/firefox-78.2.0/config/gcc_hi= dden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -fstack-protector-strong -DNDEBUG= =3D1 -DTRIMMED=3D1 -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE -I/ports-work/usr/ports/lang/spidermonkey78/work/firefox-78.2.0/js/src/rust -I/ports-work/usr/ports/lang/spidermonkey78/work/.build/js/src/rust -I/ports-work/usr/ports/lang/spidermonkey78/work/.build/dist/include -I/usr/local/include/nspr -I/usr/local/include -fPIC -DMOZILLA_CLIENT -incl= ude /ports-work/usr/ports/lang/spidermonkey78/work/.build/js/src/js-confdefs.h -Qunused-arguments -I/usr/local/include -isystem /usr/local/include -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-comp= are -Wno-error=3Dtautological-type-limit-compare -Wno-inline-new-delete -Wno-error=3Ddeprecated-declarations -Wno-error=3Darray-bounds -Wno-error=3Dbackend-plugin -Wno-error=3Dreturn-std-move -Wno-error=3Datomic-alignment -Wno-error=3Ddeprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-noexcept-type -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -O2 -p= ipe -I/usr/local/include/boost-default -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fno-rt= ti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pipe -O -fomit-frame-pointer -funwind-tables -fexperimental-new-pass-manager -DMOZILLA_CONFIG_H") CRATE_CC_NO_DEFAULTS =3D None DEBUG =3D Some("false") running: "/usr/bin/clang++" "-std=3Dgnu++17" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=3Dx86_64-unknown-freebsd" "-I/ports-work/usr/ports/lang/spidermonkey78/work/.build/dist/system_wrappe= rs" "-include" "/ports-work/usr/ports/lang/spidermonkey78/work/firefox-78.2.0/config/gcc_h= idden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=3D2" "-fstack-protector-strong" "-DNDEBUG=3D1" "-DTRIMMED=3D1" "-DEXPORT_JS_API" "-DMOZ_HAS_MOZGLUE" "-I/ports-work/usr/ports/lang/spidermonkey78/work/firefox-78.2.0/js/src/rus= t" "-I/ports-work/usr/ports/lang/spidermonkey78/work/.build/js/src/rust" "-I/ports-work/usr/ports/lang/spidermonkey78/work/.build/dist/include" "-I/usr/local/include/nspr" "-I/usr/local/include" "-fPIC" "-DMOZILLA_CLIEN= T" "-include" "/ports-work/usr/ports/lang/spidermonkey78/work/.build/js/src/js-confdefs.h" "-Qunused-arguments" "-I/usr/local/include" "-isystem" "/usr/local/include" "-Qunused-arguments" "-Wall" "-Wbitfield-enum-conversion" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wshadow-field-in-constructor-modified" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wunreachable-code-return" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wempty-init-stmt" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" "-Wloop-analysis" "-Wc++2a-compat" "-Wcomma" "-Wimplicit-fallthrough" "-Wunused-function" "-Wunused-variable" "-Wstring-conversion" "-Wtautolo@@@=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 275,0-1 = 91% cargo:warning=3D#include_next <type_traits> cargo:warning=3D ^~~~~~~~~~~~~ cargo:warning=3D1 error generated. exit code: 1 --- stderr error occurred: Command "/usr/bin/clang++" "-std=3Dgnu++17" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=3Dx86_64-unknown-freebsd" "-I/ports-work/usr/ports/lang/spidermonkey78/work/.build/dist/system_wrappe= rs" "-include" "/ports-work/usr/ports/lang/spidermonkey78/work/firefox-78.2.0/config/gcc_h= idden.h" "-U_FORTIFY_SOURCE" "-D_FORTIFY_SOURCE=3D2" "-fstack-protector-strong" "-DNDEBUG=3D1" "-DTRIMMED=3D1" "-DEXPORT_JS_API" "-DMOZ_HAS_MOZGLUE" "-I/ports-work/usr/ports/lang/spidermonkey78/work/firefox-78.2.0/js/src/rus= t" "-I/ports-work/usr/ports/lang/spidermonkey78/work/.build/js/src/rust" "-I/ports-work/usr/ports/lang/spidermonkey78/work/.build/dist/include" "-I/usr/local/include/nspr" "-I/usr/local/include" "-fPIC" "-DMOZILLA_CLIEN= T" "-include" "/ports-work/usr/ports/lang/spidermonkey78/work/.build/js/src/js-confdefs.h" "-Qunused-arguments" "-I/usr/local/include" "-isystem" "/usr/local/include" "-Qunused-arguments" "-Wall" "-Wbitfield-enum-conversion" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wshadow-field-in-constructor-modified" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wunreachable-code-return" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wempty-init-stmt" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" "-Wloop-analysis" "-Wc++2a-compat" "-Wcomma" "-Wimplicit-fallthrough" "-Wunused-function" "-Wunused-variable" "-Wstring-conversion" "-Wtautological-overlap-compare" "-Wtautological-unsigned-enum-zero-compare" "-Wtautological-unsigned-zero-compare" "-Wno-error=3Dtautological-type-limit-compare" "-Wno-inline-new-delete" "-Wno-error=3Ddeprecated-declarations" "-Wno-error=3Darray-bounds" "-Wno-error=3Dbackend-plugin" "-Wno-error=3Dreturn-std-move" "-Wno-error=3Datomic-alignment" "-Wno-error=3Ddeprecated-copy" "-Wformat" "-Wformat-security" "-Wno-gnu-zero-variadic-macro-arguments" "-Wno-noexcept-type" "-Wno-unknown-warning-option" "-fno-sized-deallocation" "-fno-aligned-new" "-O2" "-pipe" "-I/usr/local/include/boost-default" "-fstack-protector-strong" "-isystem" "/usr/local/include" "-fno-strict-aliasing" "-isystem" "/usr/local/include" "-fno-rtti" "-ffunction-sections" "-fdata-sections" "-fno-exceptions" "-fno-math-errno" "-pipe" "-O" "-fomit-frame-pointer" "-funwind-tables" "-fexperimental-new-pass-manager" "-DMOZILLA_CONFIG_H" "-I" "/ports-work/usr/ports/lang/spidermonkey78/work/.build/js/src" "-I" "/ports-work/usr/ports/lang/spidermonkey78/work/.build/dist/include" "-DMOZ_HAS_MOZGLUE" "-o" "/ports-work/usr/ports/lang/spidermonkey78/work/.build/x86_64-unknown-freeb= sd/release/build/mozglue-static-38598c650063714d/out/wrappers.o" "-c" "wrappers.cpp" with args "clang++" did not execute successfully (status code exit code: 1). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251480-7788>