From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8418 invoked by alias); 2 Dec 2006 17:11:38 -0000 Received: (qmail 8408 invoked by uid 22791); 2 Dec 2006 17:11:38 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,FORGED_RCVD_HELO X-Spam-Check-By: sourceware.org Received: from w099.z064220152.sjc-ca.dsl.cnc.net (HELO bluesmobile.corp.specifix.com) (64.220.152.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 02 Dec 2006 17:11:34 +0000 Received: from fishpond.diveadx.com (bluesmobile.corp.specifix.com [192.168.1.32]) by bluesmobile.corp.specifix.com (Postfix) with ESMTP id B5D573B94B for ; Sat, 2 Dec 2006 09:11:31 -0800 (PST) From: Fred Fish Reply-To: fnf@specifix.com Organization: Specifix Inc. To: glibc-bugs@sourceware.org Subject: Re: Error when re-compiling libc Date: Sat, 02 Dec 2006 17:11:00 -0000 User-Agent: KMail/1.9.5 References: <200612020910.32488.fnf@specifix.com> In-Reply-To: <200612020910.32488.fnf@specifix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612021011.29057.fnf@specifix.com> Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2006-12/txt/msg00004.txt.bz2 On Saturday 02 December 2006 09:10, Fred Fish wrote: > Note that the trigger is the -std=gnu99 option. Not sure if this error is a bug > in glibc sources or in support for gnu99. Turns out gcc 4.1.1 as distributed in Fedora Core 6 works fine: $ /usr/bin/gcc -std=gnu99 -c bug.i $ /usr/bin/gcc -v 2>&1| grep 'gcc version' gcc version 4.1.1 20061011 (Red Hat 4.1.1-30) But a gcc built from current top-of-tree sources does not: $ gcc -std=gnu99 -c bug.i bug.i:13: error: redefinition of '__signbit' bug.i:6: error: previous definition of '__signbit' was here $ gcc -v 2>&1| grep 'gcc version' gcc version 4.3.0 20061126 (experimental) -Fred