From owner-freebsd-questions@FreeBSD.ORG Fri Apr 25 13:22:49 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FF0837B401 for ; Fri, 25 Apr 2003 13:22:49 -0700 (PDT) Received: from spry.com (spry.com [65.39.221.40]) by mx1.FreeBSD.org (Postfix) with SMTP id B8A5D43FAF for ; Fri, 25 Apr 2003 13:22:48 -0700 (PDT) (envelope-from jhopper@spry.com) Received: (qmail 24386 invoked from network); 25 Apr 2003 20:17:19 -0000 Received: from spry.com (HELO 12-229-197-18.client.attbi.com) (jhopper@spry.com@65.39.221.40) by spry.com with SMTP; 25 Apr 2003 20:17:19 -0000 From: Justin Hopper To: tclin@iis.sinica.edu.tw In-Reply-To: <1050731241.1929.7.camel@tsungching.orangeroad.idv.tw> References: <1050731241.1929.7.camel@tsungching.orangeroad.idv.tw> Content-Type: text/plain Organization: Message-Id: <1051301849.1794.30.camel@home.gusalmighty.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 25 Apr 2003 13:17:29 -0700 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Segmentation fault during make buildworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2003 20:22:49 -0000 On Fri, 2003-04-18 at 22:48, Lin, Tsung Ching wrote: > hi, > I tried to upgrade 4.8-stable to 5.0-release, but i got problems. > I updated the source tree using cvsup, and followed the instructions in > /usr/src/UPDATE. > during the 'make buildworld' phase, I got a compiling error messages as > follows. > I had tried to upgrade several times, and got the same problem. > can you help me to solve this problem?? > thank you very much . > > c++ -O2 -pipe -march=i686 -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 -fmemoize-lookups > -fsave-memoized -fno-implicit-templates -ffunction-sections > -fdata-sections -Wno-deprecated -c strstream-fixed.cc -o > strstream-fixed.o > c++ -O2 -pipe -march=i686 -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 -fmemoize-lookups > -fsave-memoized -fno-implicit-templates -ffunction-sections > -fdata-sections -Wno-deprecated -c > /usr/src/contrib/libstdc++/src/bitset.cc -o bitset.o > c++ -O2 -pipe -march=i686 -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 -fmemoize-lookups > -fsave-memoized -fno-implicit-templates -ffunction-sections > -fdata-sections -Wno-deprecated -c > /usr/src/contrib/libstdc++/src/functexcept.cc -o functexcept.o > /usr/src/contrib/libstdc++/src/functexcept.cc: In function `void > std::__throw_invalid_argument(const char*)': > /usr/src/contrib/libstdc++/src/functexcept.cc:65: internal error: > Segmentation > fault > Please submit a full bug report, > with preprocessed source if appropriate. The only time I have seen this is with faulty memory. The memory will get past a POST memory check and even run the system fine, but a 'buildworld' seems to stress the memory enough to find these minor glitches. In the past, I have cleaned up the source, shut down, removed a stick of memory, try to make the world again. If it fails again, remove a different stick, etc. Perhaps somebody else can suggest a better way to do it, but without a memory testing device, trial and error was the only option I had at the time. -- Justin Hopper jhopper@spry.com UNIX Systems Engineer http://www.spry.com