GCC version for RTEMS 6?

Sebastian Huber sebastian.huber at embedded-brains.de
Tue May 24 06:43:20 UTC 2022


On 24/05/2022 02:32, Chris Johns wrote:
> On 6/5/2022 4:16 pm, Sebastian Huber wrote:
>>> - aarch64 bsps
>>>
>>> These BSPs generated lots of warnings in the testsuite due to this line:
>>>
>>>    https://git.rtems.org/rtems/tree/bsps/aarch64/include/bsp/start.h#n175
>>>
>>> The warning is about comparing arrays. I have not looked deeper.
>>
>> This can be fixed by using RTEMS_OBFUSCATE_VARIABLE().
> 
> Sorry, I do not know how to use this macro to remove the warning?

For this macro you need a stack variable.

I guess the warning could be also removed using this compiler note:

rtems/bsps/aarch64/include/bsp/start.h:175:28: note: use 
'&bsp_vector_table_end[0] != &bsp_vector_table_size[0]' to compare the 
addresses

What is the purpose of AArch64_start_set_vector_base()? Do we need this 
at all on the aarch64 target?

-- 
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/


More information about the devel mailing list