Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2019 11:09:09 -0000
From:      bugzilla-noreply@freebsd.org
To:        vbox@FreeBSD.org
Subject:   [Bug 240764] emulators/virtualbox-ose-nox11: clang 9 crashes during build
Message-ID:  <bug-240764-26505@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240764

            Bug ID: 240764
           Summary: emulators/virtualbox-ose-nox11: clang 9 crashes during
                    build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-qa
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vbox@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 240629
          Assignee: vbox@FreeBSD.org
             Flags: maintainer-feedback?(vbox@FreeBSD.org)

Created attachment 207734
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207734&action=
=3Dedit
command line args (for clang 9)

$ poudriere jail -cj head-amd64 -a amd64 -v projects/clang900-import -m
svn+https
$ poudriere testport -j head-amd64 emulators/virtualbox-ose-nox11
[...]
c++ -m32 -c -O2 -fno-pie -g -pipe -Wshadow -Wall -Wextra
-Wno-missing-field-initializers -Wno-unused -Wno-trigraphs
-fdiagnostics-show-option -Wno-unused-parameter -Wno-language-extension-tok=
en
-Wno-gnu-folding-constant -Wno-gnu-anonymous-struct -Wno-string-plus-int
-Wno-nested-anon-types -Wno-variadic-macros -Wno-long-long -Wno-variadic-ma=
cros
-fno-exceptions -O2 -mtune=3Dgeneric -fno-omit-frame-pointer -mno-sse -mno-=
mmx
-mno-sse2 -mno-3dnow -fno-strict-aliasing -fno-stack-protector
-fvisibility=3Dhidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEF=
AULT
-fvisibility-inlines-hidden -fno-rtti -O0 -fno-builtin
-I/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/=
src/VBox/VMM/include
-I/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/=
src/VBox/VMM/PATM
-I/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/=
out/freebsd.amd64/release/obj/tstVMStructRC/dtrace
-I/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/=
include
-I/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/=
out/freebsd.amd64/release
-DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM
-DVBOX_WITH_RAW_MODE -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_X86 -D__X86__
-DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING
-DRTPATH_APP_PRIVATE=3D\"/usr/local/share/virtualbox-ose\"
-DRTPATH_APP_PRIVATE_ARCH=3D\"/usr/local/lib/virtualbox\"
-DRTPATH_SHARED_LIBS=3D\"/usr/local/lib/virtualbox\"
-DRTPATH_APP_DOCS=3D\"/usr/local/share/doc/virtualbox-ose\" -DIN_RC
-DHC_ARCH_BITS=3D64 -DGC_ARCH_BITS=3D64 -DIN_VMM_RC -DIN_DIS -DIN_RT_RC
-DVBOX_WITH_RAW_MODE -DIPRT_DONT_USE_SYSTEM_STDINT_H
-Wp,-MD,/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5=
.2.32/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o.dep
-Wp,-MT,/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5=
.2.32/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o
-Wp,-MP -o
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/ou=
t/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/VMM/testcase/tstVMStructRC.cpp
Assertion failed: (Chunk.Kind =3D=3D DeclaratorChunk::Function), function
VisitFunctionTypeLoc, file
/usr/src/contrib/llvm/tools/clang/lib/Sema/SemaType.cpp, line 5654.
Stack dump:
0.      Program arguments: /usr/bin/c++ -cc1 -triple i386-unknown-freebsd13=
.0
-emit-obj -mrelax-all -disable-free -main-file-name tstVMStructRC.cpp
-mrelocation-model static -mthread-model posix -mdisable-fp-elim
-relaxed-aliasing -masm-verbose -mconstructor-aliases -fuse-init-array
-target-cpu i586 -target-feature -sse -target-feature -mmx -target-feature
-sse2 -target-feature -3dnow -dwarf-column-info -debug-info-kind=3Dstandalo=
ne
-dwarf-version=3D4 -debugger-tuning=3Dgdb -coverage-notes-file
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/ou=
t/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.gcno
-resource-dir /usr/lib/clang/9.0.0 -dependency-file
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/ou=
t/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o.dep
-MT
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/ou=
t/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o
-sys-header-deps -D VBOX_HAVE_VISIBILITY_HIDDEN -D RT_USE_VISIBILITY_DEFAUL=
T -I
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/VMM/include
-I
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/VMM/PATM
-I
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/ou=
t/freebsd.amd64/release/obj/tstVMStructRC/dtrace
-I
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/in=
clude
-I
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/ou=
t/freebsd.amd64/release
-D VBOX -D VBOX_OSE -D VBOX_WITH_64_BITS_GUESTS -D VBOX_WITH_REM -D
VBOX_WITH_RAW_MODE -D RT_OS_FREEBSD -D __FREEBSD__ -D RT_ARCH_X86 -D __X86_=
_ -D
VBOX_WITH_DEBUGGER -D VBOX_WITH_HARDENING -D
RTPATH_APP_PRIVATE=3D"/usr/local/share/virtualbox-ose" -D
RTPATH_APP_PRIVATE_ARCH=3D"/usr/local/lib/virtualbox" -D
RTPATH_SHARED_LIBS=3D"/usr/local/lib/virtualbox" -D
RTPATH_APP_DOCS=3D"/usr/local/share/doc/virtualbox-ose" -D IN_RC -D
HC_ARCH_BITS=3D64 -D GC_ARCH_BITS=3D64 -D IN_VMM_RC -D IN_DIS -D IN_RT_RC -D
VBOX_WITH_RAW_MODE -D IPRT_DONT_USE_SYSTEM_STDINT_H -MT
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/ou=
t/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o
-MP -internal-isystem /usr/include/c++/v1 -O0 -Wshadow -Wall -Wextra
-Wno-missing-field-initializers -Wno-unused -Wno-trigraphs
-Wno-unused-parameter -Wno-language-extension-token -Wno-gnu-folding-consta=
nt
-Wno-gnu-anonymous-struct -Wno-string-plus-int -Wno-nested-anon-types
-Wno-variadic-macros -Wno-long-long -Wno-variadic-macros -fdeprecated-macro
-fdebug-compilation-dir
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32
-ferror-limit 19 -fmessage-length 114 -fvisibility hidden
-fvisibility-inlines-hidden -fno-builtin -fno-rtti -fobjc-runtime=3Dgnustep
-fdiagnostics-show-option -fcolor-diagnostics -faddrsig -o
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/ou=
t/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o
-x c++
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/VMM/testcase/tstVMStructRC.cpp
1.=20=20=20=20=20
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/VMM/include/PATMInternal.h:625:164:
current parser token ';'
kBuild: Compiling tstGlobalConfig -
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/VMM/testcase/tstGlobalConfig.cpp
kBuild: Compiling tstVMM -
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/VMM/testcase/tstVMM.cpp
kBuild: Compiling tstVMM-HM -
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/VMM/testcase/tstVMM-HM.cpp
kBuild: Compiling tstVMMFork -
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/VMM/testcase/tstVMMFork.cpp
kBuild: Compiling tstSSM-2 -
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/VMM/testcase/tstSSM-2.cpp
kBuild: Compiling tstDeviceStructSizeRC -
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp
kBuild: Compiling SUPInstall -
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/HostDrivers/Support/testcase/SUPInstall.cpp
kBuild: Compiling SUPUninstall -
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/HostDrivers/Support/testcase/SUPUninstall.cpp
kBuild: Compiling SUPLoggerCtl -
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/sr=
c/VBox/HostDrivers/Support/testcase/SUPLoggerCtl.cpp
#0 0x000000000393d1de PrintStackTrace
/usr/src/contrib/llvm/lib/Support/Unix/Signals.inc:533:13
#1 0x000000000393b3d5 RunSignalHandlers
/usr/src/contrib/llvm/lib/Support/Signals.cpp:69:18
#2 0x000000000393db62 SignalHandler
/usr/src/contrib/llvm/lib/Support/Unix/Signals.inc:0:3
#3 0x0000000004a17d40 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3
c++: error: unable to execute command: Abort trap
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM
9.0.0)
Target: i386-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240629
[Bug 240629] [exp-run] Against projects/clang900-import branch
--=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-240764-26505>