From owner-cvs-all Fri Sep 20 8:45:18 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E3D937B401; Fri, 20 Sep 2002 08:45:16 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E57343E6A; Fri, 20 Sep 2002 08:45:15 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id IAA43648; Fri, 20 Sep 2002 08:40:37 -0700 (PDT) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.6/8.12.6) with ESMTP id g8KFdVrf065937; Fri, 20 Sep 2002 08:39:31 -0700 (PDT) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.6/8.12.6/Submit) id g8KFdU4t065936; Fri, 20 Sep 2002 08:39:30 -0700 (PDT) From: Archie Cobbs Message-Id: <200209201539.g8KFdU4t065936@arch20m.dellroad.org> Subject: Re: cvs commit: src/lib/libc/alpha/gen infinity.c src/lib/libc/i386/gen infinity.c src/lib/libc/ia64/gen infinity.c src/lib/libc/sparc64/gen infinity.c src/lib/msun/src math.h In-Reply-To: <200209201217.g8KCHENp094671@spider.deepcore.dk> "from Soeren Schmidt at Sep 20, 2002 02:17:14 pm" To: Soeren Schmidt Date: Fri, 20 Sep 2002 08:39:30 -0700 (PDT) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Soeren Schmidt writes: > It seems Archie Cobbs wrote: > > archie 2002/09/19 12:47:27 PDT > > > > Modified files: > > lib/libc/alpha/gen infinity.c > > lib/libc/i386/gen infinity.c > > lib/libc/ia64/gen infinity.c > > lib/libc/sparc64/gen infinity.c > > lib/msun/src math.h > > Log: > > Fix a problem with the definition of HUGE_VAL causing the gcc warning > > "cast increases required alignment of target type" on some platforms. > > This breaks world here: > > cc -O -pipe -march=athlon -DLIBC_MAJOR=5 -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -D__DBINTERFACE_PRIVATE -DINET6 -I/u1/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -DYP -DHESIOD -c /usr/src/lib/libc/i386/gen/infinity.c -o infinity.o > /usr/src/lib/libc/i386/gen/infinity.c:11: variable `__infinity' has initializer but incomplete type Ugh.. my apologies. Unfortunately I'm not sure how to fix this. It appears there are two versions of "math.h" in the tree (why?): src/include/math.h src/lib/msun/src/math.h The 'infinity.c' files are part of libc, yet __infinity is declared in src/lib/msun/src/math.h, which is the one I changed.. I don't get it. The src/lib/*/gen/infinity.c files should be including the msun version of math.h it seems. Since I'm going to be out of contact today I'll revert this commit until we figure out how it should be done correctly. Sorry! -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message