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


Groups > linux.debian.kernel > #85375

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

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Sergei Golovan <sgolovan@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.ports.mips, linux.debian.devel.release, linux.debian.kernel
Subject Bug#1093200: Some packages consistently FTBFS with EFAULT (Bad address) on most mips64el buildds
Date Tue, 04 Feb 2025 10:10:01 +0100
Message-ID <Kcn6p-eidu-1@gated-at.bofh.it> (permalink)
References <K5vBL-9kXj-3@gated-at.bofh.it> <K6BYt-aaN8-3@gated-at.bofh.it> <Kamet-cUkD-1@gated-at.bofh.it> <K5vBL-9kXj-3@gated-at.bofh.it> <Kamet-cUkD-1@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Tue Feb 4 09:03:07 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.2
Reply-To Sergei Golovan <sgolovan@debian.org>, 1093200@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1093200
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords ftbfs help unreproducible
X-Debian-Pr-Source linux
X-Forwarded-Encrypted i=1; AJvYcCWImWFj2OfQjiUV2zorhIco5OdhrQyYeYsVFEgp7chPiur9QqgAbPHZskyz/oqu1v9iB7apx144@bugs.debian.org
X-Gm-Message-State AOJu0Yz6Mo6UcUEyK08N5QTRMBvCHkAdSK/O7EZEJuDo9y9sJOskJLap 1vO9dJ95jUwHndbHQi88njt/pWUBDCsOOy90NW0pcFeotSPs5GqWR5J2BTAkEgTLSy9ROTjV5DD 8e8r0YSuPoVngK4mOTyQ7YuOqchw=
X-Gm-Gg ASbGncs1Dbzx6JPY4zi1yNopG5H9MdF7YmBmYn8c5gReSzJucmaBnF63IW/e6i8ty44 Tn1x4I81cNyjVUDrnQFjGtfGiQJIdCelIIYiFgZv/FRT+7qRmygJI1dhNshQDdd/N6T78IrIK
X-Google-SMTP-Source AGHT+IFDGSdfx/e41m5l0L9904cH3xbDWqwAalOzYrjA2hclew6gTd/qKpR+6VRxpQ8DtejF/IJQrBMy0Id8ty5r1JI=
X-Received by 2002:a17:906:f884:b0:aa6:bcc2:3f02 with SMTP id a640c23a62f3a-ab7484a0ddemr287783666b.29.1738659601612; Tue, 04 Feb 2025 01:00:01 -0800 (PST)
MIME-Version 1.0
X-Gm-Features AWEUYZmwImnDkT31hEplWTL0x29HS1wMySO_SilHwaFHOZxP1BTJ7KirYsXAYO0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1884835
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 34
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Simon McVittie <smcv@debian.org>, 1093200@bugs.debian.org, Fabian Grünbichler <f.gruenbichler@proxmox.com>, Matthias Geiger <werdahias@riseup.net>, debian-rust@lists.debian.org, debian-mips@lists.debian.org, debian-release@lists.debian.org, debian-kernel@lists.debian.org
X-Original-Date Tue, 4 Feb 2025 11:59:49 +0300
X-Original-Message-ID <CAOq2pXGzwBDBD=UvRNXco4tZc=1=hizimFc=ELsvRfOx0fBGNA@mail.gmail.com>
X-Original-References <Z4jjSFwovcNEIYpc@remnant.pseudorandom.co.uk> <Z4zk0Ep-Z1RAscrG@remnant.pseudorandom.co.uk> <knm3d5w5mksvdcwi65xlz5kjlw4psjdmq4fj7g5n5hfgw5ocgw@z52jo5bf3zuy> <Z4jjSFwovcNEIYpc@remnant.pseudorandom.co.uk> <knm3d5w5mksvdcwi65xlz5kjlw4psjdmq4fj7g5n5hfgw5ocgw@z52jo5bf3zuy>
Xref csiph.com linux.debian.bugs.dist:1231709 linux.debian.ports.mips:3163 linux.debian.devel.release:129623 linux.debian.kernel:85375

Cross-posted to 4 groups.

Show key headers only | View raw


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).

The test program is compiled using gcc-14 (14.2.0-16).

The test program aborts on kernels 6.1.0-29-loongson-3 (6.1.123-1) and
6.12.10-loongson-3 (6.12.10-1)

The test program does not abort on kernel 5.10.0-30-loongson-3 (5.10.218-1)

[1] https://lore.kernel.org/all/mvmplxraqmd.fsf@suse.de/T/

Cheers!
-- 
Sergei Golovan

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


Thread

Bug#1093200: Some packages consistently FTBFS with EFAULT (Bad address) on most mips64el buildds Uwe Kleine-König <ukleinek@debian.org> - 2025-01-29 20:50 +0100
  Bug#1093200: Some packages consistently FTBFS with EFAULT (Bad address) on most mips64el buildds Sergei Golovan <sgolovan@debian.org> - 2025-02-04 10:10 +0100
    mips64el in trixie: [was: Bug#1093200: Some packages consistently  FTBFS with EFAULT (Bad address) on most mips64el buildds] Paul Gevers <elbrus@debian.org> - 2025-02-16 21:20 +0100
      Re: mips64el in trixie: [was: Bug#1093200: Some packages consistently  FTBFS with EFAULT (Bad address) on most mips64el buildds] Sergei Golovan <sgolovan@debian.org> - 2025-02-16 21:40 +0100
      Re: mips64el in trixie: [was: Bug#1093200: Some packages  consistently FTBFS with EFAULT (Bad address) on most mips64el buildds] Adrian Bunk <bunk@debian.org> - 2025-02-25 15:20 +0100

csiph-web