Date: Sat, 6 Jul 2019 06:20:05 +0000 (UTC) From: Alex Martin Message-ID: <112066790.3610290.1562394005713@mail.yahoo.com> Subject: =?UTF-8?Q?Compile_time_error_"error:_call?= =?UTF-8?Q?_to_=E2=80=98=5F=5Fcompiletime=5Fassert=5F196=E2=80=99"?= MIME-Version: 1.0 References: <112066790.3610290.1562394005713.ref@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Hi,I get following error during compilation.Compiling on Ubuntu 16.04kernel= version 4.19.57 xenomai 3.0.9 Alex -------------=3D=3D=3D=3D=3D=3D making target debian/stamp/build/kernel [ne= w prereqs: vars]=3D=3D=3D=3D=3D=3D This is kernel package version 13.018. restore_upstream_debianization test ! -f scripts/package/builddeb.kpkg-dist ||=C2=A0=C2=A0 =C2=A0mv -f scr= ipts/package/builddeb.kpkg-dist scripts/package/builddeb test ! -f scripts/package/Makefile.kpkg-dist ||=C2=A0=C2=A0 =C2=A0mv -f scr= ipts/package/Makefile.kpkg-dist scripts/package/Makefile /usr/bin/make -j5 EXTRAVERSION=3D-xenomai-3.0.9=C2=A0 ARCH=3Dx86_64 \ =C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bzImage make[1]: Entering directory '/home/user1/src/linux-4.19.57' scripts/kconfig/conf=C2=A0 --syncconfig Kconfig =C2=A0 DESCEND=C2=A0 objtool =C2=A0 CALL=C2=A0=C2=A0=C2=A0 scripts/checksyscalls.sh =C2=A0 CHK=C2=A0=C2=A0=C2=A0=C2=A0 include/generated/compile.h =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel/xenomai/rtdm/core.o =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel/xenomai/posix/thread.o =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel/xenomai/rtdm/device.o =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel/xenomai/posix/timerfd.o =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel/xenomai/rtdm/drvlib.o In file included from ./include/trace/define_trace.h:96:0, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from ./include/trace/events/cobalt-posix.h:1068, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from kernel/xenomai/posix/thread.c:33: ./include/trace/events/cobalt-posix.h: In function =E2=80=98trace_event_def= ine_fields_cobalt_void=E2=80=99: ./include/linux/compiler.h:348:38: error: call to =E2=80=98__compiletime_as= sert_196=E2=80=99 declared with attribute error: BUILD_BUG_ON failed: 0 <= =3D 0 =C2=A0 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ ./include/trace/trace_events.h:455:2: note: in definition of macro =E2=80= =98DECLARE_EVENT_CLASS=E2=80=99 =C2=A0 tstruct;=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \ =C2=A0 ^ ./include/trace/events/cobalt-posix.h:189:2: note: in expansion of macro = =E2=80=98TP_STRUCT__entry=E2=80=99 =C2=A0 TP_STRUCT__entry( =C2=A0 ^ ./include/linux/compiler.h:336:2: note: in expansion of macro =E2=80=98__co= mpiletime_assert=E2=80=99 =C2=A0 __compiletime_assert(condition, msg, prefix, suffix) =C2=A0 ^ ./include/linux/compiler.h:348:2: note: in expansion of macro =E2=80=98_com= piletime_assert=E2=80=99 =C2=A0 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) =C2=A0 ^ ./include/linux/build_bug.h:45:37: note: in expansion of macro =E2=80=98com= piletime_assert=E2=80=99 =C2=A0#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ ./include/linux/build_bug.h:69:2: note: in expansion of macro =E2=80=98BUIL= D_BUG_ON_MSG=E2=80=99 =C2=A0 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) =C2=A0 ^ ./include/trace/trace_events.h:425:3: note: in expansion of macro =E2=80=98= BUILD_BUG_ON=E2=80=99 =C2=A0=C2=A0 BUILD_BUG_ON(len <=3D 0);=C2=A0=C2=A0=C2=A0=C2=A0 \ =C2=A0=C2=A0 ^ ./include/trace/events/cobalt-posix.h:190:3: note: in expansion of macro = =E2=80=98__array=E2=80=99 =C2=A0=C2=A0 __array(char, dummy, 0) =C2=A0=C2=A0 ^ =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel/cpu.o scripts/Makefile.build:303: recipe for target 'kernel/xenomai/posix/thread.= o' failed make[4]: *** [kernel/xenomai/posix/thread.o] Error 1 make[4]: *** Waiting for unfinished jobs.... =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel/xenomai/rtdm/fd.o scripts/Makefile.build:544: recipe for target 'kernel/xenomai/posix' failed make[3]: *** [kernel/xenomai/posix] Error 2 make[3]: *** Waiting for unfinished jobs.... =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel/xenomai/rtdm/wrappers.o =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel/exit.o =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel/softirq.o =C2=A0 AR=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kernel/xenomai/rtdm/built-in.a scripts/Makefile.build:544: recipe for target 'kernel/xenomai' failed make[2]: *** [kernel/xenomai] Error 2 make[2]: *** Waiting for unfinished jobs.... Makefile:1044: recipe for target 'kernel' failed make[1]: *** [kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... ----------------------------