Nasty problem with egcs-1.0.1 on Irix 6.4

Hugh Emberson hugh_emberson@yahoo.com
Fri Jan 16 21:29:00 GMT 1998


Hi,

I compiled and installed egcs-1.0.1 on Irix 6.4 last weekend. 
Everything appeared to go fine, it bootstrapped itself OK and ran the
GCC testsuite OK except for 4 failures which appear to be well know
problems (see #1).  

Then I tried compiling some of my employers code, but I ran into
problems using System V semaphores.  So I wrote a fairly minimal test
program to explore the problem.

The test program, which I have included below, creates a semaphore (or
attaches to an existing one), initializes the semaphore and then reads
the semaphores value.  

If I compile this code with gcc -mabi=n32 it gets 0 when it reads the
value back, but if I compile it with gcc -__MISSPEL
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the Gcc-bugs mailing list