[DragonFlyBSD - Bug #2729] DragonFly_RELEASE_4_0 make buildkernel error

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Tue Nov 4 20:23:53 PST 2014


Issue #2729 has been updated by lhmwzy.


the kernel config:
platform        pc64
machine         x86_64
machine_arch    x86_64
cpu             HAMMER_CPU
ident           lhmwzy
maxusers        0
#options        CPU_DISABLE_AVX


options         INET                    #InterNETworking
options         HAMMER                  #Hammer Filesystem
options         NULLFS                  #NULL filesystem
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep
this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_DIRHASH             #Improve performance on big
directories
options         MFS                     #Memory Filesystem
options         TMPFS                   #Temporary Filesystem
#options        MD_ROOT                 #MD is a potential root device
#options        NFS                     #Network Filesystem
#options        NFS_ROOT                #NFS usable as root device, NFS
required
#options        MSDOSFS                 #MSDOS Filesystem
#options        CD9660                  #ISO 9660 Filesystem
##options       PROCFS                  #Process filesystem
#options        COMPAT_43               #Compatible with BSD 4.3
options         SCSI_DELAY=5000         #Delay (in ms) before probing SCSI
##options               IFPOLL_ENABLE           # Support mixed
interrupt-polling
                                        # handling of network device drivers
##options       UCONSOLE                #Allow users to grab the console
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
##options       P1003_1B                #Posix P1003_1B real-time extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
##options       AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~128k to driver.
##options       AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~215k to driver.
options         DSCHED_FQ               # Fair-queuing disk scheduler

# ALTQ
#options                ALTQ            #alternate queueing
#options                ALTQ_CBQ        #class based queueing
#options                ALTQ_RED        #random early detection
#options                ALTQ_RIO        #triple red for diffserv (needs RED)
#options                ALTQ_HFSC       #hierarchical fair service curve
#options                ALTQ_PRIQ       #priority queue
#options                ALTQ_FAIRQ      #fair queueing
#options        ALTQ_NOPCC      #don't use processor cycle counter
#options        ALTQ_DEBUG      #for debugging

# Debugging for Development
#options        DDB
#options        DDB_TRACE
#options        INVARIANTS

device          isa
device          pci

# AHCI driver, this will override NATA for AHCI devices,
# both drivers may be included.
#
device          ahci
# NEW-ATA (NATA) and ATAPI devices
#
device          nata
device          natadisk                # ATA disk drives
#device         natapicd                # ATAPI CDROM drives
#device         natapifd                # ATAPI floppy drives
#device         natapist                # ATAPI tape drives
#device         natapicam               # Emulate ATAPI devices as SCSI
#device         nataraid                # support for ATA software RAID
                                        # controllers
#device         natausb                 # ATA-over-USB support
options         ATA_STATIC_ID           # Static device numbering


# SCSI peripherals
device          mpt
device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)
#device         cd              # CD
device          pass            # Passthrough device (direct SCSI access)
#device         sg              # Passthrough device (linux scsi generic)


# VirtIO support
#device         virtio          # VirtIO core
#device         virtio_blk      # VirtIO disk driver
#device         virtio_pci      # VirtIO transport over PCI bus

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12

device          vga0    at isa?

# kbdmux is the keyboard multiplexer
device          kbdmux

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? flags 0x100
options         SC_PIXEL_MODE           # add support for the raster text
mode

device          agp             # support several AGP chipsets



device          em              # Intel PRO/1000 adapter Gigabit Ethernet
Card (``Wiseman'')
                                # Requires ig_hal
                                # Requires ig_hal
device          ig_hal          # Intel PRO/1000 hardware abstraction layer


device          miibus          # MII bus support


# Pseudo devices - the number indicates how many units to allocate.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
##pseudo-device sl      1       # Kernel SLIP
##pseudo-device tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
#pseudo-device  md              # Memory "disks"

# CARP support
#options                CARP
#pseudo-device  carp

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
##pseudo-device bpf             #Berkeley packet filter

##pseudo-device crypto          # core crypto support, used by wlan


# FireWire support
#device         firewire        # FireWire bus code
#device         sbp             # SCSI over FireWire (Requires scbus and da)
#device         fwe             # Ethernet over FireWire (non-standard!)

2014-11-05 11:03 GMT+08:00 <bugtracker-admin at leaf.dragonflybsd.org>:

