[Bug 1607] New: __RTEMS_SIZEOF_VOID_P__ flawed design

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Jul 7 14:35:13 UTC 2010


           Summary: __RTEMS_SIZEOF_VOID_P__ flawed design
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: blocker
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: ralf.corsepius at rtems.org

This change is a massive design flaw:

> 2010-06-29 Joel Sherrill <joel.sherrill at oarcorp.com>
> * configure.ac, score/include/rtems/score/percpu.h: Add
> __RTEMS_SIZEOF_VOID_P__ to cpuopts.h so percpu.h has this information
> available during build and after installation.

Sizes are compile time constants and therefore may depend upon compiler 
flags (e.g. multilibs) flags. Defining them in a globally exported 
header being shared by different architecture variants qualifies is absurd.

Proposal: Joel to revert his whole __RTEMS_SIZEOF_VOID_P__ patch-set.

Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the bugs mailing list