Re: -current build failure
--Ek+w9ScjNaooOpN+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Jul 25, 2012 at 09:03:58AM +0100, David Chisnall wrote:
> On 24 Jul 2012, at 23:43, Konstantin Belousov wrote:
>=20
> > As kan rightfully notes, the assumption that &%fs:0 =3D=3D *%fs:0 holds=
for
> > userspace on amd64, and the same is true for %gs userspace on i386.
> > The change you committed to clang/llvm/whatever it called just breaks
> > useful optimization for FreeBSD.
>=20
> If you can suggest a way of differentiating the kernel and userspace comp=
ilation targets, then I would be happy to hear it and will make the appropr=
iate change. Until then, I would rather have slightly sub-optimal code i=
n userspace than incorrect code in kernelspace.
Try to differentiate on the memory layout model, the -mcmodel=3Dkernel thin=
g.
It shall be passed down to the very last stage of the backend, I believe.
>=20
> > Sigh
>=20
> Very helpful, thank you.
>=20
> David
--Ek+w9ScjNaooOpN+
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)
iEYEARECAAYFAlAPxOoACgkQC3+MBN1Mb4haIwCdF6UFMpLCg65rKGJV+XX4KtSF
sgAAn1gvHvMq/pURBJUgxnWgFL5F8i+T
=knC+
-----END PGP SIGNATURE-----
--Ek+w9ScjNaooOpN+--
討論串 (同標題文章)
完整討論串 (本文為第 21 之 21 篇):