<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div dir="ltr"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 2, 2023 at 8:07 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Joel,<br>
<br>
it seems that the update to Binutils 2.40 causes some issues on aarch64:<br>
<br>
15:06:49 runner ['/opt/rtems/6-test/bin/aarch64-rtems6-gcc', <br>
'testsuites/sptests/spconfig01/init.c.682.o', <br>
'-o/tmp/sh/b-rtems/aarch64/a53_ilp32_qemu/testsuites/sptests/spconfig01.exe', <br>
'-Wl,-Bstatic', '-L.', '-lrtemscpu', '-lrtemsbsp', '-lrtemstest', <br>
'-Wl,-Bdynamic', '-qrtems', '-mcpu=cortex-a53', '-mabi=ilp32', <br>
'-Wl,--gc-sections', <br>
'-L/home/EB/sebastian_h/src/rtems/bsps/aarch64/shared/start', <br>
'-L/home/EB/sebastian_h/src/rtems/bsps/aarch64/a53/start', <br>
'-Wl,--wrap=printf', '-Wl,--wrap=puts', '-Wl,--wrap=putchar']<br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld: <br>
warning: <br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/lib/ilp32/libc.a(libc_a-memcmp.o): <br>
corrupt GNU_PROPERTY_TYPE (5) size: 0x10<br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld: <br>
warning: <br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/lib/ilp32/libc.a(libc_a-memcpy.o): <br>
corrupt GNU_PROPERTY_TYPE (5) size: 0x10<br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld: <br>
warning: <br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/lib/ilp32/libc.a(libc_a-memset.o): <br>
corrupt GNU_PROPERTY_TYPE (5) size: 0x10<br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld: <br>
warning: <br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/lib/ilp32/libc.a(libc_a-strcmp.o): <br>
corrupt GNU_PROPERTY_TYPE (5) size: 0x10<br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld: <br>
warning: <br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/lib/ilp32/libc.a(libc_a-strcpy.o): <br>
corrupt GNU_PROPERTY_TYPE (5) size: 0x10<br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld: <br>
warning: <br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/lib/ilp32/libc.a(libc_a-strlen.o): <br>
corrupt GNU_PROPERTY_TYPE (5) size: 0x10<br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld: <br>
warning: <br>
/tmp/sh/b-rtems/aarch64/a53_ilp32_qemu/testsuites/sptests/spconfig01.exe <br>
has a LOAD segment with RWX permissions<br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld: <br>
testsuites/sptests/spconfig01/init.c.682.o: in function `test_stack_config':<br>
/home/EB/sebastian_h/src/rtems/testsuites/sptests/spconfig01/init.c:89: <br>
undefined reference to `no symbol'<br>
/opt/rtems/6-test/lib/gcc/aarch64-rtems6/12.2.1/../../../../aarch64-rtems6/bin/ld: <br>
/home/EB/sebastian_h/src/rtems/testsuites/sptests/spconfig01/init.c:89: <br>
undefined reference to `no symbol'<br>
collect2: error: ld returned 1 exit status<br>
</blockquote><div><br></div><div>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.</div><div><br></div><div>Kinsey</div><div><br></div></div></div>