View Single Post
Old 03-04-2005, 06:37 AM   #1 (permalink)
trache
Insane
 
trache's Avatar
 
FreeBSD 5.2.1 buildworld help!

I'm running FreeBSD 5.2.1 at the moment, and I've wanted to upgrade to 5.3. I erased my /usr/src directory and changed my stable-supfile to read RELENG_5_3 under the cvsup tag. The CVSup went fine.

I did a make buildworld in the /usr/src tree and after a long while, I get this error:

Code:
===> gnu/lib/libstdc++
c++ -O -pipe -march=pentium2 -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcc -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include -fmemoize-lookups -fsave-memoized -fno-implicit-templates -ffunction-sections -fdata-sections  -Wno-deprecated -c /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/src/allocator.cc
cc1plus: error: unrecognized command line option "-fmemoize-lookups"
cc1plus: error: unrecognized command line option "-fsave-memoized"
*** Error code 1

Stop in /usr/src/gnu/lib/libstdc++.
*** Error code 1
I know that the error means the compiler doesn't understand the options and just dies on me, but I don't understand why the build is stopping at this point. (or perhaps why the build scripts are tacking the -f lines onto the end?)

My C++ compiler is:

Code:
dante# c++ -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.3 [FreeBSD] 20031106
My architecture is a pentium 2, 233 Mhz with ~400 MB RAM.

I should mention that a buildworld, buildkernel, installkernel, installworld etc went just fine with FreeBSD 5.2.1 (up from a stock FreeBSD 5.0 install).
__________________
"You looked at me as if I was eating runny eggs in slow motion." - Gord Downie of The Tragically Hip
trache is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46