[PATCH rtems-source-builder 2/2] 6/rtems-default.bset: Update binutils version to 2.40
Kinsey Moore
kinsey.moore at oarcorp.com
Thu Mar 2 15:08:24 UTC 2023
On Thu, Mar 2, 2023 at 8:07 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> Hello Joel,
>
> it seems that the update to Binutils 2.40 causes some issues on aarch64:
>
> 15:06:49 runner ['/opt/rtems/6-test/bin/aarch64-rtems6-gcc',
> 'testsuites/sptests/spconfig01/init.c.682.o',
> '-o/tmp/sh/b-rtems/aarch64/a53_ilp32_qemu/testsuites/sptests/spconfig01.exe',
>
> '-Wl,-Bstatic', '-L.', '-lrtemscpu', '-lrtemsbsp', '-lrtemstest',
> '-Wl,-Bdynamic', '-qrtems', '-mcpu=cortex-a53', '-mabi=ilp32',
> '-Wl,--gc-sections',
> '-L/home/EB/sebastian_h/src/rtems/bsps/aarch64/shared/start',
> '-L/home/EB/sebastian_h/src/rtems/bsps/aarch64/a53/start',
> '-Wl,--wrap=printf', '-Wl,--wrap=puts', '-Wl,--wrap=putchar']
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld:
>
> warning:
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/lib/ilp32/libc.a(libc_a-memcmp.o):
>
> corrupt GNU_PROPERTY_TYPE (5) size: 0x10
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld:
>
> warning:
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/lib/ilp32/libc.a(libc_a-memcpy.o):
>
> corrupt GNU_PROPERTY_TYPE (5) size: 0x10
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld:
>
> warning:
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/lib/ilp32/libc.a(libc_a-memset.o):
>
> corrupt GNU_PROPERTY_TYPE (5) size: 0x10
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld:
>
> warning:
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/lib/ilp32/libc.a(libc_a-strcmp.o):
>
> corrupt GNU_PROPERTY_TYPE (5) size: 0x10
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld:
>
> warning:
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/lib/ilp32/libc.a(libc_a-strcpy.o):
>
> corrupt GNU_PROPERTY_TYPE (5) size: 0x10
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld:
>
> warning:
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/lib/ilp32/libc.a(libc_a-strlen.o):
>
> corrupt GNU_PROPERTY_TYPE (5) size: 0x10
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld:
>
> warning:
> /tmp/sh/b-rtems/aarch64/a53_ilp32_qemu/testsuites/sptests/spconfig01.exe
> has a LOAD segment with RWX permissions
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld:
>
> testsuites/sptests/spconfig01/init.c.682.o: in function
> `test_stack_config':
> /home/EB/sebastian_h/src/rtems/testsuites/sptests/spconfig01/init.c:89:
> undefined reference to `no symbol'
> /opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld:
>
> /home/EB/sebastian_h/src/rtems/testsuites/sptests/spconfig01/init.c:89:
> undefined reference to `no symbol'
> collect2: error: ld returned 1 exit status
>
The corrupt GNU_PROPERTY_TYPE (5) warnings are known and do not affect
functionality. They were introduced in binutils sometime after adding the
ILP32 ABI support. The undefined reference errors are new, but the
spconfig01 test was originally disabled because it wouldn't compile due to
toolchain issues. I wonder if this is a regression of that same issue.
Kinsey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230302/ff1cc80b/attachment-0001.htm>
More information about the devel
mailing list