Hi all,

I was in the middle of building wireshark 0.99.7 (formerly known as ethereal) 
and ran into this problem.

Sun Studio 11 cc hangs (I've once left it overnight, and still the no output, 
the prstat below is just another attempt I tried) when compiling a 
not-too-complicated C source file, 
according to prstat, cc (actually acomp) can grow to 1xM in RSS like:

   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP       
 24133 wangyf     21M   18M cpu1    10    0   0:35:15  50% acomp/1

The file itself is nothing too complex, attached for reference.
I've tried "cc -E" to see if there is any obvious error, but cc -E gives 
preprocessed result without any problem.

And gcc also compiles the file without warning. 
Is it some unknown bug in Sun Studio 11?

My cc is patched to 121016-07 and 120759-15

Cheers,
Ivan.
--
This message posted from opensolaris.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: packet-dmp.c
Type: application/octet-stream
Size: 144223 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/tools-compilers/attachments/20080119/66061f15/attachment.obj>

Reply via email to