Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-15 Thread Traiano Welcome

Ok, I've taken the coward's way out and installed a fresh system from CD,
upgrading according to the manual's  best practice recommended method :-)
I've kept  the VM images of the failed upgrade system, when I have some
time I'll dig  a bit further for the actual reason make buildworld failed.

Thanks for all the suggestions!
Traiano

On 2011/11/14 11:59 AM, Traiano Welcome
traiano.welc...@mtnbusiness.co.za wrote:



On 2011/11/14 11:25 AM, Damien Fleuriot m...@my.gd wrote:


On 11/11/11 11:53 AM, Polytropon wrote:
 On Fri, 11 Nov 2011 10:45:15 +, Traiano Welcome wrote:
 And I don't seem to have a src.conf anywhere on my filesystem ...
Hmmm.
 
 You'll have to create it yourself (just like /etc/make.conf).
 See man src.conf for details.
 



I can't see any odd variables in your /etc/make.conf


Me neither. This is a standard config I've used for hundreds of bsd
machines (vms and real tin) so I doubt this has anything to do with ... Of
course, source may change, requiring make.conf to change, but I'm
spculating here :P





I would suggest trying to update from 8.0 to 8.1 first, instead of 8.0
- 8.2


Currently testing this ...





Please try this and see if you can successfully build the world.


If you still can't, try updating from 8.0 to 8.0 (yes, I'm serious).
See if you can build the world.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-14 Thread Damien Fleuriot


On 11/11/11 11:43 AM, Traiano Welcome wrote:
 
 Most recent suggestions from Damien Fleuriot:
 
 [root@snmp-proxy02 /usr/src]# cat /etc/make.conf
 
 SUP_UPDATE= yes
 SUP=/usr/bin/csup
 SUPFLAGS=   -zgL 2
 SUPHOST=cvsup2.za.freebsd.org
 SUPFILE=/etc/cvsup/stable-supfile
 PORTSSUPFILE=   /etc/cvsup/ports-supfile
 DOCSUPFILE= /etc/cvsup/doc-supfile
 ENABLE_SUID_K5SU=YES
 # added by use.perl 2011-11-09 12:33:48
 PERL_VERSION=5.10.1
 
 
 
 
 I see the same compile issue with both variants of my make.conf.
 
 

To clarify, my suggestion has to do with the way you run your updates.

These variables in /etc/make.conf allow you to forgo the manual use of
csup [args] , and instead use:
cd /usr/src ; make update


It is not intended as a fix to your build issues and should have no
effect on them whatsoever.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-14 Thread Damien Fleuriot

On 11/11/11 11:53 AM, Polytropon wrote:
 On Fri, 11 Nov 2011 10:45:15 +, Traiano Welcome wrote:
 And I don't seem to have a src.conf anywhere on my filesystem ... Hmmm.
 
 You'll have to create it yourself (just like /etc/make.conf).
 See man src.conf for details.
 



I can't see any odd variables in your /etc/make.conf


I would suggest trying to update from 8.0 to 8.1 first, instead of 8.0
- 8.2


Please try this and see if you can successfully build the world.


If you still can't, try updating from 8.0 to 8.0 (yes, I'm serious).
See if you can build the world.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-14 Thread Traiano Welcome


On 2011/11/14 11:25 AM, Damien Fleuriot m...@my.gd wrote:


On 11/11/11 11:53 AM, Polytropon wrote:
 On Fri, 11 Nov 2011 10:45:15 +, Traiano Welcome wrote:
 And I don't seem to have a src.conf anywhere on my filesystem ... Hmmm.
 
 You'll have to create it yourself (just like /etc/make.conf).
 See man src.conf for details.
 



I can't see any odd variables in your /etc/make.conf


Me neither. This is a standard config I've used for hundreds of bsd
machines (vms and real tin) so I doubt this has anything to do with ... Of
course, source may change, requiring make.conf to change, but I'm
spculating here :P





I would suggest trying to update from 8.0 to 8.1 first, instead of 8.0
- 8.2


Currently testing this ...





Please try this and see if you can successfully build the world.


If you still can't, try updating from 8.0 to 8.0 (yes, I'm serious).
See if you can build the world.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-13 Thread Frank Shute
On Fri, Nov 11, 2011 at 10:51:29AM +, Traiano Welcome wrote:

 Another question worth asking: how much memory/swap does the machine
 have? If FreeBSD runs short of memory, it will start killing
 processes.

 Hi Frank
 
  As follows:
 
  Mem: 96M Active, 286M Inact, 224M Wired, 213M Buf, 1368M Free
  Swap: 4094M Total, 4094M Free
 
 Note that this is FreeBSD system is installed in a Vmware VM. No swap
 partition is configured as I expected the system to run entirely with RAM
 as managed by the Vmware hypervisor and resource management technology.
 Note that this machine is currently doing nothing else other than my
 attempts at make buildworld.
 

Hi Traiano,


That looks OK.

The only other thing I can think of is testing your memory with
sysutils/memtest.

It's unusual for it to die with SIGKILL though. Still it's worth
ruling it out.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpRosaJTqn93.pgp
Description: PGP signature


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-11 Thread Traiano Welcome
Hi Damien

/etc/make.conf as follows (with your recently suggested changes added):

SUP_UPDATE= yes
SUP=/usr/bin/csup
SUPFLAGS=   -zgL 2
SUPHOST=cvsup2.za.freebsd.org
SUPFILE=/etc/cvsup/stable-supfile
PORTSSUPFILE=   /etc/cvsup/ports-supfile
DOCSUPFILE= /etc/cvsup/doc-supfile
#
ENABLE_SUID_K5SU=YES
# added by use.perl 2011-11-09 12:33:48
PERL_VERSION=5.10.1


And I don't seem to have a src.conf anywhere on my filesystem ... Hmmm.



On 2011/11/10 3:17 PM, Damien Fleuriot m...@my.gd wrote:

