Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #383628

Bug#1093200: Some packages consistently FTBFS with EFAULT (Bad address) on most mips64el buildds

From Sergei Golovan <sgolovan@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1093200: Some packages consistently FTBFS with EFAULT (Bad address) on most mips64el buildds
Date 2025-02-05 21:30 +0100
Message-ID <KcUc1-eFBn-1@gated-at.bofh.it> (permalink)
References (1 earlier) <K6BYt-aaN8-3@gated-at.bofh.it> <Kamet-cUkD-1@gated-at.bofh.it> <Kcn6p-eidu-1@gated-at.bofh.it> <K5vBL-9kXj-3@gated-at.bofh.it> <Kcn6p-eidu-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi!

On Tue, Feb 4, 2025 at 11:59 AM Sergei Golovan <sgolovan@debian.org> wrote:
>
> Hi!
>
> On Wed, Jan 29, 2025 at 10:45 PM Uwe Kleine-König <ukleinek@debian.org> wrote:
> >
> > Hello,
> >
> > I agree this looks like the kernel is at least involved in this problem.
> > Is someone able to do a bisect to help the kernel team to pinpoint the
> > issue?
> >
> > Or does someone has a reproducer that also works for someone without
> > mips64el hardware (probably something involving qemu)?
>
> I've tried to reproduce the Erlang FTBFS in qemu (both on malta and
> loongson-virt machines) and failed to do so.
> Also, I've found a thread on linux-kernel mailing list, which might be
> relevant (see [1]). It describes some EFAULT on
> mips64 which were introduced roughly at the same time when Erlang
> started to FTBFS. I've run the test they
> suggested (on qemu on loongson-virt machine).

I've tried to revert the 4bce37a68ff884e821a02a731897a8119e0c37b7 commit
mentioned in [1] and modified the code after the reversal to adapt it to the
changes in the prototype of expand_stack() (a few insights were found
in [2]). After that, the test program from [1] started working on kernel
6.1.123 in qemu (on machine loongson3-virt).

I can't say I know what I'm doing, so can someone review and try the
attached patch
on real hardware and test if the bug from [1] is indeed connected to #1093200
(and also to #1093859, #1087809, #1086028)?

(Some Erlang-based packages have already been removed from testing
(e.g. wings3d) because
Erlang FTBFS on mips64el, it really bothers me.)

[1] https://lore.kernel.org/all/mvmplxraqmd.fsf@suse.de/T/
[2] https://github.com/torvalds/linux/commit/8d7071af890768438c14db6172cc8f9f4d04e184

Cheers!
-- 
Sergei Golovan

Back to linux.debian.bugs.rc | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1093200: Erlang is also affected (in testing as well) Sergei Golovan <sgolovan@debian.org> - 2025-01-19 10:20 +0100
  Processed: Erlang is also affected (in testing as well) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-01-19 10:20 +0100
  Bug#1093200: Some packages consistently FTBFS with EFAULT (Bad address) on most mips64el buildds Simon McVittie <smcv@debian.org> - 2025-01-19 12:50 +0100
    Bug#1093200: Some packages consistently FTBFS with EFAULT (Bad address) on most mips64el buildds Sergei Golovan <sgolovan@debian.org> - 2025-02-05 21:30 +0100

csiph-web