[Bug 268265] 13.1-STABLE make buildworld fail

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 09 Dec 2022 00:36:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268265

            Bug ID: 268265
           Summary: 13.1-STABLE make buildworld fail
           Product: Base System
           Version: 13.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: tomek@cedro.info

# uname -a
FreeBSD octagon 13.1-STABLE FreeBSD 13.1-STABLE #0
stable/13-n253245-209ebfa26ec4: Wed Dec  7 06:05:33 CET 2022    
root@octagon:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

# git branch
  main
* stable/13


# git log --oneline -5
308d3d6be6da (HEAD -> stable/13, origin/stable/13) acpi: Tell SMM we will
handle CPPC notifications
d84b694a589d bhyve: add varfile option to nvlist of lpc device
d6c280fb36fe bhyve: Support a _VARS.fd file for bootrom
6820a0512fa6 linuxkpi/dmi: don't match exactly on DMI_MATCH
a76fa7bb6cb7 killall(1): allow sending signals to processes with control
terminal on pts(4)

git pull; git reset --hard; make clean; make buildworld -j4

(..)
--- lib__L ---
--- sanitizer_common/sanitizer_symbolizer_libcdep.pico ---
c++  -target x86_64-unknown-freebsd13.1
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -fpic -DPIC  -O2 -pipe -fno-common
-march=bdver2 -DNDEBUG -DHAVE_RPC_XDR_H=0 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0
-DUBSAN_CAN_USE_CXXABI -fpic -fno-builtin -fno-exceptions
-fno-sanitize=safe-stack -fno-stack-protector -funwind-tables
-I/usr/src/contrib/llvm-project/compiler-rt/include
-I/usr/src/contrib/llvm-project/compiler-rt/lib -DASAN_DYNAMIC=1 -g -MD
-MF.depend.sanitizer_common_sanitizer_symbolizer_libcdep.pico
-MTsanitizer_common/sanitizer_symbolizer_libcdep.pico -Wno-format-zero-length
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch
-Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses
-Qunused-arguments  -fno-rtti -fvisibility-inlines-hidden -fvisibility=hidden
-g -std=c++14    -Wno-c++11-extensions   -c
/usr/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp
-o sanitizer_common/sanitizer_symbolizer_libcdep.pico
--- all_subdir_lib/libclang_rt/stats ---
 #0 0x0000000004933d21 PrintStackTrace
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:565:13
 #1 0x0000000004932127 RunSignalHandlers
/usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:98:18
 #2 0x00000000048e0b83 HandleCrash
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:79:5
 #3 0x00000000048e0b83 CrashRecoverySignalHandler
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:392:51
 #4 0x000000082864969e handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3
 #5 0x0000000828648cec thr_sighandler
/usr/src/lib/libthr/thread/thr_sig.c:247:1
 #6 0x00007ffffffff8a3 ([vdso]+0x2d3)
 #7 0x000000082bdb293d memcpy /usr/src/lib/libc/amd64/string/memmove.S:306:0
 #8 0x000000000495389c printOneChild
/usr/src/contrib/llvm-project/llvm/lib/Support/Twine.cpp:0:0
 #9 0x00000000049535ce print
