svn commit: r334226 - head/lib/libpmcstat/pmu-events

Bryan Drewery bdrewery at FreeBSD.org
Wed Jun 6 14:22:18 UTC 2018


Will look today or tomorrow. Pretty sure just a small thing is missing from Makefile.libcompat.

Regards,
Bryan Drewery

> On Jun 5, 2018, at 00:32, Kyle Evans <kevans at freebsd.org> wrote:
> 
>> On Mon, Jun 4, 2018 at 10:11 PM, Kyle Evans <kevans at freebsd.org> wrote:
>>> On Fri, May 25, 2018 at 4:46 PM, Bryan Drewery <bdrewery at freebsd.org> wrote:
>>> Author: bdrewery
>>> Date: Fri May 25 21:46:07 2018
>>> New Revision: 334226
>>> URL: https://svnweb.freebsd.org/changeset/base/334226
>>> 
>>> Log:
>>>  Cleanup style
>>> 
>>> Modified:
>>>  head/lib/libpmcstat/pmu-events/Makefile
>>> 
>>> Modified: head/lib/libpmcstat/pmu-events/Makefile
>>> ==============================================================================
>>> --- head/lib/libpmcstat/pmu-events/Makefile     Fri May 25 20:42:28 2018        (r334225)
>>> +++ head/lib/libpmcstat/pmu-events/Makefile     Fri May 25 21:46:07 2018        (r334226)
>>> @@ -1,9 +1,10 @@
>>> # $FreeBSD$
>>> 
>>> -PROG=jevents
>>> -SRCS=jevents.c jsmn.c json.c
>>> +PROG=  jevents
>>> +SRCS=  jevents.c jsmn.c json.c
>>> CFLAGS+= -Wno-cast-qual
>>> -.PATH: ${.CURDIR}
>>> -build-tools: jevents
>>> MAN=
>>> +
>>> +build-tools: jevents
>>> +
>>> .include <bsd.prog.mk>
>>> 
>> 
>> Hi Bryan,
>> 
>> Something about this appears to be subtly wrong, but I can't quite pin
>> down what. I'm getting a failure in the lib32 build of libpmc:
>> 
>> sh: ./pmu-events/jevents: not found
>> 
>> My observations are that ${OBJDIR}/lib/libpmc/pmu-events/jevents
>> exists, as does ${SRCTOP}/lib/libpmc/pmu-events/jevents.
>> ${OBJDIR}/obj-lib32/lib/libpmc, OTOH, only contains _INCSINS.meta and
>> libpmc_events.c.meta. I'm guessing this is the problem- that
>> obj-lib32/... doesn't have the built jevents, but it's not obvious to
>> me why this is the case.
> 
> Some additional context:
> 
> SRCCONF is defined to a file that looks like this:
> 
> WITH_BSD_GREP="YES"
> WITHOUT_BSD_GREP_FASTMATCH="YES"
> WITH_LOADER_LUA="YES"
> WITHOUT_FORTH="YES"
> 
> _SRC_ENV_CONF and __MAKE_CONF are set to /dev/null; all three set in
> arguments to make(1). OBJDIR has been completely wiped before-hand.



More information about the svn-src-head mailing list