Error in compilling FreeBSD 4.9-STABLE

Noor Dawod noor at comrax.com
Tue Nov 18 21:09:13 PST 2003


Hi,

I've downloaded latest CVS version, and when trying to ``buildworld`` I
get errors.

There's a default ``/etc/defaults/make.conf`` file, and in addition I
created a minimal ``/etc/make.conf`` with my own overrides. This is it:

----------------------------------------------------------------------
CPUTYPE=i686

BDECFLAGS=      -W -Wall -ansi -pedantic -Wbad-function-cast
-Wcast-align \
                -Wcast-qual -Wchar-subscripts -Winline \
                -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
                -Wredundant-decls -Wshadow -Wstrict-prototypes
-Wwrite-strings

NO_BIND=        true    # do not build BIND
NO_SENDMAIL=    true    # do not build sendmail and related programs
NOGAMES=        true    # do not build games (games/ subdir)
NOPERL=         true    # do not build perl. Disables OpenSSL
optimizations

MASTER_SITE_BACKUP?=    \
 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=  ${MASTER_SITE_BACKUP}

MASTER_SITE_AFTERSTEP=  ftp://ftp.afterstep.org/%SUBDIR%/
MASTER_SITE_COMP_SOURCES=
ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/
MASTER_SITE_FREEBSD_ORG=
ftp://ftp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/
MASTER_SITE_GNOME=      ftp://ftp.gnome.org/pub/GNOME/%SUBDIR%/
MASTER_SITE_GNU=        ftp://ftp.gnu.org/gnu/%SUBDIR%/
MASTER_SITE_KDE=        ftp://ftp.kde.org/pub/kde/%SUBDIR%/
MASTER_SITE_LOCAL=
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/
MASTER_SITE_MOZILLA=    ftp://ftp.mozilla.org/pub/%SUBDIR%/
MASTER_SITE_NETBSD=
ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/%SUBDIR%/
MASTER_SITE_PERL_CPAN=
ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/
MASTER_SITE_PORTS_JP=
ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/%SUBDIR%/
MASTER_SITE_RINGSERVER= ftp://ftp.dnsbalance.ring.gr.jp/pub/%SUBDIR%/
MASTER_SITE_RUBY=     ftp://ftp.ruby-lang.org/pub/ruby/%SUBDIR%/
MASTER_SITE_SOURCEFORGE=
ftp://ftp2.sourceforge.net/pub/sourceforge/%SUBDIR%/
MASTER_SITE_SOURCEWARE=
ftp://ftp.freesoftware.com/pub/sourceware/%SUBDIR%/
MASTER_SITE_SUNSITE=    ftp://metalab.unc.edu/pub/Linux/%SUBDIR%/
MASTER_SITE_TCLTK=      ftp://ftp.scriptics.com/pub/tcl/%SUBDIR%/
MASTER_SITE_TEX_CTAN=   ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/
MASTER_SITE_THEMES=     ftp://ftp.themes.org/pub/themes/%SUBDIR%/
MASTER_SITE_WINDOWMAKER=        ftp://ftp.windowmaker.org/pub/%SUBDIR%/
MASTER_SITE_XCONTRIB=   ftp://ftp.x.org/contrib/%SUBDIR%/
MASTER_SITE_XEMACS=     ftp://ftp.xemacs.org/pub/xemacs/%SUBDIR%/
MASTER_SITE_XFREE=
ftp://ftp.xfree86.org/pub/XFree86/%SUBDIR%/source/

MASTER_SORT_REGEX?=     ://[^/]*\.jp[/.]

WRKDIRPREFIX=   /var/tmp

SUP_UPDATE=     yes
SUP=            /usr/local/bin/cvsup
SUPFLAGS=       -g -L 2 -P m
SUPHOST=        cvsup5.freebsd.org
SUPFILE=        /etc/cvsup/stable-supfile
PORTSSUPFILE=   /etc/cvsup/ports-supfile
#DOCSUPFILE=    /etc/cvsup/docs-supfile

DOC_LANG=       en_US.ISO8859-1

# 'make world' will compile version 2 of IPFW, which is named ipfw2.
IPFW2=          true
----------------------------------------------------------------------

Once I remove the above ``/etc/make.conf``, compile goes fine and
``buildworld`` is complete.
I didn't keep the error I get when compiling with the above
``make.conf``, but it always dies with a ``core dump`` when compiling
GNU's gcc.

Any idea why this is happening and how to fix this?

Noor



More information about the freebsd-bugs mailing list