Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 11:57:01 +0300
From:      Ilker OZUPAK <ilker.ozupak@emu.edu.tr>
To:        freebsd-current@freebsd.org
Subject:   buildworld fails
Message-ID:  <200407121157.01181.ilker.ozupak@emu.edu.tr>

next in thread | raw e-mail | index | archive | help
hello,

when i try to buildworld using "CPUTYPE=3Dp4" i get errors in
lib/libc/gen/getnetgrant.c. i got the same error in both=20
=2Dmarch=3Dpentium4 and mcpu=3Dpentium4 cases

<buildworld.out>
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
=2E..
=2E..
=2E..
cc -fpic -DPIC -O3 -pipe -mcpu=3Dpentium4 =C2=A0-I/usr/src/lib/libc/include=
=20
=2DI/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386=20
=2DD__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6=20
=2DI/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale=20
=2DDBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIO=
D=20
=2DWsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized=20
=2Dc /usr/src/lib/libc/gen/getobjformat.c -o getobjformat.So
cc -O3 -pipe -mcpu=3Dpentium4 =C2=A0-I/usr/src/lib/libc/include=20
=2DI/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386=20
=2DD__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6=20
=2DI/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale=20
=2DDBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIO=
D=20
=2DWsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized=20
=2Dc /usr/src/lib/libc/gen/getosreldate.c
In file included from /usr/src/lib/libc/gen/getnetgrent.c:323:
/usr/src/lib/libc/gen/getnetgrent.c: In function `innetgr':
/usr/src/lib/libc/gen/getnetgrent.c:308: warning: passing arg of `_buildkey=
'=20
discards qualifiers from pointer target type
/usr/src/lib/libc/gen/getnetgrent.c:308: warning: passing arg of `_buildkey=
'=20
discards qualifiers from pointer target type
In file included from /usr/src/lib/libc/gen/getnetgrent.c:303:
/usr/src/lib/libc/gen/getnetgrent.c:284: warning: passing arg of `_listmatc=
h'=20
discards qualifiers from pointer target type
cc -fpic -DPIC -O3 -pipe -mcpu=3Dpentium4 =C2=A0-I/usr/src/lib/libc/include=
=20
=2DI/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386=20
=2DD__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6=20
=2DI/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale=20
=2DDBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIO=
D=20
=2DWsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized=20
=2Dc /usr/src/lib/libc/gen/getosreldate.c -o getosreldate.So
*** Error code 1
In file included from /usr/src/lib/libc/gen/getnetgrent.c:323:
/usr/src/lib/libc/gen/getnetgrent.c: In function `innetgr':
/usr/src/lib/libc/gen/getnetgrent.c:308: warning: passing arg of `_buildkey=
'=20
discards qualifiers from pointer target type
/usr/src/lib/libc/gen/getnetgrent.c:308: warning: passing arg of `_buildkey=
'=20
discards qualifiers from pointer target type
In file included from /usr/src/lib/libc/gen/getnetgrent.c:303:
/usr/src/lib/libc/gen/getnetgrent.c:284: warning: passing arg of `_listmatc=
h'=20
discards qualifiers from pointer target type
*** Error code 1
2 errors
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
</buildworld.out>

<make.conf>
#CPUTYPE?=3Di686
#NO_CPU_CFLAGS=3D=C2=A0true=C2=A0=C2=A0=C2=A0=C2=A0# Don't add -march=3D<cp=
u> to CFLAGS automatically
#NO_CPU_COPTFLAGS=3Dtrue=C2=A0=C2=A0# Don't add -march=3D<cpu> to COPTFLAGS=
 automatically
