target/5584: gcc package does not build on rs6000 AIX system with xlc compiler
lefurgy@us.ibm.com
lefurgy@us.ibm.com
Mon Feb 4 11:06:00 GMT 2002
>Number: 5584
>Category: target
>Synopsis: gcc package does not build on rs6000 AIX system with xlc compiler
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 04 11:06:04 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: lefurgy@us.ibm.com
>Release: gcc-3.0.2
>Organization:
>Environment:
powerpc-ibm-aix4.3.1.0
>Description:
This is causing builds of gcc to fail ("make bootstrap")
(using the AIX xlc compiler) with the error
"varasm.c", line 923.5: 1506-068 (S) Operation between types "void*" and "int" is not allowed.
>How-To-Repeat:
On AIX 4.3 system using xlc, try to build the gcc package.
>Fix:
Incorrect code in file gcc/config/rs6000/aix.h
The macro UNIQUE_SECTION has the line
string = alloca (len) + 1;
This should probably be:
string = alloca (len+1);
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list