Date: Fri, 27 May 2016 16:48:52 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Mark Millard <markmi@dsl-only.net> Cc: FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, Gerald Pfeifer <gerald@FreeBSD.org>, Warner Losh <imp@bsdimp.com> Subject: Re: svn commit: r297435 - head: still problems for stage 3 when gcc 4.2.1 is avoided (powerpc64 self-hosted build) Message-ID: <db60bcec-a6c4-02ac-da6c-1ac70821b806@FreeBSD.org> In-Reply-To: <DD969902-BCA8-480B-B32F-07DCC6C3E32B@dsl-only.net> 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> <481DA341-0DFC-4AF1-AD4D-56C5388FA8E3@dsl-only.net> <56FDBAA8.5060407@FreeBSD.org> <7DEF97EC-D970-4F64-AF72-8939609A1D48@dsl-only.net> <DD969902-BCA8-480B-B32F-07DCC6C3E32B@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --a099HRpH0Rd4p8BCJmLo4SFJILRLnWuQP Content-Type: multipart/mixed; boundary="M9NelqhHQwKjGgnen3eiJxH3GEVFVQoDr" From: Bryan Drewery <bdrewery@FreeBSD.org> To: Mark Millard <markmi@dsl-only.net> Cc: FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, Gerald Pfeifer <gerald@FreeBSD.org>, Warner Losh <imp@bsdimp.com> Message-ID: <db60bcec-a6c4-02ac-da6c-1ac70821b806@FreeBSD.org> Subject: Re: svn commit: r297435 - head: still problems for stage 3 when gcc 4.2.1 is avoided (powerpc64 self-hosted build) 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> <481DA341-0DFC-4AF1-AD4D-56C5388FA8E3@dsl-only.net> <56FDBAA8.5060407@FreeBSD.org> <7DEF97EC-D970-4F64-AF72-8939609A1D48@dsl-only.net> <DD969902-BCA8-480B-B32F-07DCC6C3E32B@dsl-only.net> In-Reply-To: <DD969902-BCA8-480B-B32F-07DCC6C3E32B@dsl-only.net> --M9NelqhHQwKjGgnen3eiJxH3GEVFVQoDr Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 3/31/2016 8:33 PM, Mark Millard wrote: > I appears that C++ needs its own override for where to find C++ header = before looking in the gcc49 specific places. Yes, the hacks for that are builtin already. Passing C_INCLUDE_PATH and others may break it. > These sorts of odd, hard to avoid dependencies are part of why I asked = if there was a standard/recommend assignment to use for CC/XCC: I was hop= ing there was a known-good way to compile that avoided the issues, possib= ly by using powerpc64-gcc tools for CC/XCC as well. You shouldn't need to pass any extra -I/-isystem or env vars for paths. The problem in this thread was just the ports compiler using /usr/local/include when not using a --sysroot. This is only in the early phase of the build. Mind trying this patch? https://people.freebsd.org/~bdrewery/patches/gcc-no-local-include.patch I assume you are using that port, if not you can apply the same change to whichever your ports gcc came from. It removes the /usr/local/include path. It is somewhat the wrong fix vs "fixing the order", but the /usr/local/lib path is not in there now and you must use -rpath with the ports gcc anyhow. So the ports gcc is already broken for /usr/local, it should be fully broken or fully fixed, not half broken to the point of breaking other things. I'm still just curious if it fixes the problems with "stage 3" finding the wrong dwarf header, and if removing your own include path hacks progresses the build further. --=20 Regards, Bryan Drewery --M9NelqhHQwKjGgnen3eiJxH3GEVFVQoDr-- --a099HRpH0Rd4p8BCJmLo4SFJILRLnWuQP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJXSNzkAAoJEDXXcbtuRpfP4GUIAIz6WXc3FKViwoFD7NQmVzSd Wa3b2JZycnbGPohZx+JtSwYYENoYb9GhkJxM2x0LIzBzdl9FCxlWVP9yTQzYVV8x HJ+oGeH70vLh2G6wd1J+z+AT82k4WYslme4xNMYVdqPK+O9F5qGgzPRdQYqLvp+d uu1TessA4a6bGSarL8bcTeNUMRUXnz52dKV0cP4RrFq30pj96RWVrikjCQUeRDGc Yd13loJXH8N4lZoOsQ7q2MX5B8r75rAtwE5oQLFjr3JTTP2TPBNPjI+HyStBEX87 hmWGkR+doXs3OwQXZa0zN7iQSZZucO40D1lgZrWhghgU4U2HX7N16ufS+v8y5nk= =9qo8 -----END PGP SIGNATURE----- --a099HRpH0Rd4p8BCJmLo4SFJILRLnWuQP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?db60bcec-a6c4-02ac-da6c-1ac70821b806>