Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 03-04-2005, 06:37 AM   #1 (permalink)
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  
Old 03-04-2005, 12:08 PM   #2 (permalink)
Insane
 
Location: Austin, TX
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!
skaven is offline  
Old 03-04-2005, 01:31 PM   #3 (permalink)
Insane
 
trache's Avatar
 
skaven, thanks for your help..

I actually found where I was going wrong. I had uncommented the CXXFLAGS= line in my /etc/make.conf
__________________
"You looked at me as if I was eating runny eggs in slow motion." - Gord Downie of The Tragically Hip
trache is offline  
 

Tags
521, buildworld, freebsd

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 11:09 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, 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