[Bug 2019] New: ARM EABI tool chain breaks XDR library

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Feb 14 16:28:50 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2019

             Bug #: 2019
           Summary: ARM EABI tool chain breaks XDR library
    Classification: Unclassified
           Product: Tools
           Version: unspecified
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: GCC
        AssignedTo: ralf.corsepius at rtems.org
        ReportedBy: sebastian.huber at embedded-brains.de


The standard ARM EABI configuration uses short enums by default.  This means
the enums have a varying integer type depending on its values.  This breaks the
xdr_enum() function.  The so called ARM ELF configuration in GCC uses fixed int
size enums.  Linux seems to have faced similar problems and defines a
ARM_ABI_AAPCS_LINUX ABI variant which leads to int-sized enums by default.  We
should use this also for RTEMS.

I will test this and provide a patch afterward (will take some time).

-- 
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