This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/53348] Conflicting fast-integer types on AIX: <sys/inttypes.h> vs. gcc/config/rs6000/aix-stdint.h
- From: "dje at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 07 Feb 2015 01:13:35 +0000
- Subject: [Bug bootstrap/53348] Conflicting fast-integer types on AIX: <sys/inttypes.h> vs. gcc/config/rs6000/aix-stdint.h
- Auto-submitted: auto-generated
- References: <bug-53348-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53348
--- Comment #8 from David Edelsohn <dje at gcc dot gnu.org> ---
Patches are reviewed on gcc-patches mailinglist, not in Bugzilla
> The attached patch is everything I've got so far to address issues in
> building GCC on AIX 4.3. This covers issues beyond this bug report, but I
> figured you'd rather take care of everything in one go. A walk-through of
> the changes:
>
> ++ gcc/opt-functions.awk
>
> * Escape "{" characters to not annoy older awk programs
Prerequisites for GCC explicitly states that POSIX or SVR4 awk is required, so
I don't think that this work-around would be accepted. For example, you can
install GNU Awk.
>
> ++ gcc/config/rs6000/rs6000.c
>
> * legitimate_indirect_address_p() was coming up as undefined when declared
> with the "inline" keyword
This already has been changed.
> * ASM_WEAKEN_DECL() was coming up undefined, too, even though the call is in
> a section of code not actually used on this platform
>
> ++ fixincludes/tests/base/*.h
>
> * Updates to the test suite
>
> ++ fixincludes/inclhack.def
>
> * Fixinclude for the oddly-sized fast-integer types
>
> * Fixinclude for the broken PRIxNN macros in inttypes.h
>
> * Fixinclude for an incomplete PTHREAD_ONCE_INIT (breaks -Werror builds)
>
> * Tweaked the aix_pthread hack, as pthread.h has a tab character immediately
> after the "#define" on my system
>
> * Fixinclude for an strtof() declaration lacking a const keyword (bug #48009)
The fixincludes changes are the most plausible ones.