/usr/src/contrib/llvm-project/llvm/lib/Support/Twine.cpp:159:21
#10 0x00000000046b7bab createTempSymbol
/usr/src/contrib/llvm-project/llvm/lib/MC/MCContext.cpp:287:3
#11 0x000000000499a373 SetupMachineFunction
/usr/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2039:20
#12 0x00000000052f124c runOnMachineFunction
/usr/src/contrib/llvm-project/llvm/lib/Target/X86/X86AsmPrinter.cpp:71:7
#13 0x000000000422c54d runOnFunction
/usr/src/contrib/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:72:13
#14 0x00000000045dd1df runOnFunction
/usr/src/contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:11
#15 0x00000000045e3223 runOnModule
/usr/src/contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:0
#16 0x00000000045dd889 runOnModule
/usr/src/contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1556:11
#17 0x00000000045dd889 run
/usr/src/contrib/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:539:44
#18 0x000000000294f1b4 ~TimeTraceScope
/usr/src/contrib/llvm-project/llvm/include/llvm/Support/TimeProfiler.h:88:9
#19 0x000000000294f1b4 RunCodegenPipeline
/usr/src/contrib/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1536:3
#20 0x000000000294f1b4 EmitAssembly
/usr/src/contrib/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1565:3
#21 0x000000000294f1b4 EmitBackendOutput
/usr/src/contrib/llvm-project/clang/lib/CodeGen/BackendUtil.cpp:1728:15
#22 0x0000000002c0f7b4 reset
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/unique_ptr.h:312:28
#23 0x0000000002c0f7b4 ~unique_ptr
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/unique_ptr.h:269:19
#24 0x0000000002c0f7b4 HandleTranslationUnit
/usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:370:7
#25 0x000000000309bff4 begin
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/vector:1408:30
#26 0x000000000309bff4
finalize<std::__1::vector<std::__1::unique_ptr<clang::TemplateInstantiationCallback,
std::__1::default_delete<clang::TemplateInstantiationCallback> >,
std::__1::allocator<std::__1::unique_ptr<clang::TemplateInstantiationCallback,
std::__1::default_delete<clang::TemplateInstantiationCallback> > > > >
/usr/src/contrib/llvm-project/clang/include/clang/Sema/TemplateInstCallback.h:54:16
#27 0x000000000309bff4 ParseAST
/usr/src/contrib/llvm-project/clang/lib/Parse/ParseAST.cpp:178:3
#28 0x0000000002b5fca6 Execute
/usr/src/contrib/llvm-project/clang/lib/Frontend/FrontendAction.cpp:971:10
#29 0x0000000002af28f6 getPtr
/usr/src/contrib/llvm-project/llvm/include/llvm/Support/Error.h:271:42
#30 0x0000000002af28f6 operator bool
/usr/src/contrib/llvm-project/llvm/include/llvm/Support/Error.h:234:16
#31 0x0000000002af28f6 ExecuteAction
/usr/src/contrib/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1036:23
#32 0x0000000002c09479 operator->
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/shared_ptr.h:816:16
#33 0x0000000002c09479 getFrontendOpts
/usr/src/contrib/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:283:12
#34 0x0000000002c09479 ExecuteCompilerInvocation
/usr/src/contrib/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:264:14
#35 0x00000000021fb0bd cc1_main
/usr/src/contrib/llvm-project/clang/tools/driver/cc1_main.cpp:248:15
#36 0x0000000002207e1c ExecuteCC1Tool
/usr/src/contrib/llvm-project/clang/tools/driver/driver.cpp:317:12
#37 0x00000000029c01d7 operator()
/usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:407:30
#38 0x00000000029c01d7 callback_fn<(lambda at
/usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:407:22)>
/usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:12
#39 0x00000000048e091a operator()
/usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12
#40 0x00000000048e091a RunSafely
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:428:3
#41 0x00000000029bfe5e Execute
/usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:407:7
#42 0x0000000002990c96 operator bool
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__functional/function.h:549:55
#43 0x0000000002990c96 operator bool
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/c++/v1/__functional/function.h:1036:32
#44 0x0000000002990c96 ExecuteCommand
/usr/src/contrib/llvm-project/clang/lib/Driver/Compilation.cpp:197:7
#45 0x00000000029910bc ExecuteJobs
/usr/src/contrib/llvm-project/clang/lib/Driver/Compilation.cpp:249:13
#46 0x00000000029a4b7c empty
/usr/src/contrib/llvm-project/llvm/include/llvm/ADT/SmallVector.h:73:47
#47 0x00000000029a4b7c ExecuteCompilation
/usr/src/contrib/llvm-project/clang/lib/Driver/Driver.cpp:1617:23
c++: error: clang frontend command failed with exit code 138 (use -v to see
invocation)
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git
llvmorg-14.0.5-0-gc12386ae247c)
Target: x86_64-unknown-freebsd13.1
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/sanitizer_deadlock_detector1-660244.cpp
c++: note: diagnostic msg: /tmp/sanitizer_deadlock_detector1-660244.sh
c++: note: diagnostic msg:

********************
*** [sanitizer_common/sanitizer_deadlock_detector1.o] Error code 138

make[6]: stopped in /usr/src/lib/libclang_rt/stats

make[2]: stopped in /usr/src

make[1]: stopped in /usr/src

make: stopped in /usr/src

-- 
You are receiving this mail because:
You are the assignee for the bug.