On Thu, Mar 06, 2003 at 09:22:06PM +0800, Khairil Yusof wrote: > On Thu, 2003-03-06 at 06:00, Nuno Teixeira wrote: > > > For the first time I compile current-p3 -> current-p4 with > > -march=pentium2 -O2 -mmmx -pipe and aparently everything works ok > > except ppp -nat. NAT just don't work on my network. All machines are > > able to ping except ftp, http, etc. > > I can confirm this. nat fails to work with -O2 for usr.sbin/ppp. It > compiles cleanly though, but I don't know enough about gcc optimizations > to find out how O2 might break it. >
387 (FPU) code generation seems to be broken in gcc 3.2.1 when -O2 is used. I can compile applications with no problems when -mfpmath=sse is added so that the 387 unit won't be used, but without it, applications crash. Note that since SSE support is enabled by the kernel, it probably wouldn't be a good idea to compile the kernel with -mfpmath=sse. Bruce Cran To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message