Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jun 2018 21:48:13 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Cy Schubert <Cy.Schubert@cschubert.com>, svn-src-head@freebsd.org
Cc:        mmacy@FreeBSD.org
Subject:   Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc   usr.sbin/pmcstat
Message-ID:  <EB90425F-D537-4D89-B2A5-33B87050EA1A@yahoo.com>

next in thread | raw e-mail | index | archive | help
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.
>=20
> --- cmd_pmc_filter.o ---
> /usr/local/bin/ccache cc -target x86_64-unknown-freebsd12.0=20
> --sysroot=3D/export/obj/opt/src/svn-current/amd64.amd64/tmp=20
> -B/export/obj/opt/src/svn-current/amd64.amd64/tmp/usr/bin  -O2 -pipe=20=

> -pipe   -g -MD  -MF.depend.cmd_pmc_filter.o -MTcmd_pmc_filter.o=20
> -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall=20=

> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes=20
> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual=20
> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align=20
> -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls=20
> -Wold-style-definition -Wno-pointer-sign =
-Wmissing-variable-declarations
>  -Wthread-safety -Wno-empty-body -Wno-string-plus-int=20
> -Wno-unused-const-variable  -Qunused-arguments  -c=20
> /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=3D/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.)

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB90425F-D537-4D89-B2A5-33B87050EA1A>