Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2016 16:44:51 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Bryan Drewery <bdrewery@freebsd.org>
Cc:        Mark Millard <markmi@dsl-only.net>, FreeBSD Current <freebsd-current@freebsd.org>, Gerald Pfeifer <gerald@FreeBSD.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: svn commit: r297435 - head: still problems for stage 3 when gcc 4.2.1 is avoided (powerpc64 self-hosted build)
Message-ID:  <DD2A166A-28D3-4F97-A084-6109B0BA21CC@bsdimp.com>
In-Reply-To: <56FDA5F9.1090601@FreeBSD.org>
References:  <5A0ACA76-6F1D-4975-9E59-2A64BB8EFC77@dsl-only.net> <56FD9757.6040709@FreeBSD.org> <9E3033D5-F416-4B78-97C2-0A0AABF5A49E@dsl-only.net> <56FDA5F9.1090601@FreeBSD.org>

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

--Apple-Mail=_29365E74-707B-47CB-9B7C-C91B946C1F86
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Mar 31, 2016, at 4:34 PM, Bryan Drewery <bdrewery@freebsd.org> =
wrote:
> I didn't realize the ports compiler was defaulting /usr/local/include
> into the search path now.  It does not have /usr/local/lib in the
> default library path as far as I can tell.  It's also broken for its
> -rpath (noted in its pkg-message).  So having a default
> /usr/local/include path seems odd.

It has for a while now. It=E2=80=99s one of the maddening =
inconsistencies that abound in this
area. I took a poll a while ago and there seemed to be widespread =
support for adding
it to the base compiler.

> Adding -isystem /usr/include to fix this is probably possible but
> there's a risk someone will remove it as redundant.  In this case I =
wish
> /usr/include was first but I'm not sure what impact that would have on
> consumers expecting /usr/local/include (and /usr/local/lib) overrides =
to
> work, though they would need to pass a -L /usr/local/lib anyhow and
> would likely be passing -I /usr/local/lib too.

/usr/include should be first. But it isn=E2=80=99t. That=E2=80=99s =
another inconsistency that was found
when we looked at /usr/local stuff. Someone recently added =
/usr/local/bin to the path,
if I recall correctly.

Warner


--Apple-Mail=_29365E74-707B-47CB-9B7C-C91B946C1F86
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJW/ahkAAoJEGwc0Sh9sBEA7o0P/imn/bPGIed9K9AcFYRgb37H
SaG3d38dv0BfOKbLF18ZdgsxT+SCNjlbEodnaF0WQl9Z5yROomXTzB/iu41XbsCg
EpgtY9ziJQkYVX4esJEgvcYdCtNbIS1LAt2vxQOaxCf+5eV5ZpRppp7h0LUFZdK4
ypHo9pIUjCeNlUp39Fvyg4lHVZiMe+T8utSYvn2AiLorJ9THDwCwyrVIXBcm+vyu
1Q6vaNsqH8X9bZMfCZ5jX8xd4lUAdsOSbJVh7mXYf6FKyuQlfJDkP3V/2I+7klNY
o9U9fejq1fT4sL7d5tJMjF4+qkSU1Lwpck17NXoEFH9XfmNhz1gIJBiJ8UwXvy7M
dt2G/DyDZpvEuc5eWQVuov0RF1m1zLV5S1qhqoOsgecjqfhoX4mDYv+w2jr6R6/3
Q8cFezAYmbA3hmrxcDEWzTin5JKsLEROjx88o1y3wxF0x3ZMaR6ZCJI38bpn2KEy
eIWC3iBXdyXTmMGIETQzBwjToZEH/Bjhvlw0hn8ZwBpWH4l6+Sv/JKZ+1cfZa1F5
mjpLlDI+M2E9bhlIa6ovMmNdP0sQsm49i7zKyT6UZXs2hNsKJ1JxhX6DXQu3Nxa9
Rxi7PufO8SouKK5AIjtfbqI6B8mW/bvLkjcBNwYefLbb7pM/82RU/nPgjgciDeh4
yqAXuf4R5st8THHR9y+H
=lG36
-----END PGP SIGNATURE-----

--Apple-Mail=_29365E74-707B-47CB-9B7C-C91B946C1F86--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DD2A166A-28D3-4F97-A084-6109B0BA21CC>