Re: my program compiled by GCC crashed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



王克驰 wrote:
> Hi gcc-help,
> 
> Our system crashed which was compiled by GCC. While, we can not say
> that GCC compiler is the root cause.
> 
> But the strange thing is that I created a sample test code and
> compiled it with GCC. It worked fine when I chose O0 as the
> optimization level but it crashed when I chose other optimization
> levels.
> 
> It did not crashed when I used SUN CC compiler no matter which
> optimization level I chose.
> 
> Below please find my test code and Makefile. The code is very simple
> and the only thing I did is let it link to a library
> /usr/lib/64/libicuio.so.3.

This works for me on Linux, so I guess the problem is something to do
with Solaris, perhaps libicuio.so.3, whatever that is.

Andrew.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux