Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dhcpd build failure since last update



I'm getting the following error with today's -current (2014-06-27T21:16:06Z).

I haven't seen anything similar in recent automated build reports though
so I'm wondering if it's due to something specific to my build or not
(.e.g the -fstack-protector options?)

$ cd external/bsd/dhcpcd/sbin/dhcpcd
$ mynbmake MAKEVERBOSE=2 dependall
#   compile  dhcpcd/dhcpcd.o
/build/woods/more/current-i386-i386-tools/bin/i486--netbsdelf-gcc -O2 -g -pipe 
-fstack-protector -Wstack-protector   --param ssp-buffer-size=1  -g   
-std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare  -Wno-traditional  -Wa,--fatal-warnings -Wreturn-type 
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter 
-Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2  
-Wno-format-zero-length  -Werror  -march=i586 -mtune=pentiumpro  
--sysroot=/build/woods/more/current-i386-ppro-destdir -DINET 
-I/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist  
-D_FORTIFY_SOURCE=2 -c    
/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist/dhcpcd.c
In file included from 
/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist/dhcpcd.c:63:0:
/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist/dhcpcd.c: In 
function 'dhcpcd_startinterface':
/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist/dhcp6.h:244:33: 
error: statement with no effect [-Werror=unused-value]
 #define dhcp6_find_delegates(a) (0)
                                 ^
/once/rest/work/woods/m-NetBSD-current/external/bsd/dhcpcd/dist/dhcpcd.c:636:5: 
note: in expansion of macro 'dhcp6_find_delegates'
     dhcp6_find_delegates(ifp);
     ^
cc1: all warnings being treated as errors

*** Failed target:  dhcpcd.o

-- 
                                                Greg A. Woods
                                                Planix, Inc.

<woods%planix.com@localhost>       +1 250 762-7675        http://www.planix.com/

Attachment: pgpS9yAA4S88q.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index