Date: Tue, 28 Jul 1998 12:59:57 -0500 From: "Kevin M. Dulzo" <kdulzo@caffeine.internal.enteract.com> To: freebsd-stable@FreeBSD.ORG Subject: Optimizing breaks /bin/sh in 2.2.7-RELEASE Message-ID: <19980728125957.A24837@caffeine.internal.enteract.com>
next in thread | raw e-mail | index | archive | help
When compiling (buildworld, or by hand) /bin/sh with -O2 or -O3 it causes some bizarre error when running makedev (the ^E appears as a clover) MAKEDEV: arith: syntax error: "" The /bin/sh from 2.2.6 appears to work fine in this circumstance. The only change I note between them is the following: 36c36 < * $Id: eval.c,v 1.7.2.3 1997/08/25 09:09:42 jkh Exp $ --- > * $Id: eval.c,v 1.7.2.4 1998/05/04 07:25:58 cracauer Exp $ 767c767,770 < evaltree(cmdentry.u.func, 0); --- > if (flags & EV_TESTED) > evaltree(cmdentry.u.func, EV_TESTED); > else > evaltree(cmdentry.u.func, 0); It works properly when compiled -O. Any ideas? Also is it safe to use optimization on the buildworld level. I did have no problems with -O2 on 2.2.6... Thanks, -Kevin -- .-._.-. To see a thing uncolored by one's own personal preferences and desires is to see it in its own pristine simplicity. ._.-._. +==-- | Kevin M. Dulzo Check us out! | | Network Operations http://www.enteract.com | | Enteract, L.L.C. mailto: info@enteract.com| | kdulzo@enteract.com (773)248-8511 | --==+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980728125957.A24837>