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/24034] New: tst-cancel21-static fails with SIGBUS on pre-ARMv7 when using GCC 8


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

            Bug ID: 24034
           Summary: tst-cancel21-static fails with SIGBUS on pre-ARMv7
                    when using GCC 8
           Product: glibc
           Version: 2.28
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: aurelien at aurel32 dot net
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
              Host: arm-unknown-linux-gnueabi
            Target: arm-unknown-linux-gnueabi
             Build: arm-unknown-linux-gnueabi

tst-cancel21-static fails with SIGBUS on pre-ARMv7 when using GCC 8. The kernel
traps in the kernel assisted atomics code:

[3447464.937977] Alignment trap: not handling instruction e1923f9f at
[<ffff0fc4>]
[3447464.945352] Unhandled fault: alignment exception (0x221) at 0x00000002
[3447464.952088] pgd = d7320ec0
[3447464.954994] [00000002] *pgd=1548a003, *pmd=61503003

I have tracked done the issue to a miscompilation of the kernel assisted atomic
code with GCC 8. A patch is available here:

https://sourceware.org/ml/libc-alpha/2018-12/msg00920.html

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