Re: FreeBSD 6.1-RELEASE source update fails during compilation

2007-04-09 Thread Robert Joosten
Hi,

---cut!--
 /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genattrtab.c:6240: 
 internal compiler error: Segmentation fault: 11
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See URL:http://gcc.gnu.org/bugs.html for instructions.
 {standard input}: Assembler messages:
 {standard input}:14060: Warning: partial line at end of file ignored
 *** Error code 1
 Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
 *** Error code 1
 Stop in /usr/src.
 *** Error code 1
 Stop in /usr/src.
 *** Error code 1
 Stop in /usr/src.

Yeah, I observed this too a few times. All the times on a poor little 
pentium 1/150 with 48meg ram (according dmesg). It's somewhat difficult 
too check but I suspect I run out of memory every time.

I happened to run make installworld with a DESTDIR pointing to this box 
using nfs using a more recent athlon 3000 :-)

That slow box runs postfix and procmail to a nfs-mounted spool. It runs 
great without any sign indicating bad memory; did not run a memcheck 
though. Increasing swap didn't solve this matter.

Hth.

Cheers,
Robert

PS: recommend to check out releng_6_2 if able; just to be sure.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.1-RELEASE source update fails during compilation

2007-04-09 Thread Kris Kennaway
On Mon, Apr 09, 2007 at 09:59:58AM +0200, Robert Joosten wrote:
 Hi,
 
 ---cut!--
  /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genattrtab.c:6240: 
  internal compiler error: Segmentation fault: 11
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See URL:http://gcc.gnu.org/bugs.html for instructions.
  {standard input}: Assembler messages:
  {standard input}:14060: Warning: partial line at end of file ignored
  *** Error code 1
  Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
  *** Error code 1
  Stop in /usr/src.
  *** Error code 1
  Stop in /usr/src.
  *** Error code 1
  Stop in /usr/src.
 
 Yeah, I observed this too a few times. All the times on a poor little 
 pentium 1/150 with 48meg ram (according dmesg). It's somewhat difficult 
 too check but I suspect I run out of memory every time.

You will see it logged by syslog and/or on the console if you run out
of memory (and swap) and a process is killed to make room (it will
also usually not die with signal 11, rather signal 9).  If you do not
see this then out-of-memory is not the cause, and it is also almost
certain to be marginal or failing hardware.

Kris


pgpEfUwXnHGLc.pgp
Description: PGP signature


Re: FreeBSD 6.1-RELEASE source update fails during compilation

2007-04-09 Thread Ralph Hempel

Kris Kennaway wrote:

On Mon, Apr 09, 2007 at 09:59:58AM +0200, Robert Joosten wrote:

Hi,

---cut!--
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genattrtab.c:6240: 
internal compiler error: Segmentation fault: 11

Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
{standard input}: Assembler messages:
{standard input}:14060: Warning: partial line at end of file ignored
*** Error code 1
Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
Yeah, I observed this too a few times. All the times on a poor little 
pentium 1/150 with 48meg ram (according dmesg). It's somewhat difficult 
too check but I suspect I run out of memory every time.


You will see it logged by syslog and/or on the console if you run out
of memory (and swap) and a process is killed to make room (it will
also usually not die with signal 11, rather signal 9).  If you do not
see this then out-of-memory is not the cause, and it is also almost
certain to be marginal or failing hardware.

Kris


I'll agree with Kris here. I have been banging my head against a
P4 1.6GHZ machine running 6.2 for a couple of weeks.

It would not do a portsanp extract without falling over with a sig 11
in the middle of the extract - leaving a few file clusters in
questionable state.

As it was a test machine, I swapped in a different HD controller, fresh
HD and it still failed. Then I installed 5.5 and it worked fine, but
very slowly compared to 6.2

So I went back to the 6.2 and it failed again. All on hardware I thought
was rock solid. Then I ran Memtest again and sure enough, the RAM had
gone bad. Popped in a fresh stick and now I'm running memtest for two
days without error now.

Sometimes the older hardware just isn't worth the grief...

Ralph



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6.1-RELEASE source update fails during compilation

2007-04-08 Thread Jason Vance
I'm unable to buildworld on a brand new installation of freebsd 6.1.  Almost 
everytime my build fails on the genattrtab.c section of cc_tools.  I've 
tried multiple harddrives, and downloaded the source code many times.  A 
couple of times the system has rebooted itself, once during cvsup of the 
source code, and again during a build.


What else should I be looking for to diagnose this problem?

My System:

FreeBSD 6.1-RELEASE
733MHZ Intel P3
Asus pv3-4x latest bios 1006.004
Sound Blaster Live
Voodoo 3 16mb GFX Card
HDDs:  I've tried 3 different drives, the first few tries were with 2 drives 
gmirror'd and then without the gmirror ( RAID 1 )


Memtest checks out ok ( Ran 5 hours 150 loops )

Here is the last few lines of everytime I've tried to compile the source.

=

./gencodes 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md 
 insn-codes.h
cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\ 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config 
-DGENERATOR_FILE  -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genconfig.c
cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\ 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config 
-DGENERATOR_FILE  -I/usr/obj/usr/src/tmp/legacy/usr/include  -L/usr/obj/usr/src/tmp/legacy/usr/lib 
-o genconfig genconfig.o rtl.o print-rtl.o bitmap.o gensupport.o ggc-none.o 
read-rtl.o insn-conditions.o min-insn-modes.o errors.o libiberty.a
./genconfig 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md 
 insn-config.h
cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\ 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config 
-DGENERATOR_FILE  -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genflags.c
cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\ 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config 
-DGENERATOR_FILE  -I/usr/obj/usr/src/tmp/legacy/usr/include  -L/usr/obj/usr/src/tmp/legacy/usr/lib 
-o genflags genflags.o rtl.o print-rtl.o bitmap.o gensupport.o ggc-none.o 
read-rtl.o insn-conditions.o min-insn-modes.o errors.o libiberty.a
./genflags 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md 
 insn-flags.h
cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\ 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config 
-DGENERATOR_FILE  -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genattrtab.c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genattrtab.c:6240: 
internal compiler error: Segmentation fault: 11

Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
{standard input}: Assembler messages:
{standard input}:14060: Warning: partial line at end of file ignored
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.




./genflags 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md 
 insn-flags.h
cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\ 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config 
-DGENERATOR_FILE  -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genattrtab.c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genattrtab.c:6240: 
internal compiler error: Segmentation fault: 11

Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
{standard input}: Assembler 

Re: FreeBSD 6.1-RELEASE source update fails during compilation

2007-04-08 Thread Josh Paetzel
Jason Vance wrote:
 I'm unable to buildworld on a brand new installation of freebsd 6.1.  Almost 
 everytime my build fails on the genattrtab.c section of cc_tools.  I've tried 
 multiple harddrives, and downloaded the source code many times.  A couple of 
 times the system has rebooted itself, once during cvsup of the source code, 
 and 
 again during a build.
 
 What else should I be looking for to diagnose this problem?
 
 My System:
 
 FreeBSD 6.1-RELEASE
 733MHZ Intel P3
 Asus pv3-4x latest bios 1006.004
 Sound Blaster Live
 Voodoo 3 16mb GFX Card
 HDDs:  I've tried 3 different drives, the first few tries were with 2 drives 
 gmirror'd and then without the gmirror ( RAID 1 )
 
 Memtest checks out ok ( Ran 5 hours 150 loops )
 
 Here is the last few lines of everytime I've tried to compile the source.
 

Failures likes these are almost always hardware related.  If it was a 
software problem it would die at the same place every time.  You 
could be suffering from overheating, bad ram (regardless of what 
memtest tells you) power fluctuations due to a faulty PSU, or any 
other number of esoteric problems.  FreeBSD has this knack of not 
playing nicely with partially broken hardware. :)

Thanks, 

Josh Paetzel

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.1-RELEASE source update fails during compilation

2007-04-08 Thread Clayton Milos


- Original Message - 
From: Josh Paetzel [EMAIL PROTECTED]

To: Jason Vance [EMAIL PROTECTED]
Cc: freebsd-stable@freebsd.org
Sent: Monday, April 09, 2007 12:22 AM
Subject: Re: FreeBSD 6.1-RELEASE source update fails during compilation



Jason Vance wrote:
I'm unable to buildworld on a brand new installation of freebsd 6.1. 
Almost
everytime my build fails on the genattrtab.c section of cc_tools.  I've 
tried
multiple harddrives, and downloaded the source code many times.  A couple 
of
times the system has rebooted itself, once during cvsup of the source 
code, and

again during a build.

What else should I be looking for to diagnose this problem?

My System:

FreeBSD 6.1-RELEASE
733MHZ Intel P3
Asus pv3-4x latest bios 1006.004
Sound Blaster Live
Voodoo 3 16mb GFX Card
HDDs:  I've tried 3 different drives, the first few tries were with 2 
drives

gmirror'd and then without the gmirror ( RAID 1 )

Memtest checks out ok ( Ran 5 hours 150 loops )

Here is the last few lines of everytime I've tried to compile the source.



Failures likes these are almost always hardware related.  If it was a
software problem it would die at the same place every time.  You
could be suffering from overheating, bad ram (regardless of what
memtest tells you) power fluctuations due to a faulty PSU, or any
other number of esoteric problems.  FreeBSD has this knack of not
playing nicely with partially broken hardware. :)

Thanks,

Josh Paetzel



The first thing I would blame would be the memory. Memtest running OK seems 
to write that off but it could still be that or likely somehting else that 
is hardware related.


Every time there's been a software fault in FreeBSD it happens in the same 
place which is expected. As Josh says I've had the experience with FreeBSD 
working partially with broken hardware and then falling apart under load. 
Heat is a really random error that is often a problem. Is your heatsink 
coping well? Are you using Maxtor drives ? I've said this before and forgive 
me for my slamming of Maxtor hard drives but they get their lovely speed 
from not ECC checking the PATA bus which is awesme for corrupting data and 
giving you erratic errors.


Perhaps the motherboard is even faulty. Give all your RAM and peripheral 
cards a wiggle to make sure they have a good connection. I only use ECC RAM 
because non-ECC RAM has given friends of mine some really random 
unreplicable errors that confused them for a while.


Why are you upgrading to 6.1 and not 6.2? Is there a specific reason? I'd 
really advise using 6.2 because there were some issues with 6.1 even if it 
wasn't with your specific hardware.


-Clay

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]