Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2005 01:03:24 -0500
From:      Jonathan Noack <noackjr@alumni.rice.edu>
To:        obrien@freebsd.org
Cc:        freebsd-current@freebsd.org, David Gurvich <david.freebsd@verizon.net>
Subject:   Re: Newest loader from CVS not working
Message-ID:  <4294152C.2000506@alumni.rice.edu>
In-Reply-To: <20050524144444.GA29113@dragon.NUXI.org>
References:  <20050518051111.GA33262@Athena.infor.org>	<20050520164349.GD6982@dragon.NUXI.org>	<428E1815.8080500@samsco.org> <200505221453.44007.peter@wemm.org>	<429105D8.6000106@samsco.org>	<20050523021527.GA62693@dragon.NUXI.org>	<42914448.5020505@samsco.org> <20050524144444.GA29113@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD5C7118981B60F7E264E5E33
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 05/24/05 09:44, David O'Brien wrote:
> On Sun, May 22, 2005 at 08:47:36PM -0600, Scott Long wrote:
>>David O'Brien wrote:
>>>On Sun, May 22, 2005 at 04:21:12PM -0600, Scott Long wrote:
>>>>>What I fixed was an amd64 build problem.  The thread starter here was 
>>>>>talking about pentium-m builds, so I assume its i386 in this case.
>>>>
>>>>Yes, the threads jumped back and forth between people experiencing
>>>>problems with non-default CFLAGS <..snip..>
>>>
>>>I've heard those problems on and off for a year now - with no one
>>>experiencing the problem spending sufficient effort to provide a decent
>>>analysis of the issue.
>>
>>Re-read the threads.  There is a lot of good analysis on how gcc was 
>>emitting SSE instructions.
> 
> I don't see how that could be the case:
> 
>     RCS file: /home/ncvs/src/sys/boot/i386/Makefile.inc,v
>     ..
>     ----------------------------
>     revision 1.10
>     date: 2005/03/15 18:43:36;  author: obrien;  state: Exp;  lines: +2 -1
>     Ensure GCC does not use FP registers in integer code.
>     I think all we really need is -fno-sse2.
>     I really don't like cluttering up the compiler invocation,
>     but this bigger hammer will fix reported problems for now.
>     ----------------------------
>     diff -u -u -0 -r1.9 -r1.10
>     --- Makefile.inc        9 Feb 2004 14:11:55 -0000       1.9
>     +++ Makefile.inc        15 Mar 2005 18:43:36 -0000      1.10
>     @@ -8 +8,2 @@
>     -CFLAGS+=       -ffreestanding -mpreferred-stack-boundary=2
>     +CFLAGS+=       -ffreestanding -mpreferred-stack-boundary=2 \
>     +               -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> 
> An _analysis_ would be someone experiencing a problem clearly showing
> SSE[2] instructions in their .s files.  Along with figuring out why the
> above flags didn't handle the issue.  Also telling the results of trying
> CPUTYPE={<empty>,i486,pentium,pentium-pro,pentium3m,pentium4,pentium4m}
> (or <empty>,i486,pentium,k6,k6-2,athlon,athlon-xp).

In case someone doesn't know how to get at the .s files, here's a brief 
description from David and my response:
http://lists.freebsd.org/pipermail/freebsd-current/2004-November/042127.html

5.4-RELEASE works perfectly for me, so my issue was fixed by the commit 
in March.  Thanks!

-- 
Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195

--------------enigD5C7118981B60F7E264E5E33
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFClBU0UFz01pkdgZURAq3yAKCxtHPBRS0dB7wCLm9rr33HhYUX5ACguO+B
4fv+Uwe3l9ud4Po3/4ARt94=
=Nxo2
-----END PGP SIGNATURE-----

--------------enigD5C7118981B60F7E264E5E33--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4294152C.2000506>