This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/21261] New: [sparc64] bits/setjmp.h namespace


https://sourceware.org/bugzilla/show_bug.cgi?id=21261

            Bug ID: 21261
           Summary: [sparc64] bits/setjmp.h namespace
           Product: glibc
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
            Target: sparc64*-*-linux*

sysdeps/unix/sysv/linux/sparc/bits/setjmp.h defines 64-bit __jmp_buf with a
load of identifiers that are not part of any standard namespace:

typedef struct __sparc64_jmp_buf
  {
    struct __sparc64_jmp_buf    *uc_link;
    unsigned long               uc_flags;
    unsigned long               uc_sigmask;
    struct __sparc64_jmp_buf_mcontext
      {
        unsigned long           mc_gregs[19];
        unsigned long           mc_fp;
        unsigned long           mc_i7;
        struct __sparc64_jmp_buf_fpu
          {
            union
              {
                unsigned int    sregs[32];
                unsigned long   dregs[32];
                long double     qregs[16];
              }                 mcfpu_fpregs;
            unsigned long       mcfpu_fprs;
            unsigned long       mcfpu_gsr;
            void                *mcfpu_fq;
            unsigned char       mcfpu_qcnt;
            unsigned char       mcfpu_qentsz;
            unsigned char       mcfpu_enab;
          }                     mc_fpregs;
      }                         uc_mcontext;
  } __jmp_buf[1];

This results in corresponding test failures:
FAIL: conform/ISO/setjmp.h/conform
FAIL: conform/ISO11/setjmp.h/conform
FAIL: conform/ISO99/setjmp.h/conform
FAIL: conform/POSIX/pthread.h/conform
FAIL: conform/POSIX/setjmp.h/conform
FAIL: conform/POSIX2008/pthread.h/conform
FAIL: conform/POSIX2008/setjmp.h/conform
FAIL: conform/UNIX98/pthread.h/conform
FAIL: conform/UNIX98/setjmp.h/conform
FAIL: conform/XOPEN2K/pthread.h/conform
FAIL: conform/XOPEN2K/setjmp.h/conform
FAIL: conform/XOPEN2K8/pthread.h/conform
FAIL: conform/XOPEN2K8/setjmp.h/conform
FAIL: conform/XPG3/setjmp.h/conform
FAIL: conform/XPG4/setjmp.h/conform

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]