Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   FreeBSD 5.2.1 buildworld help! (https://thetfp.com/tfp/tilted-technology/84673-freebsd-5-2-1-buildworld-help.html)

trache 03-04-2005 06:37 AM

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

skaven 03-04-2005 12:08 PM

I'm not going to claim that I know much about BSD (I run slackware, myself), but as you've had no replies, I'll take a stab at it.

First, I'd try grepping for the memoize options in your Makefile(s). If you find it, edit the Makefiles and take the option out. This might be all it is; somebody may have "broken" one of the Makefiles as they were doing development.

After that....ummm....don't really know what to tell ya. Heck, I don't even know what -fmemoize-lookups does when it's recognized!

trache 03-04-2005 01:31 PM

skaven, thanks for your help..

I actually found where I was going wrong. I had uncommented the CXXFLAGS= line in my /etc/make.conf


All times are GMT -8. The time now is 01:28 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


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