[BUILDROBOT] Build breakage in builtin.c (was: [PATCH, Pointer Bounds Checker, Builtins instrumentation 3/5] Expand instrumented builtin calls)

Jan-Benedict Glaw jbglaw@lug-owl.de
Mon Nov 17 15:12:00 GMT 2014


On Thu, 2014-11-06 15:24:59 +0300, Ilya Enkovich <enkovich.gnu@gmail.com> wrote:
> Hi,
> 
> This patch adds support of instrumented builtin calls in expand.
> Calls are mostly expanded as calls.  But some of them reuse existing
> string function calls expand functions (memcpy expand was slightly
> refactored for that).
> 
> This is the last enabling patch in this series.  Remaining two
> patches are performance ones.
> 
> 2014-11-06  Ilya Enkovich  <ilya.enkovich@intel.com>
> 
> 	* builtins.c (expand_builtin_memcpy_args): New.
> 	(expand_builtin_memcpy): Call expand_builtin_memcpy_args.
> 	(expand_builtin_memcpy_with_bounds): New.
> 	(expand_builtin_mempcpy_with_bounds): New.
> 	(expand_builtin_mempcpy_args): Add orig_exp arg. Support
> 	BUILT_IN_CHKP_MEMCPY_NOBND_NOCHK
> 	(expand_builtin_memset_with_bounds): New.
> 	(expand_builtin_memset_args): Support BUILT_IN_CHKP_MEMSET_NOBND_NOCHK.
> 	(expand_builtin_with_bounds): New.
> 	* builtins.h (expand_builtin_with_bounds): New.
> 	* expr.c (expand_expr_real_1): Support instrumented builtin calls.

It seems this part of the patch series causes some build breakage
right now, see eg. build
http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=376804 :

g++ -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. -I/home/jbglaw/repos/gcc/gcc -I/home/jbglaw/repos/gcc/gcc/. -I/home/jbglaw/repos/gcc/gcc/../include -I/home/jbglaw/repos/gcc/gcc/../libcpp/include  -I/home/jbglaw/repos/gcc/gcc/../libdecnumber -I/home/jbglaw/repos/gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/jbglaw/repos/gcc/gcc/../libbacktrace    -o builtins.o -MT builtins.o -MMD -MP -MF ./.deps/builtins.TPo /home/jbglaw/repos/gcc/gcc/builtins.c
/home/jbglaw/repos/gcc/gcc/builtins.c: In function ‘rtx_def* expand_builtin_memcpy_with_bounds(tree, rtx)’:
/home/jbglaw/repos/gcc/gcc/builtins.c:3300:25: error: ‘BNDmode’ was not declared in this scope
    rtx bnd = force_reg (BNDmode,
                         ^
/home/jbglaw/repos/gcc/gcc/builtins.c: In function ‘rtx_def* expand_builtin_mempcpy_with_bounds(tree, rtx, machine_mode)’:
/home/jbglaw/repos/gcc/gcc/builtins.c:3357:25: error: ‘BNDmode’ was not declared in this scope
    rtx bnd = force_reg (BNDmode,
                         ^
/home/jbglaw/repos/gcc/gcc/builtins.c: In function ‘rtx_def* expand_builtin_memset_with_bounds(tree, rtx, machine_mode)’:
/home/jbglaw/repos/gcc/gcc/builtins.c:3763:25: error: ‘BNDmode’ was not declared in this scope
    rtx bnd = force_reg (BNDmode,
                         ^
make[1]: *** [builtins.o] Error 1
make[1]: Leaving directory `/home/jbglaw/build/mips-linux/build-gcc/gcc'

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of:       Warum ist Scheiße braun? ...weil braun schon immer scheiße ist!
the second  :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141117/daf4b2e0/attachment.sig>


More information about the Gcc-patches mailing list