Public bug reported:
When building llvm-toolchain-3.3 on saucy i386, the build hangs in the test
phase, and outputs a message about malloc memory corruption. The message seems
to bypass the log file.
I looked up the process hanging in /proc, and executed its environ + cmdline
outside of the build process:
$ PYTHON_EXECUTABLE=/usr/bin/python TERM=xterm LLVM_DISABLE_CRASH_REPORT=1
LIBRARY_PATH= LD_LIBRARY_PATH=
PATH=/home/cybjit/llvm-toolchain-3.3-3.3/build-llvm/Release/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
PWD=/home/cybjit/llvm-toolchain-3.3-3.3/build-llvm/test/MC/X86 SHLVL=1
HOME=/home/cybjit LLVM_SRC_ROOT=/home/cybjit/llvm-toolchain-3.3-3.3 SYSTEMROOT=
_=/home/cybjit/llvm-toolchain-3.3-3.3/build-llvm/Release/bin/not
/home/cybjit/llvm-toolchain-3.3-3.3/build-llvm/Release/bin/llvm-mc -triple
x86_64-unknown-unknown
/home/cybjit/llvm-toolchain-3.3-3.3/test/MC/X86/x86_errors.s
.text
/home/cybjit/llvm-toolchain-3.3-3.3/test/MC/X86/x86_errors.s:9:1: error:
ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw',
'cmpl', or 'cmpq')
cmp $0, 0(%eax)
^
addl $0, (%rax)
test.s:8:2: error: invalid instruction mnemonic 'movi'
*** Error in
`/home/cybjit/llvm-toolchain-3.3-3.3/build-llvm/Release/bin/llvm-mc': malloc():
memory corruption: 0x08deeda0 ***
^C
** Affects: llvm-toolchain-3.3 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1210745
Title:
llvm 3.3 build fails with "malloc(): memory corruption" on i386 saucy
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-3.3/+bug/1210745/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs