[LLVMbugs] [Bug 9752] New: Unable to Compile a sample C file using llvm-gcc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 19 11:46:01 PDT 2011


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

           Summary: Unable to Compile a sample C file using llvm-gcc
           Product: tools
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ali.2006.amin at gmail.com
                CC: llvmbugs at cs.uiuc.edu


I have tried both

1. llvm-gcc4.2-2.8-x86_64-linux located at
http://llvm.org/releases/2.8/llvm-gcc4.2-2.8-x86_64-linux.tar.bz2 and 

This is the output when used above llvm-gcc 
[root at localhost bin]# pwd
/home/ali/Desktop/llvm-gcc4.2-2.8-x86_64-linux/bin
[root at localhost bin]# ./llvm-gcc sample.c -o out
./llvm-gcc: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by
./llvm-gcc)

2. llvm-gcc-4.2-2.8-i686-linux located at
http://llvm.org/releases/2.8/llvm-gcc-4.2-2.8-i686-linux.tgz

This is the output when used above llvm-gcc
[root at localhost bin]# pwd
/home/ali/Desktop/llvm-gcc-4.2-2.8-i686-linux/bin
[root at localhost bin]# ./llvm-gcc sample.c 
/tmp/ccqLAmef.s: Assembler messages:
/tmp/ccqLAmef.s:7: Error: suffix or operands invalid for `push'
/tmp/ccqLAmef.s:19: Error: suffix or operands invalid for `pop'


Other details - 

[root at localhost bin]# uname -a
Linux localhost.localdomain 2.6.27.41-170.2.117.fc10.x86_64 #1 SMP Thu Dec 10
10:36:29 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

[root at localhost bin]# cat sample.c
#include <stdio.h>

int main() {
  printf("hello world\n");
  return 0;
}

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