user: Clarify -fno-common changes

This commit is contained in:
Sebastian Huber 2022-09-12 09:01:12 +02:00
parent 13be9a2b28
commit 283acbbfdd

View File

@ -10,14 +10,14 @@ RTEMS 5 to RTEMS 6
This section provides helpful information when migrating from RTEMS 5 to
RTEMS 6.
Update to GCC 10
----------------
Update to GCC 10 and Later
--------------------------
The tool suite for RTEMS 6 uses GCC 10. GCC 10 enables ``-fno-common`` by
default. Code bases which never used this option before may observe now
multiple definition linker errors. For example, if global variables are
declared and defined in header files (usually a missing ``extern`` in the header
file).
The tool suite for RTEMS 6 uses at least GCC 10. GCC 10 and later enable
``-fno-common`` by default. Code bases which never used this option before may
observe now multiple definition linker errors. For example, if global
variables are declared and defined in header files (usually a missing
``extern`` in the header file).
Replacements for Removed APIs
-----------------------------