public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/29537] New: [2.34 regression]: Alignment issue on m68k when using futexes on qemu-user
@ 2022-08-30  7:30 glaubitz at physik dot fu-berlin.de
  2022-08-30  7:44 ` [Bug libc/29537] " glaubitz at physik dot fu-berlin.de
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: glaubitz at physik dot fu-berlin.de @ 2022-08-30  7:30 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 29537
           Summary: [2.34 regression]: Alignment issue on m68k when using
                    futexes on qemu-user
           Product: glibc
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: glaubitz at physik dot fu-berlin.de
                CC: adhemerval.zanella at linaro dot org, drepper.fsp at gmail dot com,
                    rth at sourceware dot org, schwab@linux-m68k.org
  Target Milestone: ---
              Host: m68k-*-*

There is a recent regression when using running a Linux/m68k userland on
qemu-user with applications crashing with futex errors:

   dh_md5sums -a -O--builddirectory=build -O--dbgsym-migration=aptitude-dbg
   dh_builddeb -a -O--builddirectory=build -O--dbgsym-migration=aptitude-dbg
dpkg-deb: building package 'aptitude-dbgsym' in
'../aptitude-dbgsym_0.8.13-4_m68k.deb'.
dpkg-deb: building package 'aptitude' in '../aptitude_0.8.13-4_m68k.deb'.
The futex facility returned an unexpected error code.
qemu: uncaught target signal 6 (Aborted) - core dumped
dpkg-deb: error: <compress> from tar -cf subprocess was killed by signal
(Aborted)
dh_builddeb: error: dpkg-deb --root-owner-group --build
debian/.debhelper/aptitude/dbgsym-root .. returned exit code 2
dh_builddeb: error: Aborting due to earlier error
make: *** [debian/rules:22: binary-arch] Error 2

The error was reported to QEMU upstream [1] but eventually turned out to be a
glibc problem [2]. According to the comment by Richard Henderson, glibc must
enforce the alignment of __libc_lock_t to be 32 bits.

> [1] https://gitlab.com/qemu-project/qemu/-/issues/957
> [2] https://gitlab.com/qemu-project/qemu/-/issues/957#note_1081526226

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-09-21 13:47 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30  7:30 [Bug libc/29537] New: [2.34 regression]: Alignment issue on m68k when using futexes on qemu-user glaubitz at physik dot fu-berlin.de
2022-08-30  7:44 ` [Bug libc/29537] " glaubitz at physik dot fu-berlin.de
2022-08-30  7:49 ` dilfridge at gentoo dot org
2022-08-30  7:55 ` chewi at gentoo dot org
2022-08-30  9:15 ` glaubitz at physik dot fu-berlin.de
2022-08-30 13:18 ` adhemerval.zanella at linaro dot org
2022-08-30 14:16 ` carlos at redhat dot com
2022-08-30 14:33 ` schwab@linux-m68k.org
2022-08-30 14:35 ` adhemerval.zanella at linaro dot org
2022-08-30 15:01 ` carlos at redhat dot com
2022-08-30 15:58 ` sam at gentoo dot org
2022-09-02 10:31 ` dilfridge at gentoo dot org
2022-09-16 15:39 ` danglin at gcc dot gnu.org
2022-09-20 16:48 ` adhemerval.zanella at linaro dot org
2022-09-21  9:43 ` glaubitz at physik dot fu-berlin.de
2022-09-21 13:47 ` adhemerval.zanella at linaro dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).