From owner-freebsd-current Sun May 24 21:50:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA15656 for freebsd-current-outgoing; Sun, 24 May 1998 21:50:56 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA15647 for ; Sun, 24 May 1998 21:50:53 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id OAA29833; Mon, 25 May 1998 14:41:59 +1000 Date: Mon, 25 May 1998 14:41:59 +1000 From: Bruce Evans Message-Id: <199805250441.OAA29833@godzilla.zeta.org.au> To: current@FreeBSD.ORG, eivind@yes.no Subject: Re: buildworld from read-only filesystem Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Now, building from readonly filesystems seems to work. I had only a >single problem with my build - I got a few warnings from 'static' >declarations in ctype.h, and these hit -Werror a few places in the >tree. > >I don't know how to fix this, except for maybe disabling -Werror. >Possibly builds from normal filesystems have this problem at the >moment, too - I haven't tested. The warning occurs for unused static inline functions if the sources are compiled without optimization, except for functions in standard headers ("standard" = under /usr/include or something like that), except under alpha it apparently occurs even with optimization. Why aren't you using the standard CFLAGS which have -O in them? :-) Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message