On 11/10/11 11:05 AM, Traiano Welcome wrote:
 Hi All
 
  I'm trying to upgrade from FreeBSD 8.0-RELEASE #0 to FreeBSD 8.2 or
 better. My upgrade sequence would be as follows:
 
  0. cd /usr/src/;make cleanworld (and in extreme cases rm -rf /usr/src/*
 and rm -rf /usr/obj)
  1. csup -L 2 stable supfile.
  2. cd /usr/src; make buildworld  make buildkernel  make
installkernel
  make installworld  reboot
  3. mergemaster -p  make installworld  mergemaster  reboot
 

Your upgrade steps are wrong, although this has nothing to do with your
buildworld failing.

1/ make buildworld (automatically cleans up anyway)
2/ make buildkernel
3/ make installkernel
4/ mergemaster -p
5/ reboot (single user if possible)
6/ make installworld
7/ mergemaster -F
8/ reboot
9/ optional, make delete-old



Why use csup manually ?
Set your variables in /etc/make.conf and just run make update from
/usr/src.


Here are mine:
SUP_UPDATE= yes
SUP=/usr/bin/csup
SUPFLAGS=   -zgL 2
SUPHOST=cvsup1.fr.freebsd.org
SUPFILE=/etc/cvsup/stable-supfile
PORTSSUPFILE=   /etc/cvsup/ports-supfile
DOCSUPFILE= /etc/cvsup/doc-supfile


== Post your src.conf and make.conf, your problem might be there.


As a last resort, I would suggest synching sources with 8.1 and trying
to build it, to see if you still encounter the problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-10 Thread Traiano Welcome
Hi All

 I'm trying to upgrade from FreeBSD 8.0-RELEASE #0 to FreeBSD 8.2 or
better. My upgrade sequence would be as follows:

 0. cd /usr/src/;make cleanworld (and in extreme cases rm -rf /usr/src/*
and rm -rf /usr/obj)
 1. csup -L 2 stable supfile.
 2. cd /usr/src; make buildworld  make buildkernel  make installkernel
 make installworld  reboot
 3. mergemaster -p  make installworld  mergemaster  reboot


My stable-supfile is as follows:

---
 *default host=cvsup2.za.freebsd.org
 *default base=/var/db
 *default prefix=/usr
 *default release=cvs tag=RELENG_8_2
 *default delete use-rel-suffix
 src-all
---


 However, I'm not getting past make buildworld. Below is the tail end of
my make buildworld:

---
.
.
.

cc -O2 -pipe -DIN_GCC -DHAVE_CONFIG_H
-DPREFIX=\/usr/obj/usr/src/tmp/usr\
-I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
  -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c
cc: Internal error: Killed: 9 (program cc1)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

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

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

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

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

Stop in /usr/src.
---


My questions are:

- Is this a known issue (can't  seem to find much on google) ?
- If not, how would I go about pinpointing the root cause of this compile
error. Upping the make debug level doesn't seem to get my any more
detailed information that I can use .

I've run csup multiple times (with multiple make clean;make
cleanworld;make cleandir in between) across 48 hours , but each update  to
my source tree doesn't seem to get any different result.

I've also tried upgrading my userland tools before doing the upgrade
(portupgrade -a) in the hope that the my compiler tools might have been
updated to fix this.


Any advice would be appreciated,
Traiano


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-10 Thread Denise H. G.

On 2011/11/10 at 18:05, Traiano Welcome traiano.welc...@mtnbusiness.co.za 
wrote:
 
 Hi All
  I'm trying to upgrade from FreeBSD 8.0-RELEASE #0 to FreeBSD 8.2 or
 better. My upgrade sequence would be as follows:
 
  0. cd /usr/src/;make cleanworld (and in extreme cases rm -rf /usr/src/*
 and rm -rf /usr/obj)
  1. csup -L 2 stable supfile.
  2. cd /usr/src; make buildworld  make buildkernel  make installkernel
  make installworld  reboot
  3. mergemaster -p  make installworld  mergemaster  reboot
 

No. your upgrade steps are a little bit wrong. Just follow this:

build world - build kernel - install kernel - reboot to singler user -
mergemaster -p - install world - mergemaster - make delete-old ...

You'd better take a look at /usr/src/UPGRADING, which contains details
about upgrade steps.


 
 My stable-supfile is as follows:
 
 ---
  *default host=cvsup2.za.freebsd.org
  *default base=/var/db
  *default prefix=/usr
  *default release=cvs tag=RELENG_8_2
  *default delete use-rel-suffix
  src-all
 ---
 
 
  However, I'm not getting past make buildworld. Below is the tail end of
 my make buildworld:
 
 ---
 .
 .
 .
 
 cc -O2 -pipe -DIN_GCC -DHAVE_CONFIG_H
 -DPREFIX=\/usr/obj/usr/src/tmp/usr\
 -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
 -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
  -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
   -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c
 cc: Internal error: Killed: 9 (program cc1)
 Please submit a full bug report.
 See URL:http://gcc.gnu.org/bugs.html for instructions.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.bin/cc/cc_int.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.bin/cc.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 ---
 
 
 My questions are:
 
 - Is this a known issue (can't  seem to find much on google) ?
 - If not, how would I go about pinpointing the root cause of this compile
 error. Upping the make debug level doesn't seem to get my any more
 detailed information that I can use .
 
 I've run csup multiple times (with multiple make clean;make
 cleanworld;make cleandir in between) across 48 hours , but each update  to
 my source tree doesn't seem to get any different result.
 
 I've also tried upgrading my userland tools before doing the upgrade
 (portupgrade -a) in the hope that the my compiler tools might have been
 updated to fix this.
 
 
 Any advice would be appreciated,
 Traiano
 
 
  



-- 
History proves nothing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-10 Thread Traiano Welcome
Hi 

Thanks for the feedback.


On 2011/11/10 1:28 PM, Denise H. G. darc...@gmail.com wrote:


On 2011/11/10 at 18:05, Traiano Welcome
traiano.welc...@mtnbusiness.co.za wrote:
 
 Hi All
  I'm trying to upgrade from FreeBSD 8.0-RELEASE #0 to FreeBSD 8.2 or
 better. My upgrade sequence would be as follows:
 
  0. cd /usr/src/;make cleanworld (and in extreme cases rm -rf /usr/src/*
 and rm -rf /usr/obj)
  1. csup -L 2 stable supfile.
  2. cd /usr/src; make buildworld  make buildkernel  make
installkernel
  make installworld  reboot
  3. mergemaster -p  make installworld  mergemaster  reboot
 

No. your upgrade steps are a little bit wrong. Just follow this:

build world - build kernel - install kernel - reboot to singler user -
mergemaster -p - install world - mergemaster - make delete-old ...


I'd be happy to try this sequence, however I don't make it  past make
buildworld. 
(of note, the sequence I used above works on all my other boxen though)

I've just scrutinised /usr/src/UPDATING (there is no file called UPGRADING
? ) and can't seem to find anything specific to this make fail. File
version as follows:

 $FreeBSD: src/UPDATING,v 1.632.2.19.2.6 2011/10/04 19:07:38 cperciva Exp $

I'm following the process outlined in the FreeBSD manual up until make
buildworld, and can't see where I might be wrecking things:

 1) synching the source:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html

 (... BTW, note to editor: I see nothing in this section of the manual
about csup?

 2) building world:

 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

BTW: I've just upgraded my binutils (as, ld) as there was a reference  in
the UPDATING file to an ld bug, but that did not seem to affect anything.




You'd better take a look at /usr/src/UPGRADING, which contains details
about upgrade steps.


 
 My stable-supfile is as follows:
 
 ---
  *default host=cvsup2.za.freebsd.org
  *default base=/var/db
  *default prefix=/usr
  *default release=cvs tag=RELENG_8_2
  *default delete use-rel-suffix
  src-all
 ---
 
 
  However, I'm not getting past make buildworld. Below is the tail end
of
 my make buildworld:
 
 ---
 .
 .
 .
 
 cc -O2 -pipe -DIN_GCC -DHAVE_CONFIG_H
 -DPREFIX=\/usr/obj/usr/src/tmp/usr\
 -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
 -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
 
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/inclu
de
  
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
   -I/usr/obj/usr/src/tmp/legacy/usr/include -c
../cc_tools/insn-attrtab.c
 cc: Internal error: Killed: 9 (program cc1)
 Please submit a full bug report.
 See URL:http://gcc.gnu.org/bugs.html for instructions.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.bin/cc/cc_int.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.bin/cc.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 ---
 
 
 My questions are:
 
 - Is this a known issue (can't  seem to find much on google) ?
 - If not, how would I go about pinpointing the root cause of this
compile
 error. Upping the make debug level doesn't seem to get my any more
 detailed information that I can use .
 
 I've run csup multiple times (with multiple make clean;make
 cleanworld;make cleandir in between) across 48 hours , but each update
to
 my source tree doesn't seem to get any different result.
 
 I've also tried upgrading my userland tools before doing the upgrade
 (portupgrade -a) in the hope that the my compiler tools might have been
 updated to fix this.
 
 
 Any advice would be appreciated,
 Traiano
 
 
 



-- 
History proves nothing.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-10 Thread Damien Fleuriot
On 11/10/11 11:05 AM, Traiano Welcome wrote:
 Hi All
 
  I'm trying to upgrade from FreeBSD 8.0-RELEASE #0 to FreeBSD 8.2 or
 better. My upgrade sequence would be as follows:
 
  0. cd /usr/src/;make cleanworld (and in extreme cases rm -rf /usr/src/*
 and rm -rf /usr/obj)
  1. csup -L 2 stable supfile.
  2. cd /usr/src; make buildworld  make buildkernel  make installkernel
  make installworld  reboot
  3. mergemaster -p  make installworld  mergemaster  reboot
 

Your upgrade steps are wrong, although this has nothing to do with your
buildworld failing.

1/ make buildworld (automatically cleans up anyway)
2/ make buildkernel
3/ make installkernel
4/ mergemaster -p
5/ reboot (single user if possible)
6/ make installworld
7/ mergemaster -F
8/ reboot
9/ optional, make delete-old



Why use csup manually ?
Set your variables in /etc/make.conf and just run make update from
/usr/src.


Here are mine:
SUP_UPDATE= yes
SUP=/usr/bin/csup
SUPFLAGS=   -zgL 2
SUPHOST=cvsup1.fr.freebsd.org
SUPFILE=/etc/cvsup/stable-supfile
PORTSSUPFILE=   /etc/cvsup/ports-supfile
DOCSUPFILE= /etc/cvsup/doc-supfile


== Post your src.conf and make.conf, your problem might be there.


As a last resort, I would suggest synching sources with 8.1 and trying
to build it, to see if you still encounter the problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-10 Thread Johan Hendriks

Damien Fleuriot schreef:

Here are mine:
SUP_UPDATE= yes
SUP=/usr/bin/csup
SUPFLAGS=   -zgL 2
SUPHOST=cvsup1.fr.freebsd.org
SUPFILE=/etc/cvsup/stable-supfile
PORTSSUPFILE=   /etc/cvsup/ports-supfile
DOCSUPFILE= /etc/cvsup/doc-supfile

There is no -g anymore for csup, so

SUPFLAGS= -zL2 would do.

regards
Johan Hendriks

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-10 Thread Denise H. G.

On 2011/11/10 at 20:56, Traiano Welcome traiano.welc...@mtnbusiness.co.za 
wrote:
 
 Hi 
 Thanks for the feedback.
 
 
 
 I'd be happy to try this sequence, however I don't make it  past make
 buildworld. 
 (of note, the sequence I used above works on all my other boxen though)
 
 I've just scrutinised /usr/src/UPDATING (there is no file called UPGRADING
 ? ) and can't seem to find anything specific to this make fail. File
 version as follows:

Sorry, it's a typo. It IS UPDATING not UPGRADING:)

If you still can't make it, there probably are some problems with your
system. Or you could clean up everything, re-csup your system sources
and try again. Or you could file a bug report to see if it helps.

 
  $FreeBSD: src/UPDATING,v 1.632.2.19.2.6 2011/10/04 19:07:38 cperciva Exp $
 
 I'm following the process outlined in the FreeBSD manual up until make
 buildworld, and can't see where I might be wrecking things:
 
  1) synching the source:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html
 
  (... BTW, note to editor: I see nothing in this section of the manual
 about csup?

csup is a C language rewrite of cvsup. Generally you could tell no
difference between them from a user's perspective.


 
  2) building world:
 
  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
 
 BTW: I've just upgraded my binutils (as, ld) as there was a reference  in
 the UPDATING file to an ld bug, but that did not seem to affect anything.
 

I think this might be irrelevant to your case.

-- 
History proves nothing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-10 Thread Frank Shute
On Thu, Nov 10, 2011 at 10:05:27AM +, Traiano Welcome wrote:

 Hi All
 
  I'm trying to upgrade from FreeBSD 8.0-RELEASE #0 to FreeBSD 8.2 or
 better. My upgrade sequence would be as follows:
 
  0. cd /usr/src/;make cleanworld (and in extreme cases rm -rf /usr/src/*
 and rm -rf /usr/obj)
  1. csup -L 2 stable supfile.
  2. cd /usr/src; make buildworld  make buildkernel  make installkernel
  make installworld  reboot
  3. mergemaster -p  make installworld  mergemaster  reboot
 
 
 My stable-supfile is as follows:
 
 ---
  *default host=cvsup2.za.freebsd.org
  *default base=/var/db
  *default prefix=/usr
  *default release=cvs tag=RELENG_8_2
  *default delete use-rel-suffix
  src-all
 ---
 
 
  However, I'm not getting past make buildworld. Below is the tail end of
 my make buildworld:
 
 ---
 .
 .
 .
 
 cc -O2 -pipe -DIN_GCC -DHAVE_CONFIG_H
 -DPREFIX=\/usr/obj/usr/src/tmp/usr\
 -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
 -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
  -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
   -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c
 cc: Internal error: Killed: 9 (program cc1)
 Please submit a full bug report.
 See URL:http://gcc.gnu.org/bugs.html for instructions.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.bin/cc/cc_int.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.bin/cc.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 ---
 
 
 My questions are:
 
 - Is this a known issue (can't  seem to find much on google) ?
 - If not, how would I go about pinpointing the root cause of this compile
 error. Upping the make debug level doesn't seem to get my any more
 detailed information that I can use .
 
 I've run csup multiple times (with multiple make clean;make
 cleanworld;make cleandir in between) across 48 hours , but each update  to
 my source tree doesn't seem to get any different result.
 
 I've also tried upgrading my userland tools before doing the upgrade
 (portupgrade -a) in the hope that the my compiler tools might have been
 updated to fix this.
 
 
 Any advice would be appreciated,
 Traiano

Can you supply us with:

$ uname -a
$ cc -v
$ cat /etc/make.conf


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpvMQHm2oAGP.pgp
Description: PGP signature


Re: FreeBSD make buildworld fail: cc: Internal error: Killed: 9 (program cc1)

2011-11-10 Thread Frank Shute
On Thu, Nov 10, 2011 at 10:05:27AM +, Traiano Welcome wrote:

[snip]
 
 cc -O2 -pipe -DIN_GCC -DHAVE_CONFIG_H
 -DPREFIX=\/usr/obj/usr/src/tmp/usr\
 -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
 -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
  -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
   -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c
 cc: Internal error: Killed: 9 (program cc1)
 Please submit a full bug report.
 See URL:http://gcc.gnu.org/bugs.html for instructions.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.bin/cc/cc_int.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.bin/cc.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 ---
 

Another question worth asking: how much memory/swap does the machine
have? If FreeBSD runs short of memory, it will start killing
processes.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpJifom8hqvp.pgp
Description: PGP signature


Buildworld fail

2011-03-08 Thread Erik Norgaard

Hi:

I'm trying to upgrade to 8.2, just updated source, cleaned up any 
leftovers from previous build, but make buildworld fails. I have,


alpha# uname -a
FreeBSD alpha 8.1-STABLE FreeBSD 8.1-STABLE #0: Sat Oct  2 20:34:13 CEST 
2010 root@alpha:/usr/local/obj/usr/local/src/sys/GENERIC  i386

alpha# echo $MAKEOBJDIRPREFIX
/usr/local/obj
alpha# make buildworld
--
 World build started on Tue Mar  8 11:30:53 CET 2011
--

--
 Rebuilding the temporary build tree
--
rm -rf /usr/local/obj/usr/local/src/tmp
mkdir -p /usr/local/obj/usr/local/src/tmp/lib
mkdir -p /usr/local/obj/usr/local/src/tmp/usr
mkdir -p /usr/local/obj/usr/local/src/tmp/legacy/usr
mtree -deU -f /usr/local/src/etc/mtree/BSD.usr.dist  -p 
/usr/local/obj/usr/local/src/tmp/legacy/usr /dev/null
mtree -deU -f /usr/local/src/etc/mtree/BSD.usr.dist  -p 
/usr/local/obj/usr/local/src/tmp/usr /dev/null
mtree -deU -f /usr/local/src/etc/mtree/BSD.include.dist  -p 
/usr/local/obj/usr/local/src/tmp/usr/include /dev/null

ln -sf /usr/local/src/sys /usr/local/obj/usr/local/src/tmp

--
 stage 1.1: legacy release compatibility shims
--
cd /usr/local/src; MAKEOBJDIRPREFIX=/usr/local/obj/usr/local/src/tmp 
INSTALL=sh /usr/local/src/tools/install.sh 
PATH=/usr/local/obj/usr/local/src/tmp/legacy/usr/sbin:/usr/local/obj/usr/local/src/tmp/legacy/usr/bin:/usr/local/obj/usr/local/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
 WORLDTMP=/usr/local/obj/usr/local/src/tmp  VERSION=FreeBSD 8.1-STABLE 
i386 801500  MAKEFLAGS=-m /usr/local/src/tools/build/mk  -m 
/usr/local/src/share/mk make -f Makefile.inc1  DESTDIR= 
BOOTSTRAPPING=801500  SSP_CFLAGS=  -DWITHOUT_HTML -DWITHOUT_INFO 
-DNO_LINT -DWITHOUT_MAN  -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED 
-DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF legacy

=== tools/build (obj,includes,depend,all,install)
/usr/local/obj/usr/local/src/tmp/usr/local/src/tools/build created for 
/usr/local/src/tools/build

cd /usr/local/src/tools/build; make buildincludes; make installincludes
rm -f .depend
mkdep -f .depend -a 
-I/usr/local/obj/usr/local/src/tmp/legacy/usr/include 
/usr/local/src/tools/build/dummy.c

built-in:0: 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.
mkdep: compile failed
*** Error code 1

Stop in /usr/local/src/tools/build.
*** Error code 1

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

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

Stop in /usr/local/src.

OK, so it quite clearly states, sumbit bug report, but ..

Any clue?

Thanks, Erik
--
Erik Nørgaard
Ph: +34.666334818http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Buildworld fail

2011-03-08 Thread Damien Fleuriot
On 3/8/11 11:40 AM, Erik Norgaard wrote:
 Hi:
 
 I'm trying to upgrade to 8.2, just updated source, cleaned up any
 leftovers from previous build, but make buildworld fails. I have,
 
 alpha# uname -a
 FreeBSD alpha 8.1-STABLE FreeBSD 8.1-STABLE #0: Sat Oct  2 20:34:13 CEST
 2010 root@alpha:/usr/local/obj/usr/local/src/sys/GENERIC  i386
 alpha# echo $MAKEOBJDIRPREFIX
 /usr/local/obj
 alpha# make buildworld
 --
 World build started on Tue Mar  8 11:30:53 CET 2011
 --
 
 --
 Rebuilding the temporary build tree
 --
 rm -rf /usr/local/obj/usr/local/src/tmp
 mkdir -p /usr/local/obj/usr/local/src/tmp/lib
 mkdir -p /usr/local/obj/usr/local/src/tmp/usr
 mkdir -p /usr/local/obj/usr/local/src/tmp/legacy/usr
 mtree -deU -f /usr/local/src/etc/mtree/BSD.usr.dist  -p
 /usr/local/obj/usr/local/src/tmp/legacy/usr /dev/null
 mtree -deU -f /usr/local/src/etc/mtree/BSD.usr.dist  -p
 /usr/local/obj/usr/local/src/tmp/usr /dev/null
 mtree -deU -f /usr/local/src/etc/mtree/BSD.include.dist  -p
 /usr/local/obj/usr/local/src/tmp/usr/include /dev/null
 ln -sf /usr/local/src/sys /usr/local/obj/usr/local/src/tmp
 
 --
 stage 1.1: legacy release compatibility shims
 --
 cd /usr/local/src; MAKEOBJDIRPREFIX=/usr/local/obj/usr/local/src/tmp
 INSTALL=sh /usr/local/src/tools/install.sh
 PATH=/usr/local/obj/usr/local/src/tmp/legacy/usr/sbin:/usr/local/obj/usr/local/src/tmp/legacy/usr/bin:/usr/local/obj/usr/local/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  WORLDTMP=/usr/local/obj/usr/local/src/tmp  VERSION=FreeBSD 8.1-STABLE
 i386 801500  MAKEFLAGS=-m /usr/local/src/tools/build/mk  -m
 /usr/local/src/share/mk make -f Makefile.inc1  DESTDIR=
 BOOTSTRAPPING=801500  SSP_CFLAGS=  -DWITHOUT_HTML -DWITHOUT_INFO
 -DNO_LINT -DWITHOUT_MAN  -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED
 -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF legacy
 === tools/build (obj,includes,depend,all,install)
 /usr/local/obj/usr/local/src/tmp/usr/local/src/tools/build created for
 /usr/local/src/tools/build
 cd /usr/local/src/tools/build; make buildincludes; make installincludes
 rm -f .depend
 mkdep -f .depend -a
 -I/usr/local/obj/usr/local/src/tmp/legacy/usr/include
 /usr/local/src/tools/build/dummy.c
 built-in:0: 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.
 mkdep: compile failed
 *** Error code 1
 
 Stop in /usr/local/src/tools/build.
 *** Error code 1
 
 Stop in /usr/local/src.
 *** Error code 1
 
 Stop in /usr/local/src.
 *** Error code 1
 
 Stop in /usr/local/src.
 
 OK, so it quite clearly states, sumbit bug report, but ..
 
 Any clue?
 
 Thanks, Erik



Contents of your make.conf ?
You never know...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Buildworld fail

2011-03-08 Thread Erik Norgaard

On 08/03/2011 12:21, Damien Fleuriot wrote:

Contents of your make.conf ?
You never know...


LOADER_TFTP_SUPPORT= YES
#SUP_UPDATE=
#SUP=/usr/bin/csup
#SUPFLAGS=   -g -L 2
SUPHOST=cvsup.uk.FreeBSD.org
SUPFILE=/usr/local/src/standard-supfile
PORTSSUPFILE=   /usr/local/ports/ports-supfile
PORTSDIR=   /usr/local/ports
WITHOUT_X11=YES
WITH_BDB_VER=46
WITH_MODPERL2=YES
PYTHON_VERSION=python2.6
PERL_VERSION=5.12.2

Nothing dramatic there... and in the csup file:

*default host=cvsup.uk.FreeBSD.org
*default base=/var/db
*default prefix=/usr/local
*default release=cvs tag=RELENG_8
*default delete use-rel-suffix
*default compress
src-all

csup'ed the source right before build.

Thanks, Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Buildworld fail

2011-03-08 Thread Damien Fleuriot
On 3/8/11 12:28 PM, Erik Norgaard wrote:
 On 08/03/2011 12:21, Damien Fleuriot wrote:
 Contents of your make.conf ?
 You never know...
 
 LOADER_TFTP_SUPPORT= YES
 #SUP_UPDATE=
 #SUP=/usr/bin/csup
 #SUPFLAGS=   -g -L 2
 SUPHOST=cvsup.uk.FreeBSD.org
 SUPFILE=/usr/local/src/standard-supfile
 PORTSSUPFILE=   /usr/local/ports/ports-supfile
 PORTSDIR=   /usr/local/ports
 WITHOUT_X11=YES
 WITH_BDB_VER=46
 WITH_MODPERL2=YES
 PYTHON_VERSION=python2.6
 PERL_VERSION=5.12.2
 
 Nothing dramatic there... and in the csup file:
 
 *default host=cvsup.uk.FreeBSD.org
 *default base=/var/db
 *default prefix=/usr/local
 *default release=cvs tag=RELENG_8
 *default delete use-rel-suffix
 *default compress
 src-all
 
 csup'ed the source right before build.
 
 Thanks, Erik


Can you try with the release tag RELENG_8_2 ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Buildworld fail

2011-03-08 Thread Erik Norgaard

On 08/03/2011 12:22, Robert Bonomi wrote:

Something -- just what is unknown --  triggered an *INTERNAL*COMPILER*ERROR*
doing a 'makedep'.

Dig through the mailing-list archives for the last week or two.  There was
another report of the compiler choking.  As I recall, there was a follow-
up to -that- report that found an 'oops' in a header file, and a simple fix.


I just checked the archives, indeed there was a thread but the failure 
was at a later point, state 1.2 and the fix was to remove some CFLAGS 
options which I don't have. I didn't find other threads.


BR, Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Buildworld fail

2011-03-08 Thread Erik Norgaard

On 08/03/2011 12:49, Damien Fleuriot wrote:


Can you try with the release tag RELENG_8_2 ?


I just nuked src and obj and did a fresh checkout of RELENG_8_2, but the 
problem persist :(


--
 stage 1.1: legacy release compatibility shims
--
cd /usr/local/src; MAKEOBJDIRPREFIX=/usr/local/obj/usr/local/src/tmp 
INSTALL=sh /usr/local/src/tools/install.sh 
PATH=/usr/local/obj/usr/local/src/tmp/legacy/usr/sbin:/usr/local/obj/usr/local/src/tmp/legacy/usr/bin:/usr/local/obj/usr/local/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
 WORLDTMP=/usr/local/obj/usr/local/src/tmp  VERSION=FreeBSD 8.1-STABLE 
i386 801500  MAKEFLAGS=-m /usr/local/src/tools/build/mk  -m 
/usr/local/src/share/mk make -f Makefile.inc1  DESTDIR= 
BOOTSTRAPPING=801500  SSP_CFLAGS=  -DWITHOUT_HTML -DWITHOUT_INFO 
-DNO_LINT -DWITHOUT_MAN  -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED 
-DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF legacy

=== tools/build (obj,includes,depend,all,install)
/usr/local/obj/usr/local/src/tmp/usr/local/src/tools/build created for 
/usr/local/src/tools/build

cd /usr/local/src/tools/build; make buildincludes; make installincludes
rm -f .depend
mkdep -f .depend -a 
-I/usr/local/obj/usr/local/src/tmp/legacy/usr/include 
/usr/local/src/tools/build/dummy.c

built-in:0: 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.
mkdep: compile failed
*** Error code 1

Stop in /usr/local/src/tools/build.
*** Error code 1

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

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

Stop in /usr/local/src.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Buildworld fail

2011-03-08 Thread Damien Fleuriot


On 3/8/11 12:54 PM, Erik Norgaard wrote:
 On 08/03/2011 12:49, Damien Fleuriot wrote:
 
 Can you try with the release tag RELENG_8_2 ?
 
 I just nuked src and obj and did a fresh checkout of RELENG_8_2, but the
 problem persist :(
 
 --
 stage 1.1: legacy release compatibility shims
 --
 cd /usr/local/src; MAKEOBJDIRPREFIX=/usr/local/obj/usr/local/src/tmp
 INSTALL=sh /usr/local/src/tools/install.sh
 PATH=/usr/local/obj/usr/local/src/tmp/legacy/usr/sbin:/usr/local/obj/usr/local/src/tmp/legacy/usr/bin:/usr/local/obj/usr/local/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  WORLDTMP=/usr/local/obj/usr/local/src/tmp  VERSION=FreeBSD 8.1-STABLE
 i386 801500  MAKEFLAGS=-m /usr/local/src/tools/build/mk  -m
 /usr/local/src/share/mk make -f Makefile.inc1  DESTDIR=
 BOOTSTRAPPING=801500  SSP_CFLAGS=  -DWITHOUT_HTML -DWITHOUT_INFO
 -DNO_LINT -DWITHOUT_MAN  -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED
 -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF legacy
 === tools/build (obj,includes,depend,all,install)
 /usr/local/obj/usr/local/src/tmp/usr/local/src/tools/build created for
 /usr/local/src/tools/build
 cd /usr/local/src/tools/build; make buildincludes; make installincludes
 rm -f .depend
 mkdep -f .depend -a
 -I/usr/local/obj/usr/local/src/tmp/legacy/usr/include
 /usr/local/src/tools/build/dummy.c
 built-in:0: 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.
 mkdep: compile failed
 *** Error code 1
 
 Stop in /usr/local/src/tools/build.
 *** Error code 1
 
 Stop in /usr/local/src.
 *** Error code 1
 
 Stop in /usr/local/src.
 *** Error code 1
 
 Stop in /usr/local/src.


A segfault might be indicative of hardware problems, you may want to
check your ram chips ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Buildworld fail

2011-03-08 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/8/11 8:59 AM, Damien Fleuriot wrote:
 
 
 On 3/8/11 12:54 PM, Erik Norgaard wrote:
 On 08/03/2011 12:49, Damien Fleuriot wrote:

 Can you try with the release tag RELENG_8_2 ?

 I just nuked src and obj and did a fresh checkout of RELENG_8_2, but the
 problem persist :(

 --
 stage 1.1: legacy release compatibility shims
 --
 cd /usr/local/src; MAKEOBJDIRPREFIX=/usr/local/obj/usr/local/src/tmp
 INSTALL=sh /usr/local/src/tools/install.sh
 PATH=/usr/local/obj/usr/local/src/tmp/legacy/usr/sbin:/usr/local/obj/usr/local/src/tmp/legacy/usr/bin:/usr/local/obj/usr/local/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  WORLDTMP=/usr/local/obj/usr/local/src/tmp  VERSION=FreeBSD 8.1-STABLE
 i386 801500  MAKEFLAGS=-m /usr/local/src/tools/build/mk  -m
 /usr/local/src/share/mk make -f Makefile.inc1  DESTDIR=
 BOOTSTRAPPING=801500  SSP_CFLAGS=  -DWITHOUT_HTML -DWITHOUT_INFO
 -DNO_LINT -DWITHOUT_MAN  -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED
 -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF legacy
 === tools/build (obj,includes,depend,all,install)
 /usr/local/obj/usr/local/src/tmp/usr/local/src/tools/build created for
 /usr/local/src/tools/build
 cd /usr/local/src/tools/build; make buildincludes; make installincludes
 rm -f .depend
 mkdep -f .depend -a
 -I/usr/local/obj/usr/local/src/tmp/legacy/usr/include
 /usr/local/src/tools/build/dummy.c
 built-in:0: 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.
 mkdep: compile failed
 *** Error code 1

 Stop in /usr/local/src/tools/build.
 *** Error code 1

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

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

 Stop in /usr/local/src.
 
 
 A segfault might be indicative of hardware problems, you may want to
 check your ram chips ?

Reference: http://www.bitwizard.nl/sig11/

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk12QrUACgkQ0sRouByUApCv8gCfW5VAxdQMxBODVIGb48VeyTuC
3HMAniBloVnLvDYygjb4xYNTlMcxG6T4
=N82F
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Buildworld fail

2011-03-08 Thread Erik Norgaard

On 08/03/2011 15:52, Greg Larkin wrote:


A segfault might be indicative of hardware problems, you may want to
check your ram chips ?


Reference: http://www.bitwizard.nl/sig11/


Hi, thanks. Did a clean up again, reboot, fsck, reboot again and now 
it's building.


Probably time for an upgrade, it's a three year old VIA itx system with 
even older RAM module.


BR, Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Buildworld fail

2011-03-08 Thread Michael J. Kearney
Would anyone agree that it us possible the hardware console... logging in from 
a remote terminal has corrected my own segfaults on substandard hardware...

Damien Fleuriot m...@my.gd wrote:


On 3/8/11 11:40 AM, Erik Norgaard wrote:
 Hi:

 I'm trying to upgrade to 8.2, just updated source, cleaned up any
 leftovers from previous build, but make buildworld fails. I have,

 alpha# uname -a
 FreeBSD alpha 8.1-STABLE FreeBSD 8.1-STABLE #0: Sat Oct  2 20:34:13 CEST
 2010 root@alpha:/usr/local/obj/usr/local/src/sys/GENERIC  i386
 alpha# echo $MAKEOBJDIRPREFIX
 /usr/local/obj
 alpha# make buildworld
 --
 World build started on Tue Mar  8 11:30:53 CET 2011
 --

 --
 Rebuilding the temporary build tree
 --
 rm -rf /usr/local/obj/usr/local/src/tmp
 mkdir -p /usr/local/obj/usr/local/src/tmp/lib
 mkdir -p /usr/local/obj/usr/local/src/tmp/usr
 mkdir -p /usr/local/obj/usr/local/src/tmp/legacy/usr
 mtree -deU -f /usr/local/src/etc/mtree/BSD.usr.dist  -p
 /usr/local/obj/usr/local/src/tmp/legacy/usr /dev/null
 mtree -deU -f /usr/local/src/etc/mtree/BSD.usr.dist  -p
 /usr/local/obj/usr/local/src/tmp/usr /dev/null
 mtree -deU -f /usr/local/src/etc/mtree/BSD.include.dist  -p
 /usr/local/obj/usr/local/src/tmp/usr/include /dev/null
 ln -sf /usr/local/src/sys /usr/local/obj/usr/local/src/tmp

 --
 stage 1.1: legacy release compatibility shims
 --
 cd /usr/local/src; MAKEOBJDIRPREFIX=/usr/local/obj/usr/local/src/tmp
 INSTALL=sh /usr/local/src/tools/install.sh
 PATH=/usr/local/obj/usr/local/src/tmp/legacy/usr/sbin:/usr/local/obj/usr/local/src/tmp/legacy/usr/bin:/usr/local/obj/usr/local/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  WORLDTMP=/usr/local/obj/usr/local/src/tmp  VERSION=FreeBSD 8.1-STABLE
 i386 801500  MAKEFLAGS=-m /usr/local/src/tools/build/mk  -m
 /usr/local/src/share/mk make -f Makefile.inc1  DESTDIR=
 BOOTSTRAPPING=801500  SSP_CFLAGS=  -DWITHOUT_HTML -DWITHOUT_INFO
 -DNO_LINT -DWITHOUT_MAN  -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED
 -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF legacy
 === tools/build (obj,includes,depend,all,install)
 /usr/local/obj/usr/local/src/tmp/usr/local/src/tools/build created for
 /usr/local/src/tools/build
 cd /usr/local/src/tools/build; make buildincludes; make installincludes
 rm -f .depend
 mkdep -f .depend -a
 -I/usr/local/obj/usr/local/src/tmp/legacy/usr/include
 /usr/local/src/tools/build/dummy.c
 built-in:0: 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.
 mkdep: compile failed
 *** Error code 1

 Stop in /usr/local/src/tools/build.
 *** Error code 1

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

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

 Stop in /usr/local/src.

 OK, so it quite clearly states, sumbit bug report, but ..

 Any clue?

 Thanks, Erik



Contents of your make.conf ?
You never know...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Buildworld fail

2011-03-08 Thread Erik Norgaard

On 08/03/2011 21:16, Michael J. Kearney wrote:


Would anyone agree that it us possible the hardware console... logging in from 
a remote terminal has corrected my own segfaults on substandard hardware...


Depends on the hardware I guess. I am building everything remotely. I do 
know however that these VIA EPIA boards are known for a flacky disk 
controler, and the RAM I have installed is slower than the recommended, 
so it's not really ideal for reliable operation.


BR, Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Make buildworld fail due to sendmail/sasl installation.

2006-10-09 Thread Jesse Geddis
Well my last copying the header files all over the place apparently helped
because now I'm down to the linker not being able to find the libraries.
Suggestions?

=== libexec/mail.local
cc -O -pipe  -I/usr/src/libexec/mail.local/../../contrib/sendmail/include
-I. -I/usr/local/include/sasl -DSASL=2  -c
/usr/src/libexec/mail.local/../../contrib/sendmail/mail.local/mail.local.c
cc -O -pipe  -I/usr/src/libexec/mail.local/../../contrib/sendmail/include
-I. -I/usr/local/include/sasl -DSASL=2   -L/usr/local/lib/sasl2 -o
mail.local mail.local.o
/usr/obj/usr/src/libexec/mail.local/../../lib/libsm/libsm.a -lsasl2
/usr/obj/usr/src/sparc64/usr/bin/ld: cannot find -lsasl2
*** Error code 1

Stop in /usr/src/libexec/mail.local.
*** Error code 1

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

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

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

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jesse Geddis
Sent: Sunday, October 08, 2006 4:36 PM
To: freebsd-questions@freebsd.org
Subject: Make buildworld fail due to sendmail/sasl installation.

Ever since I installed the package sendmail+tls+sasl2-8.13.8 I
haven't been able to make buildworld on my system. I get file not found
errors for some sasl header files. I'll attach the pertinent portion of the
failure below. Seems simple enough, however, I haven't been able to get
around it. It calls for the sasl files in the correct directory
ns1:/usr/local/include/sasl# ls
hmac-md5.h  md5global.h sasl.h  saslutil.h
md5.h   prop.h  saslplug.h
The files are there. Still nothing. I've tried copying them to various
places to get around it to no avail
/usr/src/contrib/sendmail/src
/usr/src/contrib/sendmail/src/sasl
/usr/src/contrib/sendmail/libmilter
/usr/src/contrib/sendmail/libmilter/sasl
/usr/local/include

Not sure what to do with this, seems to me it would probably make things
easier on a lot of folks if sendmail was treated similar to how perl is on
freebsd these days, where it isn't integral. Not using the integral sendmail
has been a bit of a nightmare. Thanks so much for any help

Jesse

mkdep -f .depend -a-I/usr/src/lib/libmilter/../../contrib/sendmail/src
-I/usr/src/lib/libmilter/../../contrib/sendmail/include -I. -DNOT_SENDMAIL
-Dsm_snprintf=snprintf -D_THREAD_SAFE -DNETINET6 -I/usr/local/include/sasl
-DSASL=2 /usr/src/lib/libmilter/../../contrib/sendmail/libmilter/main.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/engine.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/listener.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/handler.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/comm.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/smfi.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/signal.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/sm_gethost.c
/usr/src/lib/libmilter/../../contrib/sendmail/libsm/errstring.c
/usr/src/lib/libmilter/../../contrib/sendmail/libsm/strl.c
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/main.c:15:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/engine.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/listener.c:18:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/handler.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/comm.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h

Make buildworld fail due to sendmail/sasl installation.

2006-10-08 Thread Jesse Geddis
Ever since I installed the package sendmail+tls+sasl2-8.13.8 I
haven't been able to make buildworld on my system. I get file not found
errors for some sasl header files. I'll attach the pertinent portion of the
failure below. Seems simple enough, however, I haven't been able to get
around it. It calls for the sasl files in the correct directory
ns1:/usr/local/include/sasl# ls
hmac-md5.h  md5global.h sasl.h  saslutil.h
md5.h   prop.h  saslplug.h
The files are there. Still nothing. I've tried copying them to various
places to get around it to no avail
/usr/src/contrib/sendmail/src
/usr/src/contrib/sendmail/src/sasl
/usr/src/contrib/sendmail/libmilter
/usr/src/contrib/sendmail/libmilter/sasl
/usr/local/include

Not sure what to do with this, seems to me it would probably make things
easier on a lot of folks if sendmail was treated similar to how perl is on
freebsd these days, where it isn't integral. Not using the integral sendmail
has been a bit of a nightmare. Thanks so much for any help

Jesse

mkdep -f .depend -a-I/usr/src/lib/libmilter/../../contrib/sendmail/src
-I/usr/src/lib/libmilter/../../contrib/sendmail/include -I. -DNOT_SENDMAIL
-Dsm_snprintf=snprintf -D_THREAD_SAFE -DNETINET6 -I/usr/local/include/sasl
-DSASL=2 /usr/src/lib/libmilter/../../contrib/sendmail/libmilter/main.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/engine.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/listener.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/handler.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/comm.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/smfi.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/signal.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/sm_gethost.c
/usr/src/lib/libmilter/../../contrib/sendmail/libsm/errstring.c
/usr/src/lib/libmilter/../../contrib/sendmail/libsm/strl.c
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/main.c:15:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/engine.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/listener.c:18:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/handler.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/comm.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/smfi.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/signal.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/sm_gethost.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory

Re: buildworld fail

2002-12-07 Thread John Mills
Kent, all -

On Fri, 6 Dec 2002, Kent Stewart wrote:

 Just remember that a signal 11 in a compile is usually your hardware 
 telling you something is wrong. If it dies at the same spot, it can 
 be options or whatever. If you use strange options, you have to try 
 them first but still remember a signal 11is normally related to 
 memory or heating problems.

Yes, but when several users with different systems in different parts of
the world report the same message in the same spot, I rather suspect a
configuration or tool issue. For example, tripling the RAM didn't change
it.

I may well have a bad set of configuration options for these newer
releases. I am very new to FreeBSD. I followed the Handbook configuration
instructions to reflect my hardware and didn't knowingly set compiler
options at all. Your note was the first to remark on compiler options in
connection with this error message so it certainly warrants my attention.

I build RELENG_4_5 seamlessly with the same configuration file (in a
RELENG_4_5 installation, however), so an environmental or generational
issue is likely here.

I _have_ also hit heating problems and swap overruns, but these showed
different 'footprints'. The partition size issue is my real stimulus to
reconfigure the setup before I am more invested and dependent on it: A
house built on sand ... etc.

Thanks for your comments. I need to dig out my error messages and compare
the compilation options with the other poster's.

Regards.
 - John Mills


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: buildworld fail

2002-12-07 Thread Kent Stewart
On Saturday 07 December 2002 05:40 am, John Mills wrote:
 Kent, all -

 On Fri, 6 Dec 2002, Kent Stewart wrote:
  Just remember that a signal 11 in a compile is usually your
  hardware telling you something is wrong. If it dies at the same
  spot, it can be options or whatever. If you use strange options,
  you have to try them first but still remember a signal 11is
  normally related to memory or heating problems.

 Yes, but when several users with different systems in different
 parts of the world report the same message in the same spot, I
 rather suspect a configuration or tool issue. For example, tripling
 the RAM didn't change it.

I agree, if it is exactly the same spot. I have several machines that 
are not having problems. I have a AMD 2000+ that I will do a 
buildworld on if someone is having trouble. It was upgraded to 
RELENG_4 2 days ago. All that means is that it tends to points to 
your machine more than RELENG_4. I trust RELENG_4 to the point that 
it has my cvs-mirror on it. It i also fast enough that I won't miss 
the 20 minutes of cpu time required to do a buildworld.

I also think that if you have a system built on a bad set of options, 
you can have real problems upgrading to get rid of a buggy compiler 
and userland. If I am given a choice of a system that runs 10% slower 
and is absolutely stable, I will run that way rather than add options 
to get the 10%. I think the time is being spent on gcc-3 as far as 
cpu options are concerned. I dropped back to defaults when I reached 
that conclusion.

I have one system that I added an 80 GB HD. Adding it involved 
rearranging my HDs in the case. I cross mounted 2 of them and the 
system wouldn't boot. I moved them where they were supposed to be and 
still had problems doing builds. It was if I broke some links. In 
order to get a stable system, I had to NFS mount /usr/src and 
/usr/obj and do my installkernel and installworld from it.


 I may well have a bad set of configuration options for these newer
 releases. I am very new to FreeBSD. I followed the Handbook
 configuration instructions to reflect my hardware and didn't
 knowingly set compiler options at all. Your note was the first to
 remark on compiler options in connection with this error message so
 it certainly warrants my attention.

 I build RELENG_4_5 seamlessly with the same configuration file (in
 a RELENG_4_5 installation, however), so an environmental or
 generational issue is likely here.

Everytime you upgrade a level, i.e., 4.5 to 4.6, I think you should 
redo your kernel config file. You never know what has been obsoleted 
and added.


 I _have_ also hit heating problems and swap overruns, but these
 showed different 'footprints'. The partition size issue is my real
 stimulus to reconfigure the setup before I am more invested and
 dependent on it: A house built on sand ... etc.

Yes, that footprint is readily apparent once you have hit it. I think 
people forget that when you have heating problems, a single bad build 
means more than 5 or 6 good ones. 

There were so many signal 11's in the past that they wrote a FAQ on 
it. It is at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#SIGNAL11
and is a good place to bookmark. Much less trouble than finding it 
when you need it :).

I have /usr/src and /usr/obj in their own 1.5 GB partitions on their 
own HDs. Each HD has its own ATA-100 controller. Most of these 
machines have 256 MB of memory and don't swap. My gateway only has 
128 MB but I have never looked at swap while I was doing a 
buildworld. I also have setiathome running in the background while 
everything is going on. The systems are always at 100% cpu. When you 
run out of swap, the system used to just panic. I don't think that 
has changed.

I started out with small /, /var, and /tmp. My later versions have / 
with 250 MB and /var and /tmp each have 1.5 GB. The large /var lets 
me log everything from my cvsups (ports, docs, src), builds, and 
installs. Part of the cvsup update process converts the cvsup.log 
into an html file that lets my web browser link directly into the 
cvs-repository. When I have used up 1/2 of /var, I clean out the old 
stuff.


 Thanks for your comments. I need to dig out my error messages and
 compare the compilation options with the other poster's.

Good luck on finding the problem.

Kent


 Regards.
  - John Mills


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



buildworld fail

2002-12-06 Thread Steve Bertrand
Hi all,

I have spent a couple weeks in groups, google, handbook and lists for self-help on 
this.  I am trying to buildworld on a 4.6.2 machine to RELENG_4.  The cvsup is 
updating all src and ports and finished successfully.  I reboot to 
kern.securelevel=-1, #rm -rvf /usr/obj and #cd /usr/src  make buildworld.  It fails 
miserably everytime here:

cc -fpic -DPIC -O -pipe  -I. -I/usr/src/lib/libncurses 
-I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses 
-I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE 
-DNDEBUG -DHAVE_CONFIG_H -DTERMIOS  -c 
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_entry.c -o 
alloc_entry.So
cc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1

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




There is no real reason for the upgrade, I simply want the experience.  This is my 
first attempt of upgrading an FBSD box, and is strictly a development machine.  I also 
have other production machines that are at 4.5, but can't upgrade them until this one 
is successful.

Tks!

Steve Bertrand

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: buildworld fail

2002-12-06 Thread Kent Stewart
On Friday 06 December 2002 01:02 pm, Steve Bertrand wrote:
 Hi all,

 I have spent a couple weeks in groups, google, handbook and lists
 for self-help on this.  I am trying to buildworld on a 4.6.2
 machine to RELENG_4.  The cvsup is updating all src and ports and
 finished successfully.  I reboot to kern.securelevel=-1, #rm -rvf
 /usr/obj and #cd /usr/src  make buildworld.  It fails miserably
 everytime here:

 cc -fpic -DPIC -O -pipe  -I. -I/usr/src/lib/libncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall
 -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS  -c
 /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_e
ntry.c -o alloc_entry.So cc: Internal compiler error: program cc1
 got fatal signal 11 *** Error code 1

You have some strange CFLAGS compared to what I always use. For 
example, this has worked for some time now.

cc -O -pipe  -I. -I/usr/src/lib/libncurses 
-I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/u
sr/src/lib/libncurses/../../contrib/ncurses/include -Wall 
-DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DT
ERMIOS  -c 
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_entry.c 
-o alloc_entry.o


-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: buildworld fail

2002-12-06 Thread Steve Bertrand
Kent:

I see the differences between the compiler commands, but have no idea 
how to change them.  I would like to try your idea.  I have given no 
special flags to make.  What flags would I give to make when making world?

Tks,

Kent Stewart wrote:

On Friday 06 December 2002 01:02 pm, Steve Bertrand wrote:
 

Hi all,

I have spent a couple weeks in groups, google, handbook and lists
for self-help on this.  I am trying to buildworld on a 4.6.2
machine to RELENG_4.  The cvsup is updating all src and ports and
finished successfully.  I reboot to kern.securelevel=-1, #rm -rvf
/usr/obj and #cd /usr/src  make buildworld.  It fails miserably
everytime here:

cc -fpic -DPIC -O -pipe  -I. -I/usr/src/lib/libncurses
-I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses
-I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall
-DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS  -c
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_e
ntry.c -o alloc_entry.So cc: Internal compiler error: program cc1
got fatal signal 11 *** Error code 1
   


You have some strange CFLAGS compared to what I always use. For 
example, this has worked for some time now.

cc -O -pipe  -I. -I/usr/src/lib/libncurses 
-I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/u
sr/src/lib/libncurses/../../contrib/ncurses/include -Wall 
-DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DT
ERMIOS  -c 
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_entry.c 
-o alloc_entry.o


 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: buildworld fail

2002-12-06 Thread Kent Stewart
On Friday 06 December 2002 01:38 pm, Steve Bertrand wrote:
 Kent:

 I see the differences between the compiler commands, but have no
 idea how to change them.  I would like to try your idea.  I have
 given no special flags to make.  What flags would I give to make
 when making world?

#CFLAGS= -O -pipe 
#COPTFLAGS= -O -pipe

These are the defaults and so I just commented them out in 
/etc/make.conf.

I would assume you have something defining a cpu or a CFLAGS. I don't 
use either. I have a mix of cpus and have had to NFS mount /usr/src 
and /usr/obj to recover a system before. I don't use cpu or compiler 
options.

Kent

 Tks,

 Kent Stewart wrote:
 On Friday 06 December 2002 01:02 pm, Steve Bertrand wrote:
 Hi all,
 
 I have spent a couple weeks in groups, google, handbook and lists
 for self-help on this.  I am trying to buildworld on a 4.6.2
 machine to RELENG_4.  The cvsup is updating all src and ports and
 finished successfully.  I reboot to kern.securelevel=-1, #rm -rvf
 /usr/obj and #cd /usr/src  make buildworld.  It fails miserably
 everytime here:
 
 cc -fpic -DPIC -O -pipe  -I. -I/usr/src/lib/libncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall
 -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS  -c
 /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc
 _e ntry.c -o alloc_entry.So cc: Internal compiler error: program
  cc1 got fatal signal 11 *** Error code 1
 
 You have some strange CFLAGS compared to what I always use. For
 example, this has worked for some time now.
 
 cc -O -pipe  -I. -I/usr/src/lib/libncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/u
 sr/src/lib/libncurses/../../contrib/ncurses/include -Wall
 -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DT
 ERMIOS  -c
 /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_
 entry.c -o alloc_entry.o

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: buildworld fail

2002-12-06 Thread John Mills
Steve -

On Fri, 6 Dec 2002, Steve Bertrand wrote:

 I have spent a couple weeks in groups, google, handbook and lists for
 self-help on this.  I am trying to buildworld on a 4.6.2 machine to
 RELENG_4.  The cvsup is updating all src and ports and finished
 successfully.  I reboot to kern.securelevel=-1, #rm -rvf /usr/obj and
 #cd /usr/src  make buildworld.  It fails miserably everytime here:

 cc -fpic -DPIC -O -pipe -I. -I/usr/src/lib/libncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses
 -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall
 -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -c
 /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_entry.c
 -o alloc_entry.So cc: Internal compiler error: program cc1 got fatal
 signal 11 *** Error code 1
 
 Stop in /usr/src/lib/libncurses.
 *** Error code 1

Welcome to the club. Several folks have hit this self-same error,
including me in trying to upgrade from RELENG_4_5 to _4_6. I didn't find
any reported solutions, either. I am giving up and will make a more recent
set of CDs and do a fresh installation. (I haven't really put any work on
the machine yet, but it is a bit frustrating.)

[I tried going from _4_5 to _4_7, too, but hit some problems in that which
clearly reflected my hardware (amount of memory) and size of my swap
space. If I'm going to use it, I prefer to get the underlying
configuration right first.]

My motiviation is similar to yours, though I have the pretext of wanting a
mail server that I was going to set up with the FreeBSD box.

 - John Mills


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: buildworld fail

2002-12-06 Thread John Mills
Kent -

On Fri, 6 Dec 2002, Kent Stewart wrote:

 On Friday 06 December 2002 01:38 pm, Steve Bertrand wrote:
  Kent:
 
  I see the differences between the compiler commands, but have no
  idea how to change them.  I would like to try your idea.  I have
  given no special flags to make.  What flags would I give to make
  when making world?
 
 #CFLAGS= -O -pipe 
 #COPTFLAGS= -O -pipe
 
 These are the defaults and so I just commented them out in 
 /etc/make.conf.
 
 I would assume you have something defining a cpu or a CFLAGS. I don't 
 use either. I have a mix of cpus and have had to NFS mount /usr/src 
 and /usr/obj to recover a system before. I don't use cpu or compiler 
 options.

Maybe that will get me through the build, too. I'll certainly give it a
shot.

Thanks.

 - John Mills


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: buildworld fail

2002-12-06 Thread Kenzo
This is what I refer to when making world and it never failed.

http://www.techgodz.com/freebsd/docs/


- Original Message -
From: John Mills [EMAIL PROTECTED]
To: Kent Stewart [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 4:03 PM
Subject: Re: buildworld fail


 Kent -

 On Fri, 6 Dec 2002, Kent Stewart wrote:

  On Friday 06 December 2002 01:38 pm, Steve Bertrand wrote:
   Kent:
  
   I see the differences between the compiler commands, but have no
   idea how to change them.  I would like to try your idea.  I have
   given no special flags to make.  What flags would I give to make
   when making world?
 
  #CFLAGS= -O -pipe
  #COPTFLAGS= -O -pipe
 
  These are the defaults and so I just commented them out in
  /etc/make.conf.
 
  I would assume you have something defining a cpu or a CFLAGS. I don't
  use either. I have a mix of cpus and have had to NFS mount /usr/src
  and /usr/obj to recover a system before. I don't use cpu or compiler
  options.

 Maybe that will get me through the build, too. I'll certainly give it a
 shot.

 Thanks.

  - John Mills


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: buildworld fail

2002-12-06 Thread Kent Stewart
On Friday 06 December 2002 02:03 pm, John Mills wrote:
 Kent -

 On Fri, 6 Dec 2002, Kent Stewart wrote:
  On Friday 06 December 2002 01:38 pm, Steve Bertrand wrote:
   Kent:
  
   I see the differences between the compiler commands, but have
   no idea how to change them.  I would like to try your idea.  I
   have given no special flags to make.  What flags would I give
   to make when making world?
 
  #CFLAGS= -O -pipe
  #COPTFLAGS= -O -pipe
 
  These are the defaults and so I just commented them out in
  /etc/make.conf.
 
  I would assume you have something defining a cpu or a CFLAGS. I
  don't use either. I have a mix of cpus and have had to NFS mount
  /usr/src and /usr/obj to recover a system before. I don't use cpu
  or compiler options.

 Maybe that will get me through the build, too. I'll certainly give
 it a shot.

Just remember that a signal 11 in a compile is usually your hardware 
telling you something is wrong. If it dies at the same spot, it can 
be options or whatever. If you use strange options, you have to try 
them first but still remember a signal 11is normally related to 
memory or heating problems.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message