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

Critical (installation ?) bug with gcc-3.0


This follows the bug report Nb: 3401, from which I have no

It seems that it is not possible to get gcc-3.0 working properly
with STL.  Since it is the first time something like this happens
to me with a gcc release, I am a little bit suprised so any information
you could have will help me on the status of this problem, is somebody
aware of it, did I do something wrong this time, etc...


This is what happens on targets i686-pc-linux-gnu and 
powerpc-ibm-aix4.3.3.0 :

after doing : configure --prefix=/my/prefix 
              make bootstrap
              make install

I tries to compile and link the following very simple
peace of code (file `'):

// ================= `' Starts here

#include <list>
int main(int argc,char **argv) {

  std::list<int> llint ;
  llint.push_back(0)   ;
  llint.push_back(1)   ;
  return 0 ;

// =================  `' Ends here

1) Step 1: compilation ==> OK 

g++ -c -v -frepo ==> OK, generates trylist.rpo && trylist.o


============= Output from `g++ -c -v -frepo'

Reading specs from
Configured with: ../gcc-3.0/configure --prefix=/u/nobili/gcc-3.0/linux
Thread model: single
gcc version 3.0
 /u/nobili/gcc-3.0/linux/lib/gcc-lib/i686-pc-linux-gnu/3.0/cc1plus -v
=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux
 -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix
DC_HOSTED__=1 -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -Di386 -D__i386
 -D__tune_i686__ -D__tune_pentiumpro__ -D__GNUG__=3
D -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase
-version -f
repo -o /tmp/ccSC0pVb.s
GNU CPP version 3.0 (cpplib) (i386 Linux/ELF)
GNU C++ version 3.0 (i686-pc-linux-gnu)
        compiled by GNU C version 3.0.
ignoring nonexistent directory "/DEVTOOLS/free/Linux2.2/kde/include"
ignoring nonexistent directory "/DEVTOOLS/free/Linux2.2/qt/include"
ignoring nonexistent directory
#include "..." search starts here:
#include <...> search starts here:
End of search list.
 as --traditional-format -V -Qy -o trylist.o /tmp/ccSC0pVb.s
GNU assembler version 2.9.5 (i386-redhat-linux) using BFD version


2) Link-edit phase : ==> Errors

g++ trylist.o ==> Something goes wrong during the collect2 phase

============= Output from `g++ -v trylist.o'

Philippe Nobili
Office M1 335
1, rue Leon Migaux, 91341 Massy Cedex

Tel : 01 64 47 40 90
Fax : 01 64 47 45 14         E-mail :

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