Seems to be related to libgc which w3m uses.  Even trying to cross-build
a debug version of w3m fails because it tries to run mktables at build
time which is also linked to libgc:

gdb-multiarch ./mktable
GNU gdb (Ubuntu/Linaro 7.4-0ubuntu1) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/w3m-0.5.3/mktable...done.
(gdb) set architecture armv5t
(gdb) target remote localhost:1234
Remote debugging using localhost:1234
[New Remote target]
Reading symbols from /lib/ld-linux.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.3
[Switching to Remote target]
0x40801c80 in ?? () from /lib/ld-linux.so.3
(gdb) break main
Breakpoint 1 at 0x8920: file mktable.c, line 30.
(gdb) cont
Continuing.

Breakpoint 1, main (argc=1, argv=0x4080061c, envp=0x40800624) at mktable.c:30
30      {
(gdb) stepi
0x00008924      30      {
(gdb) 
30      {
(gdb) 
0x00008928      30      {
(gdb) 
39          GC_INIT();
(gdb) 
0x000088f8 in GC_init ()
(gdb) bt
#0  0x000088f8 in GC_init ()
#1  0x0000892e in main (argc=1, argv=0x4080061c, envp=<optimized out>)
    at mktable.c:39
(gdb) fin
Run till exit from #0  0x000088f8 in GC_init ()

Program received signal SIGSEGV, Segmentation fault.
0x40834de6 in ?? ()


** Changed in: qemu-linaro (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/943539

Title:
  cannot build pam inside a qemu-armel chroot due to segfault in w3m

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu-linaro/+bug/943539/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to