This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Strange bug Irix 6.2: egcs 1.1.1 C++ don't handle '-s'
- To: pere at hungry dot com
- Subject: Re: Strange bug Irix 6.2: egcs 1.1.1 C++ don't handle '-s'
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 07 Dec 1998 05:40:53 -0200
- Cc: egcs at cygnus dot com
- References: <199812061539.QAA21257@zero.cc.uit.no>
On Dec 6, 1998, Petter Reinholdtsen <pere@hungry.com> wrote:
> I noticed this when trying to compile KDElibs on Irix 6.2. The
> following test program failed:
> main(){return(0);}
> ld: Segmentation fault. Removing output file...
> collect2: ld returned 1 exit status
> When removing '-s', everything is OK.
Same here. The problem doesn't apply to C++ only. However, since it
is /usr/bin/ld that crashes, I don't think it is egcs's fault. I even
managed to reproduce the problem in older releases of egcs and gcc.
Interestingly, the problem does not occur for the native cc, not even
with -n32.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil