This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13836] Illegal instruction calling function pointer
- From: "dje at watson dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2004 22:07:11 -0000
- Subject: [Bug target/13836] Illegal instruction calling function pointer
- References: <20040123184334.13836.sdowning@fame.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dje at watson dot ibm dot com 2004-01-26 22:07 -------
Subject: Re: Illegal instruction calling function pointer
Neither the attachments nor the text in the bug report contain a
definition of the Device array of structs.
$ oslevel -r
5100-04
Please make sure that you are using the native AIX assembler and
linker, not the AIX Toolchain for Linux. The output in the attachment
shows:
/usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/../../../../powerpc-ibm-aix5.1.0.0/bin/as -u -mcom -o main.o main.s
My output shows:
as -u -mcom -o /tmp//ccYIvXpa.o /tmp//ccZ1r9Zl.s
I assume that you have GNU as and GNU ld installed and are using them.
The installation instructions state that native as and ld are required for
AIX 5L.
David
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13836