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

Critical (installation ?) bug with gcc-3.0


Hello,

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

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 `trylist.cc'):

// ================= `trylist.cc' Starts here
================================

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

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

// =================  `trylist.cc' Ends here
================================

1) Step 1: compilation ==> OK 

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

Ouput:

============= Output from `g++ -c -v -frepo trylist.cc'
============================

Reading specs from
/u/nobili/gcc-3.0/linux/lib/gcc-lib/i686-pc-linux-gnu/3.0/spe
cs
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
-D__GNUC__
=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux
-D__ELF__
 -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix
-D__NO_INLINE__ -D__ST
DC_HOSTED__=1 -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -Di386 -D__i386
-D__i386__
 -D__tune_i686__ -D__tune_pentiumpro__ trylist.cc -D__GNUG__=3
-D__GXX_DEPRECATE
D -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase trylist.cc
-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
"/u/nobili/gcc-3.0/linux/i686-pc-linux-gnu/includ
e"
#include "..." search starts here:
#include <...> search starts here:
 /u/nobili/gcc-3.0/linux/include/g++-v3
 /u/nobili/gcc-3.0/linux/include/g++-v3/i686-pc-linux-gnu
 /u/nobili/gcc-3.0/linux/include/g++-v3/backward
 /u/nobili/gcc-3.0/linux/include
 /u/nobili/gcc-3.0/linux/lib/gcc-lib/i686-pc-linux-gnu/3.0/include
 /usr/include
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.9.5.0.22

========================================================================================

2) Link-edit phase : ==> Errors

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

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



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

Tel : 01 64 47 40 90
Fax : 01 64 47 45 14         E-mail : pnobili@cgg.com
___________________________________________________________


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