Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 1999 11:34:15 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, John Polstra <jdp@FreeBSD.org>
Subject:   Re: cvs commit: src/lib/csu/i386-elf Makefile crtbegin.c crtend.
Message-ID:  <XFMail.990314113415.jdp@polstra.com>
In-Reply-To: <199903141815.VAA16244@tejblum.dnttm.rssi.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990314113415.jdp>