This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
target/5584: gcc package does not build on rs6000 AIX system with xlc compiler
- From: lefurgy at us dot ibm dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 3 Feb 2002 18:21:14 -0000
- Subject: target/5584: gcc package does not build on rs6000 AIX system with xlc compiler
- Reply-to: lefurgy at us dot ibm dot com
>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: