summaryrefslogtreecommitdiffstats
path: root/user/migration/v5-to-v6.rst
diff options
context:
space:
mode:
Diffstat (limited to 'user/migration/v5-to-v6.rst')
-rw-r--r--user/migration/v5-to-v6.rst30
1 files changed, 22 insertions, 8 deletions
diff --git a/user/migration/v5-to-v6.rst b/user/migration/v5-to-v6.rst
index d4691ff..98c7366 100644
--- a/user/migration/v5-to-v6.rst
+++ b/user/migration/v5-to-v6.rst
@@ -1,6 +1,6 @@
.. SPDX-License-Identifier: CC-BY-SA-4.0
-.. Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+.. Copyright (C) 2020 embedded brains GmbH & Co. KG
.. _Migration_5_to_6:
@@ -10,14 +10,28 @@ 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).
+
+No -specs bsp_specs GCC Option
+------------------------------
+
+The ``-spec bsp_specs`` GCC Option is no longer needed to build RTEMS
+applications and there is no :file:`bsp_specs` file installed. If you use this
+option, then you get an error like this:
+
+.. code-block:: none
+
+ sparc-rtems6-gcc: fatal error: cannot read spec file 'bsp_specs': No such file or directory
+
+You can remove this GCC option from your build to fix this error.
+Alternatively, you can add an empty :file:`bsp_specs` file.
Replacements for Removed APIs
-----------------------------