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 nptl/17870] New: Build failure on x32


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

            Bug ID: 17870
           Summary: Build failure on x32
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com

With commit 2ec2d7032ff9220da1577c37d41ae85c0721ad66 on x32, I got

In file included from sem_timedwait.c:20:0:
sem_waitcommon.c: In function â__sem_wait_cleanupâ:
sem_waitcommon.c:190:3: error: left shift count >= width of type [-Werror]
   atomic_fetch_add_relaxed (&sem->data, -(1UL << SEM_NWAITERS_SHIFT));
   ^
sem_waitcommon.c: In function â__new_sem_wait_slowâ:
sem_waitcommon.c:266:3: error: left shift count >= width of type [-Werror]
   unsigned long d = atomic_fetch_add_relaxed (&sem->data,
   ^
sem_waitcommon.c:306:8: error: left shift count >= width of type [-Werror]
        atomic_fetch_add_relaxed (&sem->data,
        ^
sem_waitcommon.c:322:4: error: left shift count >= width of type [-Werror]
    if (atomic_compare_exchange_weak_acquire (&sem->data,
    ^

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