Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 17:33:22 +1000
From:      Tim Robbins <tjr@FreeBSD.ORG>
To:        ir@hotbox.ru
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: error in ncurses in 'make buildworld'
Message-ID:  <20020621173322.A99420@dilbert.robbins.dropbear.id.au>
In-Reply-To: <20020621071139.GA20615@sysadm.stc>; from igorr@sysadm.stc.robbins.dropbear.id.au on Fri, Jun 21, 2002 at 11:11:39AM %2B0400
References:  <20020619163321.A48809@dragon.nuxi.com> <20020620074657.11859.qmail@web14108.mail.yahoo.com> <20020620092649.GA10310@sysadm.stc> <20020620101611.B55653@dragon.nuxi.com> <20020621071139.GA20615@sysadm.stc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 21, 2002 at 11:11:39AM +0400, Igor Roboul wrote:

> igorr@sysadm~> gcc -Wall qq.c
> qq.c: In function `main':
> qq.c:16: warning: float format, double arg (arg 3) <--- I have expected this
> igorr@sysadm~> ./a.out 123
> 123.000000
> 0.124861
> 0.0<4861	<--- Pay attention 
> 123

What -O level did you compile libc with? Optimisation levels >= 2 damage
__vfprintf() with the in-tree gcc, causing these same symptoms.

The fix is to remove any optimisation options above -O, go into
/usr/src/lib/libc, rebuild and install the static libc.a, build and install a
static linked awk binary, then rebuild world + kernel as usual.


Tim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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