Subject: kern/6242: Sun4c kernels built with egcs can't talk to the network.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <christos@zoulas.com>
List: netbsd-bugs
Date: 10/04/1998 14:23:31
>Number:         6242
>Category:       kern
>Synopsis:       Sun4c kernels built with egcs can't talk to the network.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct  4 11:35:00 1998
>Last-Modified:
>Originator:     Christos Zoulas
>Organization:
	Astron Software
>Release:        Oct 4, 1998
>Environment:
NetBSD galaxy.astron.com 1.3H NetBSD 1.3H (GALAXY) #2: Sun Oct  4 14:08:17 EDT 1998     christos@galaxy.astron.com:/net/hrothgar/src-1/NetBSD/cvsroot/src/sys/arch/sparc/compile/GALAXY sparc


>Description:
	le0 does not seem to work properly when compiled with egcs and -O2.
	tcpdump shows network packets, but we can't see any of our packets
	going out.
>How-To-Repeat:
	build a kernel.
>Fix:
	compile without -O2 or fix egcs. This is really a pain because:

-rwxr-xr-x  1 root  wheel  2710881 Oct  4 14:10 /netbsd*
-rwxr-xr-x  1 root  wheel  1709626 Sep 28 05:58 /netbsd.old*
>Audit-Trail:
>Unformatted: