[LLVMbugs] [Bug 9689] New: AMD64 build of r600g fails to work with -O2; IA32 build functions fine

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 12 12:18:55 PDT 2011


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

           Summary: AMD64 build of r600g fails to work with -O2; IA32
                    build functions fine
           Product: clang
           Version: 2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: crowtr at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


When I build Mesa with CC=clang and no specific CFLAGS, everything works fine,
but upon trying to use the resulting driver, I get:

% LIBGL_DRIVERS_DIR=lib/gallium glxinfo 
name of display: :0
EE r600_asm.c:1590 r600_bc_build - unsupported CF instruction (0x1FB6610)
EE r600_asm.c:1590 r600_bc_build - unsupported CF instruction (0x24E3360)
EE r600_shader.c:114 r600_pipe_shader_create - building bytecode failed !
zsh: segmentation fault  LIBGL_DRIVERS_DIR=lib/gallium glxinfo

On setting the CFLAGS to -O0, everything works properly, as does building Mesa
with --enable-32-bit(-O1 fails for a different reason, which looks to be
something to do with g++).

-- 
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