all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: phodina <phodina@protonmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Guix system build fails on Aarch64
Date: Thu, 13 Jan 2022 01:31:35 -0800	[thread overview]
Message-ID: <87iluo9e2w.fsf@gmail.com> (raw)
In-Reply-To: <p4vXzpJ7DO51VrwoTcqRT9cdBGRF6b5uNF5Ok56jXCBwsfY57F2JRPxYuxufxDqcXasOrhXRpsgmhtiqiAnXtQTB9ZydRR5w8p-nE7AM4Gc=@protonmail.com> (phodina@protonmail.com's message of "Thu, 13 Jan 2022 07:42:19 +0000")

[-- Attachment #1: Type: text/plain, Size: 2647 bytes --]

Hi phodina,

phodina <phodina@protonmail.com> writes:

> could you please help me fix the failing test for gremlin in
> tests/gremlin.scm (file-needed/recursive) on Aarch64?
>
> I've tried to understand what the gremlin project is and what this
> test is supposed to do but couldn't come up with a solution other than
> to skip the test.
>
> Log attached, failed test is on line 10999.

A bug report has been opened for this issue here:

https://issues.guix.gnu.org/52943

I commented on that bug report because the test was failing on
powerpc64le-linux for unrelated reasons, and I was investigating that
separate powerpc64le-linux issue.  I'm not sure what the problem is on
aarch64-linux.  You can find my summary here:

https://issues.guix.gnu.org/52943#11

Skipping the test, or changing it so it passes on aarch64-linux without
changing the behavior of gremlin, is certainly one option.  However,
doing so would be the same as saying, "It is OK that, on aarch64-linux,
ld-linux-aarch64.so is missing from ELF files, even though it is not
missing on other architectures."  However, I don't know if that's
normal, so I can't say confidently whether it's OK.

I can think of at least the following things that someone could do to
investigate more:

- Ask the glibc folks on one of their email lists if this situation
  looks normal (a NEEDED entry for ld-linux-aarch64.so is missing from
  the dynamic section of an ELF file, but ldd prints
  ld-linux-aarch64.so, anyway).  Maybe they can give us a direct answer
  about whether or not it is normal.

- Inspect ELF files of dynamically linked binaries on the aarch64 port
  of other distros, such as Debian or Fedora, and reply to the bug
  report with information about whether ld-linux-aarch64.so is present
  (see the bug report for examples of how to invoke objdump or readelf
  to see the dynamic section of an ELF file).  If it's missing, then
  does ldd print it when invoked on the ELF file?  This could at least
  tell us if it's common for ld-linux-aarch64.so to be missing in ELF
  files, and for ldd to add it even though it's missing.

- Inspect the glibc source code to determine why it adds
  ld-linux-aarch64.so even though there is no NEEDED entry for it in the
  dynamic section of the ELF file.  This could help us to understand
  what's going on and whether it's a problem.

If you want to help with any of those tasks, or if you have any other
ideas, your help would be welcome.  Please remember to update the bug
report if you do so.

-- 
Chris

PGP: https://savannah.gnu.org/people/viewgpg.php?user_id=106836

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

  reply	other threads:[~2022-01-13  9:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-24 11:06 Guix system build fails on Aarch64 phodina via
2022-01-13  7:42 ` phodina
2022-01-13  9:31   ` Chris Marusich [this message]
2022-01-13 21:57     ` phodina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iluo9e2w.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=phodina@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.