Skip to content

Unable to Compile a sample C file using llvm-gcc #10124

@llvmbot

Description

@llvmbot
Bugzilla Link 9752
Resolution WONTFIX
Resolved on Apr 19, 2011 15:38
Version 2.8
OS Linux
Reporter LLVM Bugzilla Contributor

Extended Description

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@localhost bin]# pwd
/home/ali/Desktop/llvm-gcc4.2-2.8-x86_64-linux/bin
[root@localhost bin]# ./llvm-gcc sample.c -o out
./llvm-gcc: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by ./llvm-gcc)

  1. 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@localhost bin]# pwd
/home/ali/Desktop/llvm-gcc-4.2-2.8-i686-linux/bin
[root@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@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@localhost bin]# cat sample.c
#include <stdio.h>

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tagwontfixIssue is real, but we can't or won't fix it. Not invalid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions