[PATCH rtems-source-builder 2/2] 6/rtems-default.bset: Update binutils version to 2.40

Joel Sherrill joel at rtems.org
Thu Mar 2 15:02:04 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
>

Did you look to see if this has been reported to binutils?

If there is no patch, you could see if it happens with 2.39. We really
should be using
something newer than 2.38.

I won't have time to look into this soon. Maybe Kinsey has some ideas.

--joel

>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230302/cea8e58f/attachment.htm>


More information about the devel mailing list