Bug 254778 - usr.sbin/pmc make buildworld error
Summary: usr.sbin/pmc make buildworld error
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 13.0-STABLE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-05 08:08 UTC by Jack
Modified: 2021-04-05 08:21 UTC (History)
2 users (show)

See Also:


Attachments
cmd_pmc_filter-0e650e.sh (3.21 KB, text/plain)
2021-04-05 08:09 UTC, Jack
no flags Details
/tmp/cmd_pmc_filter-0e650e.cpp (483.57 KB, application/x-bzip)
2021-04-05 08:10 UTC, Jack
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2021-04-05 08:08:21 UTC
When doing a make buildworld, it stops in /usr/src/usr.sbin/pmc with the following error

root@media:/usr/src/usr.sbin/pmc # make
c++  -O2 -pipe -fno-common -march=athlon64-sse3 -I/usr/src/lib/libpmcstat -DNDEBUG -MD -MF.depend.cmd_pmc_filter.o -MTcmd_pmc_filter.o -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-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 -Qunused-arguments  -O0 -std=c++14    -Wno-c++11-extensions   -c /usr/src/usr.sbin/pmc/cmd_pmc_filter.cc -o cmd_pmc_filter.o
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: c++ -O2 -pipe -fno-common -march=athlon64-sse3 -I/usr/src/lib/libpmcstat -DNDEBUG -MD -MF.depend.cmd_pmc_filter.o -MTcmd_pmc_filter.o -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-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 -Qunused-arguments -O0 -std=c++14 -Wno-c++11-extensions -c /usr/src/usr.sbin/pmc/cmd_pmc_filter.cc -o cmd_pmc_filter.o
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module '/usr/src/usr.sbin/pmc/cmd_pmc_filter.cc'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function '@_ZL18pmc_filter_handlerPjiS_iPcS0_S0_bbii'
#0 0x0000000003436c1e (/usr/bin/c+++0x3436c1e)
#1 0x0000000003434f65 (/usr/bin/c+++0x3434f65)
#2 0x00000000033db4e1 (/usr/bin/c+++0x33db4e1)
#3 0x00000008045e7bee (/lib/libthr.so.3+0x19bee)
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
Target: x86_64-unknown-freebsd13.0
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/cmd_pmc_filter-0e650e.cpp
c++: note: diagnostic msg: /tmp/cmd_pmc_filter-0e650e.sh
c++: note: diagnostic msg:

********************
*** Error code 254

Stop.
make: stopped in /usr/src/usr.sbin/pmc
Comment 1 Jack 2021-04-05 08:09:09 UTC
Created attachment 223816 [details]
cmd_pmc_filter-0e650e.sh
Comment 2 Jack 2021-04-05 08:10:12 UTC
Created attachment 223817 [details]
/tmp/cmd_pmc_filter-0e650e.cpp