From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25240 invoked by alias); 28 Feb 2011 21:59:39 -0000 Received: (qmail 25228 invoked by uid 22791); 28 Feb 2011 21:59:37 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Feb 2011 21:59:31 +0000 From: "skunk at iskunk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/47902] Bootstrap failure: libiberty/regex.c: error: two or more data types in declaration specifiers X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: skunk at iskunk dot org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 28 Feb 2011 23:25:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg03147.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47902 --- Comment #4 from Daniel Richard G. 2011-02-28 21:59:28 UTC --- Okay, did some more digging. So I see that the ac_fn_c_check_type function actually tries a test compilation first with sizeof(foo_t), and then sizeof((foo_t)), and the test succeeds only if the first succeeds and the latter fails. So this is actually working as it should---I'd missed that the test log I pasted in shows pid_t being found successfully. The real test failure in config.log is as follows: configure:5203: checking for pid_t configure:5203: /tmp/gcc-4.5.2-build/./prev-gcc/xgcc -B/tmp/gcc-4.5.2-build/./prev-gcc/ -B/opt/tg/powerpc-ibm-aix4.3.2.0/bin/ -B/opt/tg/powerpc-ibm-aix4.3.2.0/bin/ -B/opt/tg/powerpc-ibm-aix4.3.2.0/lib/ -isystem /opt/tg/powerpc-ibm-aix4.3.2.0/include -isystem /opt/tg/powerpc-ibm-aix4.3.2.0/sys-include -c -g -O2 conftest.c >&5 In file included from conftest.c:71:0: /tmp/gcc-4.5.2-build/./prev-gcc/include/stdint.h:72:29: error: conflicting types for 'int_fast16_t' /usr/include/sys/inttypes.h:143:18: note: previous declaration of 'int_fast16_t' was here /tmp/gcc-4.5.2-build/./prev-gcc/include/stdint.h:75:29: error: conflicting types for 'uint_fast8_t' /usr/include/sys/inttypes.h:145:18: note: previous declaration of 'uint_fast8_t' was here /tmp/gcc-4.5.2-build/./prev-gcc/include/stdint.h:76:30: error: conflicting types for 'uint_fast16_t' /usr/include/sys/inttypes.h:146:18: note: previous declaration of 'uint_fast16_t' was here configure:5203: $? = 1 Which is basically bug #47907. I notice that the test for pid_t fails if HAVE_STDINT_H is #defined, and succeeds otherwise.