[RTEMS Project] #3021: libbsd cannot compile with -O0 option

RTEMS trac trac at rtems.org
Thu May 18 17:27:43 UTC 2017


#3021: libbsd cannot compile with -O0 option
--------------------------+--------------------
 Reporter:  phongvanpham  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  normal        |  Milestone:
Component:  libbsd        |    Version:  4.12
 Severity:  normal        |   Keywords:
--------------------------+--------------------
 Currently the symbol swi_remove is #ifdef'ed out in rtems (kern_intr.c).
 However, there are places that were referencing swi_remove without #ifdef
 around it.  I am new to libbsd and I currently do not have expertise to
 determine if the actual swi test itself needs to be removed or just
 ifdef'ed out where swi_remove symbol is referenced or anything in between.
 Attached is a screenshot showing swi_remove is referenced.

 One last note, compiling with -O2 is ok.

--
Ticket URL: <http://devel.rtems.org/ticket/3021>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list