Re: GCC-3.1 Optimization -Os broken

2002-05-13 Thread David O'Brien

On Mon, May 13, 2002 at 07:47:42PM -0500, Loren James Rittle wrote:
> I can narrow it down *much* further to exact small test cases.  FYI,
> there are 8 C failures in the gcc 3.1 testsuite for FreeBSD/i386:
> 
>   4 involve -Os (Quite sorry I never got around to fixing them
>   before the release; I don't usually do per-CPU fixes but I

That's OK. :-)
Your work with the C++ libs and Java libs on FreeBSD has been
tremendous.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: GCC-3.1 Optimization -Os broken

2002-05-13 Thread Loren James Rittle

In article <[EMAIL PROTECTED]> you write:

> found the bug: -Os compilation seems broken with gcc-3.1. I normally 
> [...] I know any other optimization than -O isn't supported but this bug 
> (either in libalias or in gcc) should be investigated.

I can narrow it down *much* further to exact small test cases.  FYI,
there are 8 C failures in the gcc 3.1 testsuite for FreeBSD/i386:

4 involve -Os (Quite sorry I never got around to fixing them
before the release; I don't usually do per-CPU fixes but I
could have requested help from the people that do.)

4 involve -Wformat checking not working in all cases (vfscanf
only and then again only when not using the proper system
headers; the test cases attempt to declare the prototypes).

There are 2 C++ failures (only one of which is seen without linking
against -lc_r); neither are extremely important.

See http://gcc.gnu.org/ml/gcc-testresults/2002-05/msg00412.html
http://gcc.gnu.org/ml/gcc-testresults/2002-05/msg00458.html

FreeBSD/alpha is looking almost as good (more libgcj failures)

http://gcc.gnu.org/ml/gcc-testresults/2002-05/msg00455.html
http://gcc.gnu.org/ml/gcc-testresults/2002-05/msg00425.html

Regards,
Loren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: GCC-3.1 Optimization -Os broken

2002-05-13 Thread David Malone

On Mon, May 13, 2002 at 09:57:08PM +0200, Daniel Rock wrote:
> - recompile libalias with -Os => NAT broken
> - recompile libalias with -O => NAT works again.
> 
> I know any other optimization than -O isn't supported but this bug 
> (either in libalias or in gcc) should be investigated.

If you could use bisetcion to track down this bug, then the gcc
developers would probably be interested. Can you try recompiling
just libalias with -Os and see if the problem returns?

David.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



GCC-3.1 Optimization -Os broken

2002-05-13 Thread Daniel Rock

Hi,

after a "make world" I noticed that my dialout was broken (NAT for UDP 
packets seems to work but not for TCP). After a few tests I finally 
found the bug: -Os compilation seems broken with gcc-3.1. I normally 
compile complete world with -Os (instead of -O) (via CFLAGS=-Os in 
/etc/make.conf).
I narrowed the ppp dialout down to libalias:
- recompile libalias with -Os => NAT broken
- recompile libalias with -O => NAT works again.

I know any other optimization than -O isn't supported but this bug 
(either in libalias or in gcc) should be investigated.


Daniel


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message