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]

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



I noticed this when trying to compile KDElibs on Irix 6.2.  The
following test program failed:

  main(){return(0);}

When compiling like ./configure wanted, this happends:

  > egcs-c++ -o tmp -s tmp.cpp
  ld: WARNING 84: /store/opt/egcs/lib/libstdc++.a is not used for resolving any symbol.
  ld: WARNING 84: /usr/lib32/libm.so is not used for resolving any symbol.
  ld: Segmentation fault.  Removing output file...
  collect2: ld returned 1 exit status
  zsh: 2943 exit 1     egcs-c++ -o tmp -s tmp.cpp
  > 

When removing '-s', everything is OK.

  > egcs-c++ -o tmp tmp.cpp   
  ld: WARNING 84: /store/opt/egcs/lib/libstdc++.a is not used for resolving any symbol.
  ld: WARNING 84: /usr/lib32/libm.so is not used for resolving any symbol.
  > 

There was no GCC available on this machine, so I was unable to test if
this is EGCS spesific or not, but I imagined that you would like to
know.
-- 
##>  Petter Reinholdtsen <##    | pere@td.org.uit.no
 O-  <SCRIPT Language="Javascript">window.close()</SCRIPT>
http://www.hungry.com/~pere/    | Go Mozilla, go! Go!


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