Build Linux: FAILED 6/rtems-riscv on x86_64-linux-gnu (riscv-rtems6-gdb-771dd3a-x86_64-linux-gnu-1)
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Mar 23 07:13:52 UTC 2020
Hello Joel,
On 18/03/2020 07:09, Sebastian Huber wrote:
> On 18/03/2020 05:53, joel at rtems.org wrote:
>
>> libtool: compile: gcc -O2 -g -pipe
>> -I/home/joel/rtems-cron-6/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-riscv/home/joel/rtems-cron-6/tools/6/include
>> -DHAVE_CONFIG_H -I.
>> -I../../sourceware-mirror-binutils-gdb-771dd3a/bfd
>> -DBINDIR=\"/home/joel/rtems-cron-6/tools/6/bin\"
>> -DLIBDIR=\"/home/joel/rtems-cron-6/tools/6/lib\" -I.
>> -I../../sourceware-mirror-binutils-gdb-771dd3a/bfd
>> -I../../sourceware-mirror-binutils-gdb-771dd3a/bfd/../include
>> -DHAVE_riscv_elf32_vec -DHAVE_riscv_elf64_vec -DHAVE_elf64_le_vec
>> -DHAVE_elf64_be_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -W -Wall
>> -Wstrict-prototypes -Wmissing-prototypes -Wshadow
>> -I../../sourceware-mirror-binutils-gdb-771dd3a/bfd/../zlib -g -O2 -MT
>> elflink.lo -MD -MP -MF .deps/elflink.Tpo -c
>> ../../sourceware-mirror-binutils-gdb-771dd3a/bfd/elflink.c -o elflink.o
>> no
>> configure: WARNING: libipt is missing or unusable; some features may
>> be unavailable.
>> ../../sourceware-mirror-binutils-gdb-771dd3a/bfd/elfxx-riscv.c: In
>> function 'riscv_parse_subset':
>> ../../sourceware-mirror-binutils-gdb-771dd3a/bfd/elfxx-riscv.c:1493:3:
>> error: 'for' loop initial declarations are only allowed in C99 mode
>> for (size_t i = 0; i < ARRAY_SIZE (parse_config); ++i) {
>> ^
>> ../../sourceware-mirror-binutils-gdb-771dd3a/bfd/elfxx-riscv.c:1493:3:
>> note: use option -std=c99 or -std=gnu99 to compile your code
>
> I sent a patch for this one:
>
> https://sourceware.org/pipermail/binutils/2020-March/110265.html
could you please test the RTEMS 6 tool chain build again. It should be
fixed now.
More information about the devel
mailing list