llvmpy / llvmpy

Originally a github fork of the llvm-py repository from http://www.mdevan.org/llvm-py/index.html updated to work with LLVM 3.x. Since then it has changed significantly with multiple sub-projects.

Home Page:www.llvmpy.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"error: command 'gcc' failed with exit status 1" during installation

fedebarabas opened this issue · comments

http://pastebin.com/0KESKSyg

I'm in Arch Linux
the same error pops up when installing through AUR or cloning the git repo manually

LLVM version = u'3.4'

seems like a duplicate of #93

ok, should I wait for the fix or should I downgrade LLVM? thanks!

You can try building from pull-request #97 but it's not tested

same problem here

Well, I actually had the same problem and created this patch to fix it. I successfully rebuilt it again from scratch on my gentoo box with llvm-3.4, python-2.7.5 and gcc-4.7.3.

git clone https://github.com/gentoo90/llvmpy.git
cd llvmpy/
git checkout llvm-3.4
python setup.py build

Maybe Arch package of llvm-3.4 has patches which breaks build.
Can you try this steps and provide a log?

git clone https://github.com/gentoo90/llvmpy.git
cd llvmpy/
git checkout llvm-3.4
python setup.py install

Worked for me on my arch box, thanks