[Bug target/13836] Illegal instruction calling function pointer

dje at watson dot ibm dot com gcc-bugzilla@gcc.gnu.org
Mon Jan 26 22:07:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list