This is the mail archive of the gcc@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]

Re: Strange bug Irix 6.2: egcs 1.1.1 C++ don't handle '-s'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]