Bug 240764 - emulators/virtualbox-ose-nox11: clang 9 crashes during build
Summary: emulators/virtualbox-ose-nox11: clang 9 crashes during build
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: vbox
URL:
Keywords: needs-qa
Depends on:
Blocks: 240629
  Show dependency treegraph
 
Reported: 2019-09-23 11:09 UTC by Jan Beich
Modified: 2019-09-23 19:10 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments
command line args (for clang 9) (7.78 KB, text/plain)
2019-09-23 11:09 UTC, Jan Beich
no flags Details
src/VBox/VMM/testcase/tstVMStructRC.cpp (compressed, preprocessed) (617.79 KB, application/x-xz)
2019-09-23 11:10 UTC, Jan Beich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2019-09-23 11:09:07 UTC
Created attachment 207734 [details]
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-token -Wno-gnu-folding-constant -Wno-gnu-anonymous-struct -Wno-string-plus-int -Wno-nested-anon-types -Wno-variadic-macros -Wno-long-long -Wno-variadic-macros -fno-exceptions -O2 -mtune=generic -fno-omit-frame-pointer -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing -fno-stack-protector -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -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=\"/usr/local/share/virtualbox-ose\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" -DIN_RC -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -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/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/src/VBox/VMM/testcase/tstVMStructRC.cpp
Assertion failed: (Chunk.Kind == 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=standalone -dwarf-version=4 -debugger-tuning=gdb -coverage-notes-file /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/out/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/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o.dep -MT /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o -sys-header-deps -D VBOX_HAVE_VISIBILITY_HIDDEN -D RT_USE_VISIBILITY_DEFAULT -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 -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="/usr/local/share/virtualbox-ose" -D RTPATH_APP_PRIVATE_ARCH="/usr/local/lib/virtualbox" -D RTPATH_SHARED_LIBS="/usr/local/lib/virtualbox" -D RTPATH_APP_DOCS="/usr/local/share/doc/virtualbox-ose" -D IN_RC -D HC_ARCH_BITS=64 -D GC_ARCH_BITS=64 -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/out/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-constant -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=gnustep -fdiagnostics-show-option -fcolor-diagnostics -faddrsig -o /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o -x c++ /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/src/VBox/VMM/testcase/tstVMStructRC.cpp
1.      /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/src/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/src/VBox/VMM/testcase/tstGlobalConfig.cpp
kBuild: Compiling tstVMM - /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/src/VBox/VMM/testcase/tstVMM.cpp
kBuild: Compiling tstVMM-HM - /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/src/VBox/VMM/testcase/tstVMM-HM.cpp
kBuild: Compiling tstVMMFork - /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/src/VBox/VMM/testcase/tstVMMFork.cpp
kBuild: Compiling tstSSM-2 - /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/src/VBox/VMM/testcase/tstSSM-2.cpp
kBuild: Compiling tstDeviceStructSizeRC - /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp
kBuild: Compiling SUPInstall - /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/src/VBox/HostDrivers/Support/testcase/SUPInstall.cpp
kBuild: Compiling SUPUninstall - /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/src/VBox/HostDrivers/Support/testcase/SUPUninstall.cpp
kBuild: Compiling SUPLoggerCtl - /wrkdirs/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.32/src/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
Comment 1 Jan Beich freebsd_committer 2019-09-23 11:10:14 UTC
Created attachment 207735 [details]
src/VBox/VMM/testcase/tstVMStructRC.cpp (compressed, preprocessed)