tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Softfloat on i386



David Brownlee <abs%absd.org@localhost> writes:

> Agreed - I'm working on a three step plan :)
> 1) confirm what setting (GO386=softfloat) fixes the issue (Done though
> reworking test based on Benny's comment)
> 2) determine best way to add an explicit option to switch between i386
> softfloat and SSE2
> 3) flip the default to softfloat

Sure, but it really seems to me that it's about "make the go compiler
produce binaries that work on the platfom", and that the mechanism to do
that should cause binaries built by the go compiler when used *outside
of pkgsrc* to also be correct.

This aligns with "base cc on i386 port produces code that works on i486
and up".

Therefore I don't see "have pkgsrc, when using the go compiler, tell it
dynamically to produce binaries that run on i486+" as the right answer.
That would be like having the base system tuned for -mi586 and telling
everyone that they need to add -mi486, while out of the other side of
our mouth claiming that the NetBSD i386 port still supports i486+.

I am therefore strongly in favor of having the option control the build
of the compiler, so that when the compiler is built, it will then by
default produce portaable binaries.


Home | Main Index | Thread Index | Old Index