Hi,

Efraim Flashner <efr...@flashner.co.il> skribis:

> On Tue, Apr 12, 2022 at 06:01:39PM +0200, Ludovic Courtès wrote:

[...]

>> The problem has to do specifically with powerpc-linux-gnu (this is with
>> transparent emulation via QEMU+binfmt_misc):
>> 
>> --8<---------------cut here---------------start------------->8---
>> $ unshare -mrf chroot $(guix build guile-static-stripped 
>> --target=powerpc-linux-gnu) /bin/guile
>> guile: warning: failed to install locale
>> GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main 
>> thread
>> GC Warning: Couldn't read /proc/stat
>> Pre-boot error; key: wrong-type-arg, args: (#f "Wrong type to apply: ~S" 
>> (#f) (#f))qemu: uncaught target signal 6 (Aborted) - core dumped
>> Aborted
>> --8<---------------cut here---------------end--------------->8---
>> 
>> Unfortunately I fail to get a backtrace from that core dump.
>> 
>> Efraim, could you get a backtrace on the bare metal?

Sorry I wasn’t clear; could you get a backtrace from GDB, as in:

  …/bin/guile
  # segfault
  gdb …/bin/guile core

and then at the GDB prompt:

  bt

TIA,
Ludo’.



Reply via email to