public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "skunk at iskunk dot org" <gcc-bugzilla@gcc.gnu.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 Date: Mon, 28 Feb 2011 23:25:00 -0000 [thread overview] Message-ID: <bug-47902-4-emDkh8j937@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-47902-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47902 --- Comment #4 from Daniel Richard G. <skunk at iskunk dot org> 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.
next prev parent reply other threads:[~2011-02-28 21:59 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-02-26 9:18 [Bug bootstrap/47902] New: " skunk at iskunk dot org 2011-02-26 9:31 ` [Bug bootstrap/47902] " schwab@linux-m68k.org 2011-02-26 9:33 ` skunk at iskunk dot org 2011-02-28 20:27 ` skunk at iskunk dot org 2011-02-28 23:25 ` skunk at iskunk dot org [this message] 2012-05-14 22:54 ` skunk at iskunk dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-47902-4-emDkh8j937@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).