[Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70704 Michael Haubenwallner changed: What|Removed |Added CC||michael.haubenwallner@ssi-s ||chaefer.com --- Comment #44 from Michael Haubenwallner --- Created attachment 38338 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38338&action=edit FLEX listens to M4 envvar, unset. Does it help to set M4=/opt/freeware/bin/m4 in the environment, so configure is forced to take GNU m4? Once upon a time, I've had similar problems here, although with older gcc, and use attached patch to fix it - maybe it is of some help here as well. Problem is that flex does listen to the M4 environment variable. Dependent on PATH, configure may find AIX m4 (/usr/bin) or GNU m4 (/opt/freeware/bin). When M4=AIX-m4, flex-generated code breaks.
[Bug target/65058] New: AIX: missing extern decorations "[DS]" for functions and "[RW]" for variables
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65058 Bug ID: 65058 Summary: AIX: missing extern decorations "[DS]" for functions and "[RW]" for variables Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: michael.haubenwall...@ssi-schaefer.com CC: dje at gcc dot gnu.org Target: powerpc-ibm-aix With gcc-4.2, references to external functions and variables were decorated with "[DS]" and "[RW]", respectively. With gcc-4.8, these decorations are missing, even though ASM_OUTPUT_EXTERNAL (xcoff.h) pretends to add them. $ cat > extref.c <
[Bug target/65058] AIX: missing extern decorations "[DS]" for functions and "[RW]" for variables
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65058 --- Comment #1 from Michael Haubenwallner --- Probably this happens since gcc-4.3 due to this commit: https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/varasm.c?r1=119764&r2=119763&pathrev=119764 Problem is that assemble_external() does not call ASM_OUTPUT_EXTERNAL any more to add the decorations, before the symbol is written via ASM_OUTPUT_SYMBOL_REF.
[Bug target/65058] AIX: missing extern decorations "[DS]" for functions and "[RW]" for variables
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65058 --- Comment #2 from Michael Haubenwallner --- Proposed patch: https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00885.html