> Issue #2729 has been reported by lhmwzy.
>
> ----------------------------------------
> Bug #2729: DragonFly_RELEASE_4_0 make buildkernel error
> http://bugs.dragonflybsd.org/issues/2729
>
> * Author: lhmwzy
> * Status: New
> * Priority: Normal
> * Assignee:
> * Category:
> * Target version:
> ----------------------------------------
> cc  -O -pipe   -D_KERNEL -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -Wold-style-definition -Wno-inline  -Wno-pointer-sign
> -Winit-self -std=c99 -Wno-unused-but-set-variable -Werror -DKLD_MODULE
> -nostdinc  -I. -I@ -I/usr/obj/usr/src/sys/lhmwzy
> -I/usr/obj/usr/src/sys/lhmwzy/include -I@/../include -include
> /usr/obj/usr/src/sys/lhmwzy/opt_global.h  -fno-omit-frame-pointer
> -Wold-style-declaration  -finline-limit=8000  --param
> inline-unit-growth=100  --param large-function-growth=1000 -fno-common
> -ffreestanding -fno-stack-protector -mcmodel=kernel -mno-red-zone
> -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
> -mpreferred-stack-boundary=4 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4
> -mno-sse4a  -mno-sse5 -mno-abm -mno-aes -mno-avx -mno-pclmul -mno-popcnt
> -mno-avx2 -mno-fsgsbase -mno-rdrnd -mno-f16c -mno-fma -mno-fma4 -mno-bmi
> -mno-bmi2 -mno-xop -mno-lwp -mno-lzcnt -mno-tbm -msoft-float
> -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu99 -Wall
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
> -Wold-style-definition -Wno-inline  -Wno-pointer-sign -Winit-self -std=c99
> -Wno-unused-but-set-variable -c /usr/src/sys/net/pf/pf_table.c
> /usr/src/sys/net/pf/pf_table.c: In function 'pfr_match_addr':
> /usr/src/sys/net/pf/pf_table.c:1979:23: error: unused variable 'pfr_sin6'
> [-Werror=unused-variable]
> /usr/src/sys/net/pf/pf_table.c: In function 'pfr_update_stats':
> /usr/src/sys/net/pf/pf_table.c:2026:23: error: unused variable 'pfr_sin6'
> [-Werror=unused-variable]
> cc1: all warnings being treated as errors
> *** Error code 1
>
> Stop.
> make[4]: stopped in /usr/src/sys/net/pf
> *** Error code 1
>
> #git status
>  On branch DragonFly_RELEASE_4_0
> #cat /etc/make.conf
> MODULES_WITH_WORLD=true
> MODULES_OVERRIDE = dev/acpica net/pf
>
> uname -a
> DragonFly  3.8-RELEASE DragonFly v3.8.2.22.g2464c-RELEASE #3: Mon Nov  3
> 14:20:51 CST 2014     lhm at xxxreli.com:/usr/obj/usr/src/sys/lhmwzy  x86_64
>
>
>
> --
> You have received this notification because you have either subscribed to
> it, or are involved in it.
> To change your notification preferences, please click here:
> http://bugs.dragonflybsd.org/my/account
>

----------------------------------------
Bug #2729: DragonFly_RELEASE_4_0 make buildkernel error
http://bugs.dragonflybsd.org/issues/2729#change-12240

* Author: lhmwzy
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
cc  -O -pipe   -D_KERNEL -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wold-style-definition -Wno-inline  -Wno-pointer-sign
-Winit-self -std=c99 -Wno-unused-but-set-variable -Werror -DKLD_MODULE
-nostdinc  -I. -I@ -I/usr/obj/usr/src/sys/lhmwzy
-I/usr/obj/usr/src/sys/lhmwzy/include -I@/../include -include
/usr/obj/usr/src/sys/lhmwzy/opt_global.h  -fno-omit-frame-pointer
-Wold-style-declaration  -finline-limit=8000  --param
inline-unit-growth=100  --param large-function-growth=1000 -fno-common
-ffreestanding -fno-stack-protector -mcmodel=kernel -mno-red-zone
-mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
-mpreferred-stack-boundary=4 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4
-mno-sse4a  -mno-sse5 -mno-abm -mno-aes -mno-avx -mno-pclmul -mno-popcnt
-mno-avx2 -mno-fsgsbase -mno-rdrnd -mno-f16c -mno-fma -mno-fma4 -mno-bmi
-mno-bmi2 -mno-xop -mno-lwp -mno-lzcnt -mno-tbm -msoft-float
-fno-asynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu99 -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-Wold-style-definition -Wno-inline  -Wno-pointer-sign -Winit-self -std=c99
-Wno-unused-but-set-variable -c /usr/src/sys/net/pf/pf_table.c
/usr/src/sys/net/pf/pf_table.c: In function 'pfr_match_addr':
/usr/src/sys/net/pf/pf_table.c:1979:23: error: unused variable 'pfr_sin6'
[-Werror=unused-variable]
/usr/src/sys/net/pf/pf_table.c: In function 'pfr_update_stats':
/usr/src/sys/net/pf/pf_table.c:2026:23: error: unused variable 'pfr_sin6'
[-Werror=unused-variable]
cc1: all warnings being treated as errors
*** Error code 1

Stop.
make[4]: stopped in /usr/src/sys/net/pf
*** Error code 1

#git status
 On branch DragonFly_RELEASE_4_0
#cat /etc/make.conf
MODULES_WITH_WORLD=true
MODULES_OVERRIDE = dev/acpica net/pf

uname -a
DragonFly  3.8-RELEASE DragonFly v3.8.2.22.g2464c-RELEASE #3: Mon Nov  3
14:20:51 CST 2014     lhm at xxxreli.com:/usr/obj/usr/src/sys/lhmwzy  x86_64



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list