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).