From: "Ludovic Courtès" <ludo@gnu.org>
To: Leo Famulari <leo@famulari.name>
Cc: vagrant@debian.org,
Christopher Howard <christopher@librehacker.com>,
efraim@flashner.co.il, 74270@debbugs.gnu.org,
Jean-Francois.Guillaume@univ-nantes.fr,
74229-done@debbugs.gnu.org,
John Kehayias <john.kehayias@protonmail.com>
Subject: bug#74229: bug#74270: u-boot-tools: tests fail
Date: Mon, 18 Nov 2024 13:40:34 +0100 [thread overview]
Message-ID: <87wmh0emv1.fsf_-_@gnu.org> (raw)
In-Reply-To: <87zflxfnvh.fsf@gnu.org> ("Ludovic Courtès"'s message of "Mon, 18 Nov 2024 00:21:06 +0100")
Hello,
Ludovic Courtès <ludo@gnu.org> skribis:
> (gdb) bt
> #0 0x0000000000406e03 in alloc_simple (align=1, bytes=bytes@entry=204) at ../../common/malloc_simple.c:25
> #1 malloc_simple (bytes=bytes@entry=204) at ../../common/malloc_simple.c:44
> #2 0x0000000000406e5e in calloc (nmemb=<optimized out>, elem_size=<optimized out>)
> at ../../common/malloc_simple.c:73
> #3 0x00007f2b84eb7f2f in llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) ()
> from /gnu/store/s9z30wrxafdj11xfzm81hrxd93f07gwh-llvm-for-mesa-18.1.8/lib/libLLVM.so.18.1
> #4 0x00007f2b84f6a18f in ?? ()
> from /gnu/store/s9z30wrxafdj11xfzm81hrxd93f07gwh-llvm-for-mesa-18.1.8/lib/libLLVM.so.18.1
> #5 0x00007f2b84cbf274 in llvm::MachO::TextAPIError::convertToErrorCode() const ()
> from /gnu/store/s9z30wrxafdj11xfzm81hrxd93f07gwh-llvm-for-mesa-18.1.8/lib/libLLVM.so.18.1
> #6 0x00007f2b8fa12efe in call_init.part ()
> from /gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/lib/ld-linux-x86-64.so.2
> #7 0x00007f2b8fa12fe6 in _dl_init ()
> from /gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/lib/ld-linux-x86-64.so.2
> #8 0x00007f2b8fa28bd0 in _dl_start_user ()
> from /gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/lib/ld-linux-x86-64.so.2
> #9 0x0000000000000004 in ?? ()
> #10 0x00007ffeb813c918 in ?? ()
> #11 0x00007ffeb813c973 in ?? ()
> #12 0x00007ffeb813c976 in ?? ()
> #13 0x00007ffeb813c979 in ?? ()
> #14 0x0000000000000000 in ?? ()
>
> It would seem that LLVM, during initialization, ends up calling ‘calloc’
> as provided by U-Boot itself, which may not be intended, and then things
> go wrong.
Fixed in e526b8b11debb184929abd013b7d589c9db245af by changing the
visibility of the ‘calloc’ symbol to “hidden” so other DSOs like
libLLVM*.so don’t end up calling it.
Would be nice to report upstream. Any taker?
Ludo’.
next prev parent reply other threads:[~2024-11-18 12:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-08 22:51 bug#74270: u-boot-tools: tests fail Christopher Howard
2024-11-10 3:28 ` Leo Famulari
2024-11-17 23:21 ` Ludovic Courtès
2024-11-18 12:40 ` Ludovic Courtès [this message]
2024-11-16 17:38 ` bug#74270: Ahmad Jarara
-- strict thread matches above, loose matches on Subject: below --
2024-11-06 15:21 bug#74229: u-boot-tools-2024.01 fail on check-x86 Jean-Francois GUILLAUME
2024-11-11 10:04 ` bug#74229: bug#74270: u-boot-tools: tests fail janneke
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wmh0emv1.fsf_-_@gnu.org \
--to=ludo@gnu.org \
--cc=74229-done@debbugs.gnu.org \
--cc=74270@debbugs.gnu.org \
--cc=Jean-Francois.Guillaume@univ-nantes.fr \
--cc=christopher@librehacker.com \
--cc=efraim@flashner.co.il \
--cc=john.kehayias@protonmail.com \
--cc=leo@famulari.name \
--cc=vagrant@debian.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).