From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29062 invoked by alias); 2 Dec 2006 16:10:46 -0000 Received: (qmail 29050 invoked by uid 22791); 2 Dec 2006 16:10:45 -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 16:10:41 +0000 Received: from fishpond.diveadx.com (bluesmobile.corp.specifix.com [192.168.1.32]) by bluesmobile.corp.specifix.com (Postfix) with ESMTP id 456503B9F3; Sat, 2 Dec 2006 08:10:35 -0800 (PST) From: Fred Fish Reply-To: fnf@specifix.com To: glibc-bugs@sourceware.org Subject: RE: Error when re-compiling libc Date: Sat, 02 Dec 2006 16:10:00 -0000 User-Agent: KMail/1.9.5 Organization: Specifix Inc. Cc: fnf@specifix.com MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200612020910.32488.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/msg00002.txt.bz2 This problem can easily be reproduced with a stripped down copy of the prep= rocessed source: $ cat bug.i extern int __signbit (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern __inline int __attribute__ ((__nothrow__)) __signbit (double __x) { __extension__ union { double __d; int __i[2]; } __u =3D { __d: __x }; return __u.__i[1] < 0; } int __signbit (double x) { } $ gcc -c bug.i $ gcc -std=3Dgnu99 -c bug.i bug.i:13: error: redefinition of =E2=80=98__signbit=E2=80=99 bug.i:6: error: previous definition of =E2=80=98__signbit=E2=80=99 was = here $ Note that the trigger is the -std=3Dgnu99 option. Not sure if this error i= s a bug in glibc sources or in support for gnu99. -Fred