[RSB 1/3] 6/7: Update Newlib

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jul 20 08:37:18 UTC 2022

On 20/07/2022 10:11, Chris Johns wrote:
>> There seems to be an issue with i386:
>> 08:09:56 runner ['/opt/rtems/6/bin/rtems-ld', '-C',
>> '/opt/rtems/6/bin/i386-rtems6-gcc', '-c', '-MMD -Wall -Wmissing-prototypes
>> -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs
>> -mtune=pentiumpro -march=pentium', '-O', 'rap', '-b',
>> '/tmp/sh/b-rtems/i386/pc686/testsuites/libtests/dl06/dl06.pre', '-e',
>> 'rtems_main', '-s', '-o',
>> '/tmp/sh/b-rtems/i386/pc686/testsuites/libtests/dl06/dl06.rap',
>> '/tmp/sh/b-rtems/i386/pc686/testsuites/libtests/dl06/dl06-o1.o',
>> '/tmp/sh/b-rtems/i386/pc686/testsuites/libtests/dl06/dl06-o2.o', '-lm']
>> error: libc.a:libc_a-lcong48.o at 922544: symbol not found:_GLOBAL_OFFSET_TABLE_>
>> I will remove i386 from the patch.
> Good idea. We should only move those we know work.

This error surfaced a GCC configuration issue for RTEMS. The problem is 
that the default TLS model should be local-exec for RTEMS. In this case, 
the GOT is not used. I have to check how this can be done in GCC.

embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
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:

More information about the devel mailing list