#
CFLAGS=3D -O3 -pipe -mcpu=3Dpentium4
#
CXXFLAGS+=3D -fmemoize-lookups -fsave-memoized
#
#MAKE_SHELL?=3Dsh
#
BDECFLAGS=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0-W -Wall -ansi -pedantic -W=
bad-function-cast -Wcast-align \
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0-Wcast-qual -Wchar-subscripts -Winline \
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0-Wmissing-prototypes -Wnested-externs -Wpointer-arith \
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite=
=2Dstrings
#
COPTFLAGS=3D -O2 -pipe -mcpu=3Dpentium4
#
# Compare before install
INSTALL=3Dinstall -C
#
# To enable installing ssh(1) with the setuid bit turned on
ENABLE_SUID_SSH=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true
#
#
# To avoid building various parts of the base system:
#NO_CVS=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=
=C2=A0=C2=A0# do not build CVS
#NO_CXX=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=
=C2=A0=C2=A0# do not build C++ and friends
#NO_BIND=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=
=C2=A0# do not build BIND
#NO_BLUETOOTH=3D=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=A0# do not build Blue=
tooth related stuff
#NO_FORTRAN=3D=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=A0# do not =
build g77 and related libraries
#NO_GDB=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=
=C2=A0=C2=A0# do not build GDB
#NO_I4B=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=
=C2=A0=C2=A0# do not build isdn4bsd package
#NO_IPFILTER=3D=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=A0# do not build=
 IP Filter package
#NO_PF=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=
=C2=A0=C2=A0=C2=A0# do not build PF firewall package
#NO_AUTHPF=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=A0# do=
 not build and install authpf (setuid/gid)
#NO_KERBEROS=3D=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=A0# do not build=
 and install Kerberos 5 (KTH Heimdal)
#NO_LPR=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=
=C2=A0=C2=A0# do not build lpr and related programs
#NO_MAILWRAPPER=3Dtrue=C2=A0=C2=A0=C2=A0=C2=A0# do not build the mailwrappe=
r(8) MTA selector
#NO_MODULES=3D=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=A0# do not =
build modules with the kernel
#NO_OBJC=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=
=C2=A0# do not build Objective C support
#NO_OPENSSH=3D=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=A0# do not =
build OpenSSH
#NO_OPENSSL=3D=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=A0# do not =
build OpenSSL (implies NO_KERBEROS and
#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0NO=
_OPENSSH)
#NO_SENDMAIL=3D=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=A0# do not build=
 sendmail and related programs
#NO_SHAREDOCS=3D=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=A0# do not build the =
4.4BSD legacy docs
#NO_TCSH=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=
=C2=A0# do not build and install /bin/csh (which is tcsh)
#NO_VINUM=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=
=A0# do not build Vinum utilities
#NOCRYPT=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=
=C2=A0# do not build any crypto code
#NOGAMES=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=
=C2=A0# do not build games (games/ subdir)
#NOINFO=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=
=C2=A0=C2=A0# do not make or install info files
#NOLIBC_R=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=
=A0# do not build libc_r (re-entrant version of libc)
#NOMAN=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=
=C2=A0=C2=A0=C2=A0# do not build manual pages
#NOPROFILE=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=C2=A0# Av=
oid compiling profiled libraries
#NOSHARE=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0true=C2=A0=C2=A0=C2=A0=
=C2=A0# do not go into the share subdir
#
# To build sys/modules when building the world (our old way of doing things)
#MODULES_WITH_WORLD=3Dtrue=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0#=
 do not build modules when building kernel
#
# The list of modules to build instead of all of them.
#MODULES_OVERRIDE=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0linux ipfw
#
# The following controls building optional IDEA code in libcrypto and
# certain ports. =C2=A0Patents are involved - you must not use this unless
# you either have a license or fall within patent 'fair use'
# provisions.
#
# *** It is YOUR RESPONSIBILITY to determine if you can use this! ***
#
# IDEA is patented in the USA and many European countries - thought to
# be OK to use for any non-commercial use. =C2=A0This is optional.
#MAKE_IDEA=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0YES=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0# IDEA (128 bit symmetric encryption)
#
# If you do not want unformatted manual pages to be compressed
# when they are installed:
#
#ENABLE_SUID_NEWGRP=3D=C2=A0=C2=A0=C2=A0=C2=A0true
NOMANCOMPRESS=3D=C2=A0=C2=A0true
#
#
# If you want the "compat" shared libraries installed as part of your normal
# builds, uncomment these:
#
COMPAT1X=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0yes
COMPAT20=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0yes
COMPAT21=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0yes
COMPAT22=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0yes
COMPAT3X=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0yes
COMPAT4X=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0yes
#

</make.conf>



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