[RTEMS Project] #1373: newlib >= 1.16.0's sched.h collides with RTEMS sched.h

RTEMS trac trac at rtems.org
Sat Nov 22 14:51:23 UTC 2014


#1373: newlib >= 1.16.0's sched.h collides with RTEMS sched.h
----------------------------+-----------------------------
 Reporter:  ralf.corsepius  |       Owner:  ralf.corsepius
     Type:  defect          |      Status:  closed
 Priority:  normal          |   Milestone:  4.9
Component:  Newlib          |     Version:  unspecified
 Severity:  critical        |  Resolution:  fixed
 Keywords:                  |
----------------------------+-----------------------------
Changes (by gedare):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:  2 => 4.9


Old description:

> newlib >= 1.16.0 provides a $includedir/sched.h
> older versions didn't.
>
> This file collides with RTEMS's cpukit/posix/include/sched.h which will
> be installed as $includedir/sched.h when building RTEMS multilib'ed.
>
> I am not 100% sure what to do about it.
>
> newlib doesn't use this file, so we can opt to 2 alternatives:
> a) Remove sched.h from RTEMS and replace the version in newlib with that
> currently in RTEMS.
> b) Remove sched.h from newlib. This would restore the status-quo before
> newlib-1.16.0
>
> ATM, I am leaning towards b)
>
> Affected are all versions of the RTEMS toolchains using newlib >= 1.16.0,
> i.e. all rtems-4.9 and rtems-4.10 toolchains
>
> => In any case, all rtems-4.9/4.10 toolchains need to be re-built for all
> host OSes.

New description:

 newlib >= 1.16.0 provides a $includedir/sched.h
 older versions didn't.

 This file collides with RTEMS's cpukit/posix/include/sched.h which will be
 installed as $includedir/sched.h when building RTEMS multilib'ed.

 I am not 100% sure what to do about it.

 newlib doesn't use this file, so we can opt to 2 alternatives:
 a) Remove sched.h from RTEMS and replace the version in newlib with that
 currently in RTEMS.
 b) Remove sched.h from newlib. This would restore the status-quo before
 newlib-1.16.0

 ATM, I am leaning towards b)

 Affected are all versions of the RTEMS toolchains using newlib >= 1.16.0,
 i.e. all rtems-4.9 and rtems-4.10 toolchains

 => In any case, all rtems-4.9/4.10 toolchains need to be re-built for all
 host OSes.

--

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


More information about the bugs mailing list