<div dir="ltr">Hi<div><br></div><div>Based on conversations with Chris, I don't think this is the same as his failure mode (on FreeBSD?) and this isn't a critical target but I am perplexed at this failure in common code. crt0.c should just compile. This is with everything off the master but I get the same failure on CentOS 7 with the RSB. Any ideas?</div><div><br></div><div>home/joel/test-gcc/b-microblaze-rtems5-gcc/./gcc/xgcc -B/home/joel/test-gcc/b-microblaze-rtems5-gcc/./gcc/ -nostdinc -B/home/joel/test-gcc/b-microblaze-rtems5-gcc/microblaze-rtems5/bs/newlib/ -isystem /home/joel/test-gcc/b-microblaze-rtems5-gcc/microblaze-rtems5/bs/newlib/targ-include -isystem /home/joel/test-gcc/gcc/newlib/libc/include -B/home/joel/test-gcc/install-master/microblaze-rtems5/bin/ -B/home/joel/test-gcc/install-master/microblaze-rtems5/lib/ -isystem /home/joel/test-gcc/install-master/microblaze-rtems5/include -isystem /home/joel/test-gcc/install-master/microblaze-rtems5/sys-include  -mxl-barrel-shift -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"3.3.0\" -DPACKAGE_STRING=\"newlib\ 3.3.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../../../gcc/newlib/libc/sys/rtems -fno-builtin -ffunction-sections -fdata-sections  -D_COMPILING_NEWLIB -DCLOCK_PROVIDED -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DGETREENT_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN -D_NO_POSIX_SPAWN -DHAVE_INIT_FINI      -g -O2  -mxl-barrel-shift -c ../../../../../../../gcc/newlib/libc/sys/rtems/crt0.c<br>../../../../../../../gcc/newlib/libc/sys/rtems/crt0.c:197:18: error: conflicting types for '__assert_func'<br>  197 | RTEMS_STUB(void, __assert_func(const char *file, int line, const char *failedexpr), { })<br>      |                  ^~~~~~~~~~~~~<br>../../../../../../../gcc/newlib/libc/sys/rtems/crt0.c:28:5: note: in definition of macro 'RTEMS_STUB'<br>   28 | ret func body<br>      |     ^~~~<br>In file included from /home/joel/test-gcc/gcc/newlib/libc/include/sys/reent.h:503,<br>                 from /home/joel/test-gcc/gcc/newlib/libc/include/time.h:12,<br>                 from /home/joel/test-gcc/gcc/newlib/libc/include/sys/stat.h:9,<br>                 from ../../../../../../../gcc/newlib/libc/sys/rtems/crt0.c:14:<br>/home/joel/test-gcc/gcc/newlib/libc/include/assert.h:41:6: note: previous declaration of '__assert_func' was here<br>   41 | void __assert_func (const char *, int, const char *, const char *)<br>      |      ^~~~~~~~~~~~~<br></div></div>