Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
build -current/i386 with gcc45 yet?
I had an interest in building -current/i386 with gcc45 (mainly just to
get "intel_drv.so" that correctly renders stippled regions on i810e
graphics devices). I run into the following:
[...]
--- bpfjit.o ---
# compile libbpfjit/bpfjit.o
/d0/build/current-gcc45/tools/i386/bin/i486--netbsdelf-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 -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror --sysroot=/d0/build/current-gcc45/DEST/i386 -I/x/current/src/sys/external/bsd/sljit/dist/sljit_src -c /x/current/src/sys/net/bpfjit.c -o bpfjit.o
cc1: warnings being treated as errors
/x/current/src/sys/net/bpfjit.c: In function 'emit_moddiv':
/x/current/src/sys/net/bpfjit.c:1151:13: error: declaration of 'div' shadows a global declaration
*** [bpfjit.o] Error code 1
nbmake[6]: stopped in /x/current/src/lib/libbpfjit
1 error
nbmake[6]: stopped in /x/current/src/lib/libbpfjit
*** [dependall] Error code 2
nbmake[5]: stopped in /x/current/src/lib/libbpfjit
1 error
nbmake[5]: stopped in /x/current/src/lib/libbpfjit
*** Failed target: dependall-libbpfjit
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/"; real="/x/current/src/lib" ;; *) this="lib/${dir}/"; real="/x/current/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /d0/build/current-gcc45/tools/i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libbpfjit dependall
*** Error code 2
Stop.
[...]
Although, I suppose all I really need is to use the appropriate tool
wrappers to build the bits I want rather than the whole distribution.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index