[LLVMbugs] [Bug 6591] New: llc/lli crashes: 1246 tests failed on Ubuntu hardy lpia

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 12 05:11:58 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=6591

           Summary: llc/lli crashes: 1246 tests failed on Ubuntu hardy
                    lpia
           Product: new-bugs
           Version: trunk
          Platform: PC
               URL: http://launchpadlibrarian.net/40834252/buildlog_ubuntu
                    -hardy-lpia.clamav_0.96~rc1%2Bdfsg-0ubuntu1~hardy1~ppa
                    2_FAILEDTOBUILD.txt.gz
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Bug originally noticed in ClamAV's buildlogs, reproduced with upstream LLVM:
LLVM SVN r97959
../llvm/configure --enable-optimized --enable-targets=host-only
--disable-bindings

On Ubuntu hardy, architecture lpia (an i686 with "power saving optimizations")
llc/lli crashes a lot with -O2 (works with -O0):
  Expected Passes    : 115
  Expected Failures  : 17
  Unsupported Tests  : 757
  Unexpected Failures: 1246

I got an Ubuntu lpia chroot like this (on Debian):
debootstrap --arch lpia hardy /home/edwin/hardy-lpia/ http://ports.ubuntu.com/

And in /etc/schroot/schroot.conf:
[hardy-lpia]
description=Ubuntu hardy lpia
location=/home/edwin/hardy-lpia
priority=3
users=edwin,root
groups=edwin,root
root-groups=root
personality=linux32
type=directory

$ Release/bin/llc <..//llvm/test/CodeGen/X86/xor.ll
        .file   "<stdin>"                                                       
        .text                                                                   
        .globl  test1                                                           
        .align  16, 0x90                                                        
        .type   test1, at function                                                 
test1:                                  # @test1                                
# BB#0:                                                                         
        xorps   %xmm0, %xmm0                                                    
        ret                                                                     
        .size   test1, .-test1                                                  

0  llc 0x087cb364
Stack dump:      
0.      Program arguments: Release/bin/llc 
1.      Running pass 'X86 DAG->DAG Instruction Selection' on function '@test2'
Segmentation fault                                            

Ubuntu hardy lpia has this compiler:
gcc -v
Using built-in specs.
Target: i686-linux-gnulp
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--with-arch=i686 --with-tune=i586 --enable-checking=release
--build=i686-linux-gnulp --host=i686-linux-gnulp --target=i686-linux-gnulp
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)

g++ -v
Using built-in specs.
Target: i686-linux-gnulp
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--with-arch=i686 --with-tune=i586 --enable-checking=release
--build=i686-linux-gnulp --host=i686-linux-gnulp --target=i686-linux-gnulp
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)

ld -v
GNU ld (GNU Binutils for Ubuntu) 2.18.0.20080103

Karmic lpia (and others) built LLVM fine, and all tests passed.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list