You are not logged in.

#1 2009-01-17 02:37:18

LiteHacker
Member
Registered: 2008-11-27
Posts: 38
Website

Attempting to install LLVM with gcc front end

LLVM is basically a different type of compiler.. Hopefully it will eventually take over gcc.
I tried installing it with the usual method - Went to the AUR - http://aur.archlinux.org/packages.php?ID=21659.
Downloaded the PKGBUILD, and used "makepkg" ...downloaded and compiled without a problem.
Next, I tried to install it in root with the usual "pacman -U filename.tar"
It tells me the following:

loading package data...
checking dependencies...
(1/1) checking for file conflicts                   [#####################] 100%
error: failed to prepare transaction (conflicting files)
llvm-gcc: /usr/lib/libgomp.a exists in filesystem
llvm-gcc: /usr/lib/libgomp.spec exists in filesystem
llvm-gcc: /usr/lib/libmudflap.a exists in filesystem
llvm-gcc: /usr/lib/libmudflapth.a exists in filesystem
llvm-gcc: /usr/lib/libssp.a exists in filesystem
llvm-gcc: /usr/lib/libssp_nonshared.a exists in filesystem

errors occurred, no packages were upgraded.

...so I thought, what would I need to remove? ..Got rid of my current GCC.. that didn't work. Got rid of binutils, that didn't work.
I think it is gcc-libs. Unfortunately, if I try to uninstall it, I get:

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: amsn: requires gcc-libs
:: aspell: requires gcc-libs
:: csup: requires gcc-libs
:: db: requires gcc-libs
:: fltk: requires gcc-libs
:: gettext: requires gcc-libs
:: gnutls: requires gcc-libs>=4.3.2
:: groff: requires gcc-libs
:: hunspell: requires gcc-libs
:: lftp: requires gcc-libs
:: libmp4v2: requires gcc-libs
:: libsmbios: requires gcc-libs>=4.3.0
:: libstdc++5: requires gcc-libs
:: libusb: requires gcc-libs
:: mesa: requires gcc-libs>=4.3.1
:: p7zip: requires gcc-libs
:: pcre: requires gcc-libs
:: poppler: requires gcc-libs>=4.3.2
:: thunderbird: requires gcc-libs>=4.3.1
:: xulrunner: requires gcc-libs>=4.3.2

..I am not sure if these utilities would work if I were to quickly remove them, install llvm-gcc, and install them back again. Actually, probably they would require gcc-libs, and gcc-libs would probably try and kick llvm-gcc off.

I can of course force llvm to install with pacman, but it seems to me that it would lead to trouble.

So, what do I do?

Thank you,
LiteHacker

Last edited by LiteHacker (2009-01-19 14:17:07)

Offline

#2 2009-01-17 10:59:37

Rip-Rip
Member
Registered: 2008-11-09
Posts: 32

Re: Attempting to install LLVM with gcc front end

Try :

pacman -Qo /usr/lib/libgomp.a

This will tell you the owner of this file, so you will be able to uninstall the good package

Last edited by Rip-Rip (2009-01-17 11:02:18)

Offline

#3 2009-01-17 12:21:05

LiteHacker
Member
Registered: 2008-11-27
Posts: 38
Website

Re: Attempting to install LLVM with gcc front end

Well, I tried it out. It tells me the owner is "gcc-libs 4.3.2-2".. hmm

Last edited by LiteHacker (2009-01-17 13:07:48)

Offline

#4 2009-10-28 11:34:06

hit
Member
From: Estonia
Registered: 2009-01-14
Posts: 79

Re: Attempting to install LLVM with gcc front end

LiteHacker wrote:

Well, I tried it out. It tells me the owner is "gcc-libs 4.3.2-2".. hmm

Sorry for posting to old topic, but found this thread from Google.
I couldn't upgrade gcc from Testing because of these very same errors. So the answer was for me and probably for LiteHacker, too:

pacman -Rd gcc-libs

(later you just pacman -S gcc-libs again)

Offline

Board footer

Powered by FluxBB