From owner-cvs-all Sun Mar 14 11:34:38 1999 Delivered-To: cvs-all@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 0D50B14C82; Sun, 14 Mar 1999 11:34:34 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.1/8.9.1) with ESMTP id LAA04497; Sun, 14 Mar 1999 11:34:16 -0800 (PST) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.2/8.9.1) id LAA15771; Sun, 14 Mar 1999 11:34:15 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199903141815.VAA16244@tejblum.dnttm.rssi.ru> Date: Sun, 14 Mar 1999 11:34:15 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: Dmitrij Tejblum Subject: Re: cvs commit: src/lib/csu/i386-elf Makefile crtbegin.c crtend. Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, John Polstra Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Dmitrij Tejblum wrote: > John Polstra wrote: >> Modified files: >> lib/csu/i386-elf Makefile crtbegin.c crtend.c >> >> Remove "-Wno-unused" from the Makefile. Replace it with "__unused" >> on particular function and variable declarations. > > Ah! This is the thing that breaks world (namely, groff) with -O3. gcc > eliminate the "unused" code completely, and you cannot fix it by > -Wno-unused or by __unused. Ouch! That's no good. Let me make sure I understand what you're saying. The change above didn't cause the breakage, it only helped you to figure out what was wrong. Is that correct? Could you please send me the make world output from where the build dies? I want to be sure about the details. Once I'm sure I understand it, I'll add some stuff to make sure that the compiler can't be quite so smart. John --- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-interest is the aphrodisiac of belief." -- James V. DeLong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message