Package: ninja-build
Version: 1.0.0-2
Severity: serious
Tags: upstream

ninja-build fails to build on sparc (FTBFS). There is an issue with alignment. 
gdb reveals:

Starting program: /home/malat/ninja-build-1.0.0/ninja 

Program received signal SIGBUS, Bus error.
MurmurHash2 (len=12, key=0x4144b) at src/hash_map.h:29
29      unsigned int k = *(unsigned int *)data;
(gdb) bt
#0  MurmurHash2 (len=12, key=0x4144b) at src/hash_map.h:29
#1  operator() (key=..., this=<optimized out>) at src/hash_map.h:89
#2  _M_bkt_num_key (__n=193, __key=..., this=0x40020) at 
/usr/include/c++/4.6/backward/hashtable.h:592
#3  _M_bkt_num_key (this=0x40020, __key=...) at 
/usr/include/c++/4.6/backward/hashtable.h:584
#4  find (__key=..., this=0x40020) at 
/usr/include/c++/4.6/backward/hashtable.h:507
#5  find (__key=..., this=0x40020) at /usr/include/c++/4.6/ext/hash_map:214
#6  State::LookupNode (this=0x40020, path=...) at src/state.cc:62
#7  0x00024fe4 in State::GetNode (this=0x40020, path=...) at src/state.cc:52
#8  0x0001ebcc in DependencyScan::LoadDepFile (this=0xffffd5a4, edge=0x47490, 
err=0xffffd68c) at src/graph.cc:312
#9  0x0001f1f4 in DependencyScan::RecomputeDirty (this=0xffffd5a4, 
edge=<optimized out>, err=0xffffd68c) at src/graph.cc:40
#10 0x0001f380 in DependencyScan::RecomputeDirty (this=0xffffd5a4, 
edge=0x470e8, err=0xffffd68c) at src/graph.cc:55
#11 0x00017d90 in Builder::AddTarget (this=0xffffd558, node=0x46c18, 
err=0xffffd68c) at src/build.cc:612
#12 0x000136f4 in RunBuild (argv=0xffffd788, argc=0, builder=0xffffd558) at 
src/ninja.cc:667
#13 (anonymous namespace)::NinjaMain (argc=0, argv=0xffffd788) at 
src/ninja.cc:859
#14 0xf7c24e54 in __libc_start_main (main=0x11aa0 <main(int, char**)>, argc=1, 
ubp_av=0xffffd784, init=<optimized out>, fini=0x2a260 <__libc_csu_fini>, 
    rtld_fini=0xf7fd9660, stack_end=0xffffd87c) at libc-start.c:228
#15 0x00011b94 in _start ()


ref:
http://docs.oracle.com/cd/E19963-01/html/819-3196/hwovr-1.html#hwovr-2

Thanks

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ninja-build depends on:
ii  libc6                         2.11.3-4   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.5-8  GCC support library
ii  libstdc++6                    4.4.5-8    The GNU Standard C++ Library v3

ninja-build recommends no packages.

ninja-build suggests no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to