svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat

Mark Millard marklmi at yahoo.com
Wed Jun 6 04:48:27 UTC 2018


Cy Schubert Cy.Schubert at cschubert.com wrote on
Wed Jun 6 04:10:39 UTC 2018 :

> Oops, I should have pasted this into my previous email.
> 
> --- cmd_pmc_filter.o ---
> /usr/local/bin/ccache cc -target x86_64-unknown-freebsd12.0 
> --sysroot=/export/obj/opt/src/svn-current/amd64.amd64/tmp 
> -B/export/obj/opt/src/svn-current/amd64.amd64/tmp/usr/bin  -O2 -pipe 
> -pipe   -g -MD  -MF.depend.cmd_pmc_filter.o -MTcmd_pmc_filter.o 
> -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall 
> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual 
> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
> -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
> -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations
>  -Wthread-safety -Wno-empty-body -Wno-string-plus-int 
> -Wno-unused-const-variable  -Qunused-arguments  -c 
> /opt/src/svn-current/usr.sbin/pmc/cmd_pmc_filter.c -o cmd_pmc_filter.o
> cc: error: no such file or directory: '/opt/src/svn-current/usr.sbin/pmc
> /cmd_pmc_filter.c'
> cc: error: no input files


But when I look at:

https://ci.freebsd.org/job/FreeBSD-head-amd64-build/8885/consoleText

I see a c++ compile of a .cc file instead of a cc of a .c file:

--- cmd_pmc_filter.o ---
c++  -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -g -MD -MF.depend.cmd_pmc_filter.o -MTcmd_pmc_filter.o -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wredundant-decls -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments   -Wno-c++11-extensions  -c /usr/src/usr.sbin/pmc/cmd_pmc_filter.cc -o cmd_pmc_filter.o


(The build did fail overall, but apparently for other reasons.)

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the svn-src-head mailing list