[RTEMS Project] #4947: Testsuite libtest tests not built with optimise or debug flags

RTEMS trac trac at rtems.org
Fri Aug 25 23:49:15 UTC 2023


#4947: Testsuite libtest tests not built with optimise or debug flags
-------------------------+---------------------
 Reporter:  Chris Johns  |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:  6.1
Component:  build        |     Version:  6
 Severity:  blocker      |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+---------------------

Comment (by Chris Johns):

 The test `dl09` does not build `dl-load.o` with the
 `TEST_OPTIMIZATION_FLAGS` flags. Updating the `dl09.yml` spec's `cflags`
 to have `TEST_OPTIMIZATION_FLAGS` works but adding that same to the
 `ldflags` breaks the build because the substitution does not happen.

 It seems `cflags` does not pick up the top level `grp.yml` setting while
 `ldflags` does. I have no idea why it is like this.

--
Ticket URL: <http://devel.rtems.org/ticket/4947#comment:4>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list