Current-Users archive

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

Build currently broken due to recent bpf changes.



With sources updated on 2013-11-15 at 09:50:01 UTC

#   compile  bpfjit/bpfjit.o
/test-bed/tools/bin/x86_64--netbsd-gcc -O2 -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 
-Werror   -ffreestanding  -fno-strict-aliasing -Wno-pointer-sign -mno-red-zone 
-mcmodel=kernel -fno-omit-frame-pointer  -I/test-bed/src/common/include 
--sysroot=/test-bed/dst -I /test-bed/src/sys/external/bsd/sljit/dist/sljit_src 
-I/test-bed/src/common/include  -nostdinc -I. 
-I/test-bed/src/sys/modules/bpfjit -isystem /test-bed/src/sys -isystem 
/test-bed/src/sys/arch -isystem /test-bed/src/sys/../common/include -D_KERNEL 
-D_LKM -D_MODULE -DSYSCTL_INCLUDE_DESCR -c    /test-bed/src/sys/net/bpfjit.c
In file included from /test-bed/src/sys/net/bpfjit.h:45:0,
                 from 
/test-bed/src/sys/net/bpfjit.c:66:/test-bed/src/sys/net/bpf.h:421:15: error: 
expected '=', ',', ';', 'asm' or '__attribute__' before 'bpf_jit_generate'

*** Failed target:  bpfjit.o


Most likely this is a result of the following commit:

Module Name:    src
Committed By:   rmind
Date:           Fri Nov 15 00:12:45 UTC 2013

Modified Files:
        src/sys/net: bpf.c bpf.h bpf_filter.c bpfdesc.h bpfjit.c bpfjit.h
        src/sys/net/npf: npf_bpf.c npf_impl.h npf_ruleset.c
        src/tests/lib/libbpfjit: t_bpfjit.c

Log Message:
- Add bpf_args_t and convert bpf_filter_ext() to use it.  This allows the
  caller to initialise (and re-use) the memory store.
- Add bpf_jit_generate() and bpf_jit_freecode() wrappers.



-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index