Odd Microblaze Tool Build Failure

Joel Sherrill joel at rtems.org
Thu Feb 27 17:17:06 UTC 2020


Hi

The Microblaze uses the rtems-default.bset and is the only target that
isn't compiling.
It ends with this error which seems like something is off in a way that
should impact
all targets but doesn't. Any ideas?

FWIW I am proceeding with the update. Since we don't actually have a
Microblaze
port yet, this is far from a blocker.

=============================
$ make >/dev/null
../../../../../../../gcc-7.5.0/newlib/libc/sys/rtems/crt0.c:197:18: error:
conflicting types for '__assert_func'
 RTEMS_STUB(void, __assert_func(const char *file, int line, const char
*failedexpr), { })
                  ^
../../../../../../../gcc-7.5.0/newlib/libc/sys/rtems/crt0.c:28:5: note: in
definition of macro 'RTEMS_STUB'
 ret func body
     ^~~~
In file included from
/data/home/joel/rtems-work/rtems-source-builder/rtems/build/microblaze-rtems5-gcc-7.5.0-newlib-fbaa096-x86_64-linux-gnu-1/gcc-7.5.0/newlib/libc/include/sys/reent.h:503:0,
                 from
/data/home/joel/rtems-work/rtems-source-builder/rtems/build/microblaze-rtems5-gcc-7.5.0-newlib-fbaa096-x86_64-linux-gnu-1/gcc-7.5.0/newlib/libc/include/time.h:12,
                 from
/data/home/joel/rtems-work/rtems-source-builder/rtems/build/microblaze-rtems5-gcc-7.5.0-newlib-fbaa096-x86_64-linux-gnu-1/gcc-7.5.0/newlib/libc/include/sys/stat.h:9,
                 from
../../../../../../../gcc-7.5.0/newlib/libc/sys/rtems/crt0.c:14:
/data/home/joel/rtems-work/rtems-source-builder/rtems/build/microblaze-rtems5-gcc-7.5.0-newlib-fbaa096-x86_64-linux-gnu-1/gcc-7.5.0/newlib/libc/include/assert.h:41:6:
note: previous declaration of '__assert_func' was here
 void __assert_func (const char *, int, const char *, const char *)
      ^~~~~~~~~~~~~
make[9]: *** [crt0.o] Error 1
cp: cannot stat ‘rtems/crt0.o’: No such file or directory
make[9]: *** [crt0.o] Error 1
===============================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200227/edf1c599/attachment.html>


More information about the devel mailing list