Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2017 09:55:48 +0200
From:      =?UTF-8?Q?Eddy_Petri=C8=99or?= <eddy.petrisor@gmail.com>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        Dimitry Andric <dim@freebsd.org>, freebsd-arm@freebsd.org,  FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: lib/clan/llvm.build.mk: Shouldn't BUILD_TRIPLE definition rely host 'cc -dumpmachine'?
Message-ID:  <CAK0XTWegCL58jDtMs2YMqcxZWGv16tOX-wbWdc=iLFLeuFctpQ@mail.gmail.com>
In-Reply-To: <CAK0XTWdRjek6StRktBfn0oGMo1ixTohs6NPoyDx__QMQ56ki_g@mail.gmail.com>
References:  <CAK0XTWczya8vg_sQZPqz-ZyYZRMq1v6p%2Bjs90S%2BjaDHxo2=1gA@mail.gmail.com> <CDAA0CB5-F1FC-40FE-AEC5-56FD64654671@FreeBSD.org> <7CAFD8CC-BDA1-4E89-BD7E-D0089E27036F@dsl-only.net> <CAK0XTWdRjek6StRktBfn0oGMo1ixTohs6NPoyDx__QMQ56ki_g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2017-10-29 9:51 GMT+02:00 Eddy Petri=C8=99or <eddy.petrisor@gmail.com>:

> Various linux distributions
>
> patch uname and its -p code (for
> example). Even for the same kernel
> being in use, giving different
> textual results. -m seemed more
> stable in my limited testing.
> Everyplace that uses uname probably
> needs to be reviewed for a possible
> re-work. BUILD_ARCH and its use is
> an example.
>
>
(format correction, this should have appeared as if said by Mark, but by
myself)

Yes, I have some places where I made MACHINE* related changes, and a
wrapper script to enforce some things to be correct for the
Linux-host--FreeBSD-target scenario.
See this wrapper, for example:
https://github.com/eddyp/freebsd/blob/linux-fixes/Linux.sh

Eddy Petri=C8=99or



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK0XTWegCL58jDtMs2YMqcxZWGv16tOX-wbWdc=iLFLeuFctpQ>