[LLVMdev] 2.2 Prerelease (version 2) available for testing

Brooks Davis brooks at freebsd.org
Tue Feb 5 10:33:12 PST 2008


I've done some minimal testing on FreeBSD 8.x i386.  When running make
check I get:

# of expected passes            2188
# of unexpected failures        1
# of expected failures          6

The error output is:

Running
/usr/cvsports/devel/llvm/work/llvm-2.2/test/Transforms/LoopUnroll/dg.exp ...
FAIL: /usr/cvsports/devel/llvm/work/llvm-2.2/test/Transforms/LoopUnroll/2007-11-05-Crash.ll for PR1770
Failed with signal(SIGSEGV) at line 1
while running: llvm-as < /usr/cvsports/devel/llvm/work/llvm-2.2/test/Transforms/LoopUnroll/2007-11-05-Crash.ll | opt -disable-output -loop-unroll
child killed: segmentation violation

In this case FreeBSD's malloc debugging option J was enabled and disabling it
caused the test to pass.  The option does:

     J       Each byte of new memory allocated by malloc(), realloc() or
             reallocf() will be initialized to 0xa5.  All memory returned by
             free(), realloc() or reallocf() will be initialized to 0x5a.
             This is intended for debugging and will impact performance nega-
             tively.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080205/77e36da6/attachment.sig>


More information about the llvm-dev mailing list