[RTEMS Project] #2790: Linker sets broken with GCC 7
RTEMS trac
trac at rtems.org
Fri Sep 23 05:41:32 UTC 2016
#2790: Linker sets broken with GCC 7
-----------------------------+-----------------------------
Reporter: sebastian.huber | Owner: sebastian.huber
Type: defect | Status: new
Priority: normal | Milestone: 4.12
Component: cpukit | Version: 4.12
Severity: normal | Keywords:
-----------------------------+-----------------------------
See also:
https://gcc.gnu.org/ml/gcc/2016-09/msg00114.html
The
#define MAKEGCCNOTKNOWTHEADDRESS(ptr) asm("":"+r"(ptr))
is probably the best option. It works probably also with link-time
optimization.
--
Ticket URL: <http://devel.rtems.org/ticket/2790>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list