From owner-freebsd-current Thu Aug 8 13: 0:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8A7E37B401 for ; Thu, 8 Aug 2002 13:00:03 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9785843E84 for ; Thu, 8 Aug 2002 13:00:01 -0700 (PDT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail 17711 invoked by uid 0); 8 Aug 2002 19:59:59 -0000 Received: from pd90032af.dip.t-dialin.net (HELO gmx.net) (217.0.50.175) by mail.gmx.net (mp013-rz3) with SMTP; 8 Aug 2002 19:59:59 -0000 Message-ID: <3D52CDB9.3080301@gmx.net> Date: Thu, 08 Aug 2002 21:59:53 +0200 From: Michael Nottebrock User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0rc2) Gecko/20020513 Netscape/7.0b1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruce Evans Cc: Mike Barcroft , Andrew Kolchoogin , David O'Brien , current@FreeBSD.ORG Subject: Re: Comments on Release Building for -current References: <20020804195905.O1075-100000@gamplex.bde.org> X-Enigmail-Version: 0.61.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig280E6B592FE3F4CFE936B3E8" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The following is an OpenPGP/MIME signed message created by Enigmail/Mozilla, following RFC 2440 and RFC 2015 --------------enig280E6B592FE3F4CFE936B3E8 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Bruce Evans wrote: > On Sat, 3 Aug 2002, Mike Barcroft wrote: > > >>Andrew Kolchoogin writes: >> >>>... >>>sorry, but some time ago I read here that gcc -O2 breaks our printf() in >>>libc. I haven't find any assembler code in /usr/src/lib/libc/stdio/vfprintf.c, >>>as such, if some C compiler can't handle VALID and STANDARDS-COMPLIANT C code, >>>this compiler is broken. Isn't it? >>> >>>Indeed, all of FreeBSD users could help to catch such a bug in gcc optimizer >>>code. :) >> >>If someone could find the small segment of code where the optimizer >>screws up, and write a small program to demonstrate the problem, we >>would have a good chance of it getting fixed. > > > Er, someone (Dan Lukes) has already done this. See PR 40209. I'm sorry > I haven't found time to look at it in detail. O2-compiling -CURRENT (and -march=athlon ...) still manages to break DCCs in xchat, like: Program received signal SIGBUS, Bus error. 0x286b3220 in __vfprintf () from /usr/lib/libc.so.5 (gdb) bt #0 0x286b3220 in __vfprintf () from /usr/lib/libc.so.5 #1 0x286b20ca in __vfprintf () from /usr/lib/libc.so.5 #2 0x286ad622 in snprintf () from /usr/lib/libc.so.5 #3 0x08066036 in fe_dcc_update_recv () #4 0x08086ee0 in dcc_check_timeouts () #5 0x0809dd83 in lag_check () #6 0x2825c496 in g_timeout_dispatch () from /usr/local/lib/libglib12.so.3 #7 0x2825b658 in g_main_dispatch () from /usr/local/lib/libglib12.so.3 #8 0x2825bbf9 in g_main_iterate () from /usr/local/lib/libglib12.so.3 #9 0x2825bd86 in g_main_run () from /usr/local/lib/libglib12.so.3 #10 0x2844fa38 in gtk_main () from /usr/X11R6/lib/libgtk12.so.2 #11 0x08069311 in fe_main () #12 0x0809e950 in main () #13 0x080638c1 in _start () Regards, -- Michael Nottebrock "And the reasons? There are no reasons." --------------enig280E6B592FE3F4CFE936B3E8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9Us29Xhc68WspdLARAhhBAJ4xXMr55TYDvGw8P4Inh1A51VqMCgCeLriI mzj16OWJ/HBUo/G7lO/vs5s= =l/iP -----END PGP SIGNATURE----- --------------enig280E6B592FE3F4CFE936B3E8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message