click trunk bsdmodule on FreeBSD 10.0-CURRENT HEAD

Outback Dingo <[email protected]>
Newsgroups gmane.network.routing.click
Message-ID <CAKYr3zz0LupY6dZ_uhB4nNAO0Nwkzs-A2b=xYwaSa51EjU1Z-Q@mail.gmail.com>
seems FreeBSD 10.0-CURRENT HEAD doesnt appear to like -ffreestanding
uname -a
10.0-CURRENT FreeBSD 10.0-CURRENT

bsddev# make
echo "bsdmodule  app aqm ethernet icmp ip standard tcpudp threads" |
/usr/home/dingo/click/bsdmodule/..//click-buildtool findelem -r
bsdmodule -p /usr/home/dingo/click/bsdmodule/../ -X
/usr/home/dingo/click/bsdmodule/..//elements.exclude > elements.conf
/usr/home/dingo/click/bsdmodule/..//click-buildtool elem2make --bsd <
elements.conf > elements.mk
/usr/home/dingo/click/bsdmodule/..//click-buildtool elem2export <
elements.conf > elements.cc
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
c++ -O2 -pipe -DCLICK_BSDMODULE -DHAVE_CONFIG_H -fno-strict-aliasing
-Werror -D_KERNEL -DKLD_MODULE -nostdinc
-I/usr/home/dingo/click/bsdmodule/..//include
-I/usr/home/dingo/click/bsdmodule
-I/usr/home/dingo/click/bsdmodule/../ -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer
-mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-fstack-protector -Wall -Wredundant-decls -Wpointer-arith -Winline
-Wcast-qual -Wundef -fformat-extensions -Wmissing-include-dirs
-fdiagnostics-show-option -fpermissive -fno-exceptions -fno-rtti -c
/usr/home/dingo/click/bsdmodule/..//lib/string.cc
cc1plus: warnings being treated as errors
cc1plus: warning: command line option "-ffreestanding" is valid for
C/ObjC but not for C++
*** Error code 1

Stop in /usr/home/dingo/click/bsdmodule.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.