Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 May 2016 20:55:56 -0700
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        Bryan Drewery <bdrewery@freebsd.org>, 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>, Dimitry Andric <dim@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:  <CAJ-VmonhJZqkfSsE645Yj5xCjA4G0-JWP6cLWgA-Xux6BpXUXg@mail.gmail.com>
In-Reply-To: <F3A1706F-47EB-471F-B08C-38AFB51CA511@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> <db60bcec-a6c4-02ac-da6c-1ac70821b806@FreeBSD.org> <4953F764-FC4E-491F-A6B7-4CAF65EAAEB7@dsl-only.net> <70a54660-775d-c12c-b991-507d26ce1342@FreeBSD.org> <72F5F9FD-5854-455D-8844-C4E1887DCE9F@dsl-only.net> <C23B8A92-8855-48CE-B442-3C7BEFCEF820@dsl-only.net> <0FA52C68-43C4-489D-9EB2-2339C2B812F5@dsl-only.net> <068D322F-E46F-4FD8-8DA0-BD7D17FD2A06@dsl-only.net> <CAJ-Vmokj0hp__FgRQLVc3ZLO=7no1mUPZsYURJvNy%2B%2BtQz2i6w@mail.gmail.com> <F3A1706F-47EB-471F-B08C-38AFB51CA511@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28 May 2016 at 14:30, Mark Millard <markmi@dsl-only.net> wrote:
> On 2016-May-28, at 12:03 PM, Adrian Chadd <adrian.chadd at gmail.com> wrote:
>
>> [snip]
>>
>> hi,
>>
>> please don't patch the ports compiler assumptions about things like
>> this. We should be targeting external toolchains on OSes (eg macosx)
>> where it may already generate freebsd binaries and as such we should
>> be calling the compiler/linker with all the flags it needs.
>>
>> Having a patched compiler default for mips made things way, way harder
>> than it needed to be.
>>
>>
>>
>> -adrian
>
> Are there specific technical examples of specific lessons learned from the "patched compiler default for mips" context?
>
> Is there an intent to use /usr/src/. . . materials for buildworld/buildkernel and the like from a non-FreeBSD context? Are there examples?

Well, I'd like to be able to build it from non-freebsd environment.
Eg, eventually from the macosx shipped clang/llvm, or various other
external toolchains. Doubly so for whatever commercial / internal /
bring-up compilers that are used during platform bringup.

The hurt is that our Makefile stuff is still a bit messy. On the plus
side, Brian, Warner in particular have done a great job undoing all of
that and making things cleaner, so big props to them!


-adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonhJZqkfSsE645Yj5xCjA4G0-JWP6cLWgA-Xux6BpXUXg>