Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2002 13:51:27 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: buildworld fail
Message-ID:  <200212061351.27985.kstewart@owt.com>
In-Reply-To: <3DF118C2.5040106@northnetworks.ca>
References:  <200212062102.gB6L2F8d023342@svr3.northnetworks.ca> <200212061332.28057.kstewart@owt.com> <3DF118C2.5040106@northnetworks.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D -O -pipe=20
#COPTFLAGS=3D -O -pipe

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

I would assume you have something defining a cpu or a CFLAGS. I don't=20
use either. I have a mix of cpus and have had to NFS mount /usr/src=20
and /usr/obj to recover a system before. I don't use cpu or compiler=20
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=3D-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 majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

--=20
Kent Stewart
Richland, WA

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212061351.27985.kstewart>