Subject: re: GCC3.3 update status
To: Chris Gilbert <chris@dokein.co.uk>
From: matthew green <mrg@eterna.com.au>
List: tech-toolchain
Date: 07/28/2003 10:13:13
   On Mon, 28 Jul 2003 01:30:04 +1000
   matthew green <mrg@eterna.com.au> wrote:
   
   > 
   > 
   > hi folks.
   > 
   > 
   >
   > [1] libstdc++-v3 fails to build "-pg" so there is no profile version
   > of this library currently.
   > 
   > [4] sh3 can't build anything with "-pg" currently.. may need to set
   > NOPROFILE there for now
   
   -pg also causes problems on arm...

over night it came to me that this is probably just a specs problem...
i'll check soon.
   
   > however, things are at the stage where people can begin to test ...
   > i haven't tried this but setting USE_TOOLS_TOOLCHAIN=no in
   > /etc/mk.conf should be enough to force the build to use/build GCC3. 
   > this will*definately* result in a `distribution' or higher build
   > target failing due to the not updated sets lists, but a `build' should
   > work fine...
   
   I've tried cross compiling via build.sh (added -V USE_TOOLS_TOOLCHAIN=no
   to the cmd line)
   
   Building on i386 for cats (arm)
   
   It fails in gnu/lib/libgcc:
   /u1/tools/current/cats/bin/arm--netbsdelf-c++ -O2   -Werror  -nostdinc++
   -isystem /extra/dest/current/cats/usr/include/g++ 
   -I/extra/cvs/src/gnu/lib/libgcc
   -I/extra/cvs/src/gnu/usr.bin/gcc/arch/arm -DIN_GCC -DIN_LIBGCC2
   -D__GCC_FLOAT_NOT_NEEDED -I/extra/cvs/src/gnu/dist/toolchain/gcc
   -I/extra/cvs/src/gnu/dist/toolchain/gcc/config
   -I/extra/cvs/src/gnu/dist/toolchain/gcc/../include 
   -I/extra/cvs/src/gnu/dist/toolchain/gcc/cp -nostdinc -isystem
   /extra/dest/current/cats/usr/include  -c -pg
   /extra/cvs/src/gnu/dist/toolchain/gcc/cp/exception.cc -o exception.po
   arm--netbsdelf-c++: cannot specify -o with -c or -S and multiple
   compilations
   *** Error code 1
   
   Stop.
   nbmake: stopped in /extra/cvs/src/gnu/lib/libgcc
   
   Just to make things even stranger, if I cd into the obj dir, and copy
   and paste the above line, it works, I'm a bit stumped on what's wrong...

yeah, i have the same problem with libstdc++-v3!
   
   Should I file a PR?

no, this one is known i guess :-)


.mrg.