buildworld fails

From: Ilker OZUPAK <ilker.ozupak_at_emu.edu.tr>
Date: Mon, 12 Jul 2004 11:57:01 +0300
hello,

when i try to buildworld using "CPUTYPE=p4" i get errors in
lib/libc/gen/getnetgrant.c. i got the same error in both 
-march=pentium4 and mcpu=pentium4 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
...
...
...
cc -fpic -DPIC -O3 -pipe -mcpu=pentium4  -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 
-I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale 
-DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
-c /usr/src/lib/libc/gen/getobjformat.c -o getobjformat.So
cc -O3 -pipe -mcpu=pentium4  -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 
-I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale 
-DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
-c /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' 
discards qualifiers from pointer target type
/usr/src/lib/libc/gen/getnetgrent.c:308: warning: passing arg of `_buildkey' 
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 `_listmatch' 
discards qualifiers from pointer target type
cc -fpic -DPIC -O3 -pipe -mcpu=pentium4  -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 
-I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale 
-DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
-c /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' 
discards qualifiers from pointer target type
/usr/src/lib/libc/gen/getnetgrent.c:308: warning: passing arg of `_buildkey' 
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 `_listmatch' 
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?=i686
#NO_CPU_CFLAGS= true    # Don't add -march=<cpu> to CFLAGS automatically
#NO_CPU_COPTFLAGS=true  # Don't add -march=<cpu> to COPTFLAGS automatically
#
CFLAGS= -O3 -pipe -mcpu=pentium4
#
CXXFLAGS+= -fmemoize-lookups -fsave-memoized
#
#MAKE_SHELL?=sh
#
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
#
COPTFLAGS= -O2 -pipe -mcpu=pentium4
#
# Compare before install
INSTALL=install -C
#
# To enable installing ssh(1) with the setuid bit turned on
ENABLE_SUID_SSH=        true
#
#
# To avoid building various parts of the base system:
#NO_CVS=        true    # do not build CVS
#NO_CXX=        true    # do not build C++ and friends
#NO_BIND=       true    # do not build BIND
#NO_BLUETOOTH=  true    # do not build Bluetooth related stuff
#NO_FORTRAN=    true    # do not build g77 and related libraries
#NO_GDB=        true    # do not build GDB
#NO_I4B=        true    # do not build isdn4bsd package
#NO_IPFILTER=   true    # do not build IP Filter package
#NO_PF=         true    # do not build PF firewall package
#NO_AUTHPF=     true    # do not build and install authpf (setuid/gid)
#NO_KERBEROS=   true    # do not build and install Kerberos 5 (KTH Heimdal)
#NO_LPR=        true    # do not build lpr and related programs
#NO_MAILWRAPPER=true    # do not build the mailwrapper(8) MTA selector
#NO_MODULES=    true    # do not build modules with the kernel
#NO_OBJC=       true    # do not build Objective C support
#NO_OPENSSH=    true    # do not build OpenSSH
#NO_OPENSSL=    true    # do not build OpenSSL (implies NO_KERBEROS and
#                         NO_OPENSSH)
#NO_SENDMAIL=   true    # do not build sendmail and related programs
#NO_SHAREDOCS=  true    # do not build the 4.4BSD legacy docs
#NO_TCSH=       true    # do not build and install /bin/csh (which is tcsh)
#NO_VINUM=      true    # do not build Vinum utilities
#NOCRYPT=       true    # do not build any crypto code
#NOGAMES=       true    # do not build games (games/ subdir)
#NOINFO=        true    # do not make or install info files
#NOLIBC_R=      true    # do not build libc_r (re-entrant version of libc)
#NOMAN=         true    # do not build manual pages
#NOPROFILE=     true    # Avoid compiling profiled libraries
#NOSHARE=       true    # do not go into the share subdir
#
# To build sys/modules when building the world (our old way of doing things)
#MODULES_WITH_WORLD=true        # do not build modules when building kernel
#
# The list of modules to build instead of all of them.
#MODULES_OVERRIDE=      linux ipfw
#
# The following controls building optional IDEA code in libcrypto and
# certain ports.  Patents 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.  This is optional.
#MAKE_IDEA=     YES     # IDEA (128 bit symmetric encryption)
#
# If you do not want unformatted manual pages to be compressed
# when they are installed:
#
#ENABLE_SUID_NEWGRP=    true
NOMANCOMPRESS=  true
#
#
# If you want the "compat" shared libraries installed as part of your normal
# builds, uncomment these:
#
COMPAT1X=       yes
COMPAT20=       yes
COMPAT21=       yes
COMPAT22=       yes
COMPAT3X=       yes
COMPAT4X=       yes
#

</make.conf>
Received on Mon Jul 12 2004 - 06:56:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:01 UTC