Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2016 09:56:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 207148] powerpc 11.0-CURRENT: error: 'P_KPROC' undeclared (from wrong include path so old proc.h file used)
Message-ID:  <bug-207148-8-McHU29QLyv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207148-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207148-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207148

--- Comment #1 from Mark Millard <markmi@dsl-only.net> ---
(In reply to Mark Millard from comment #0)

If I add

X_COMPILER_TYPE=gcc
.if ${.MAKE.LEVEL} == 0
CC=/usr/bin/gcc
CXX=/usr/bin/g++
CPP=/usr/bin/cpp
.export CC
.export CXX
.export CPP
.endif

to the src.conf content that I showed in the description then it turns out that
buidlworld adds --sysroot and -isystem and other things globally. The result
seems to include avoidance of /usr/include for what I was reporting. [XCC ends
up being a copy of the CC and its being a full path is part of what enables
this. X_COMPILER_TYPE=gcc enables more.]

It still may be that CFLAGS having something for include paths is supposed to
be present. I'm not sure.

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207148-8-McHU29QLyv>