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 sdowning at fame dot com  2004-01-27 13:27 -------
(In reply to comment #7) 
> 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. 
 
When you said to check that the struct wasn't packed, I assumed you were 
referring to my original program, not the sample code (which doesn't contain 
any structs) 
 
>         Please make sure that you are using the native AIX assembler and 
> linker, not the AIX Toolchain for Linux.   
 
Looks like this is probably the issue.  I didn't build gcc from scratch, I 
downloaded from UCLA's Public Domain Software Library.  I'd be surprised if 
they built with the GNU as, so I have a config problem. 
 
Just mv'd the as and ld that gcc was using to gnu-as and gnu-ld, reran my test 
case and the symptom goes away. 
 
Thanks for the hand holding. 
 

-- 


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]