This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/13836] Illegal instruction calling function pointer


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]