#1373 closed defect

newlib >= 1.16.0's sched.h collides with RTEMS sched.h

Reported by: Ralf Corsepius Owned by: Ralf Corsepius
Priority: normal Milestone: 4.9
Component: tool/newlib Version: unspecified
Severity: critical Keywords:
Cc: joel.sherrill@…, chrisj@… Blocked By:
Blocking:

Description (last modified by Gedare Bloom)

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.

Change History (2)

comment:1 Changed on 02/06/09 at 16:50:50 by Ralf Corsepius

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.

comment:2 Changed on 11/22/14 at 14:51:23 by Gedare Bloom

Description: modified (diff)
Milestone: 24.9
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.