Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: build failure w/ libtre update
On Sun, Nov 06, 2011 at 02:16:38AM +0000, bch%methodlogic.net@localhost wrote:
>
>
> # compile lib/regexec.o
> /usr/src/obj/tooldir.NetBSD-5.99.56-amd64/bin/x86_64--netbsd-gcc -O2
> -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-t
> ype -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra
> -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Werror
> -fstack-protector -Wstack-protector --param ssp-buffer-size=1 --sysroot=/u
> sr/src/obj/destdir.amd64 -I/usr/src/external/bsd/tre/lib
> -I/usr/src/external/bsd/tre/dist/lib
> -I/usr/src/external/bsd/tre/lib/../include -DHAVE_CONFIG_H=1
> -DTRE_SYSTEM_REGEX_H_PATH=\"/usr/src/include/regex.h\" -D
> TRE_USE_SYSTEM_REGEX_H=1 -c
> /usr/src/external/bsd/tre/lib/../dist/lib/regexec.c -o regexec.o
> cc1: warnings being treated as errors
> /usr/src/external/bsd/tre/lib/../dist/lib/regexec.c: In function 'tre_match':
> /usr/src/external/bsd/tre/lib/../dist/lib/regexec.c:124:1: error: not
> protecting local variables: variable length buffer
> --- dependall-../external/bsd/libdwarf/lib ---
> --- dependall ---
> --- dependall-../external/bsd/tre/lib ---
> /usr/src/external/bsd/tre/lib/../dist/lib/regexec.c: In function
> 'tre_match_approx':
> /usr/src/external/bsd/tre/lib/../dist/lib/regexec.c:255:1: error: not
> protecting local variables: variable length buffer
> *** [regexec.o] Error code 1
> nbmake: stopped in /usr/src/external/bsd/tre/lib
> 1 error
That should be fixed now.
BTW: does that happen with the default options as well or do you use "USE_SSP"?
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Home |
Main Index |
Thread Index |
Old Index