HEAD fails on building pc386 BSP.

Karel Gardas karel.gardas at centrum.cz
Wed Oct 8 07:42:02 UTC 2014


On 10/ 8/14 07:09 AM, Sebastian Huber wrote:
> On 07/10/14 23:00, Karel Gardas wrote:
>> i386-rtems4.11-gcc --pipe -DHAVE_CONFIG_H -I..
>> -I../../cpukit/../../../pc386/lib/include
>> -I/export/home/karel/vcs/rtems/c/src/../../cpukit/libmisc/shell
>> -mtune=i386 -O2
>> -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration
>> -Wstrict-prototypes -Wnested-externs -MT shell/libshell_a-main_ping.o
>> -MD -MP
>> -MF shell/.deps/libshell_a-main_ping.Tpo -c -o
>> shell/libshell_a-main_ping.o
>> `test -f 'shell/main_ping.c' || echo
>> '/export/home/karel/vcs/rtems/c/src/../../cpukit/libmisc/'`shell/main_ping.c
>>
>> /export/home/karel/vcs/rtems/c/src/../../cpukit/libmisc/shell/main_ping.c:
>> In
>> function ‘g_finish’:
>> /export/home/karel/vcs/rtems/c/src/../../cpukit/libmisc/shell/main_ping.c:348:54:
>>
>> error: expected declaration specifiers before ‘__dead2’
>> static void g_finish(rtems_shell_globals_t* globals) __dead2;
>> ^
>> [....]
>>
>>
>> is there any workaround for this issue already?
>
> Another FreeBSD stuff from <sys/cdefs.h> slipped in (__dead2). A
> workaround is to update your tools to the latest version.
>

My tools is GNU C 4.8.2, GNU Binutils 2.23.2 (with RTEMS patch) and 
newlib 1.20.0 with RTEMS patch. Except the binutils this is the newest 
stuff from ftp.rtems.org/rtems/SOURCES/ I can get.

RSB is not working for me yet although there is some progress done on it 
already. This is due to binutils 2.24/2.23.90 issue on Solaris.

Thanks!
Karel



More information about the devel mailing list