Package Base Details: gcc-git

Git Clone URL: https://aur.archlinux.org/gcc-git.git (read-only, click to copy)
Submitter: Allan
Maintainer: fisch02
Last Packager: fisch02
Votes: 13
Popularity: 0.032157
First Submitted: 2013-06-26 03:43
Last Updated: 2020-07-14 16:59

Pinned Comments

jamespharvey20 commented on 2019-10-13 02:28

Temporarily hold to commit fcab78b9 (2019-10-01 18:21:31.) Otherwise, fails to build. There are several breaking commits after this, involving packaging failures on ada and a bootstrap failure when comparing stages 2 and 3.

jamespharvey20 commented on 2017-02-15 04:30

*** STICKY ***

These gcc*-git packages replace core's gcc* (non-git) packages. Technically, replacing the system gcc-libs can be dangerous. The possibility of a new upstream gcc git commit breaking your system isn't zero. When you compile and install this, you're using the latest git source, so you may be the first Arch user to be using that particular commit.

In practice, I haven't seen an Arch user report such a problem for many years. Just understand that if installing these packages causes your computer to eat you, don't have your loved ones blame me. Oh, and know that if things go wrong, all you *should* have to do is uninstall the git version and go back to a previously working git version or even the core version. You might be able to do this while your system is still running, or you might have to do something like boot off an Arch ISO CD.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

jamespharvey20 commented on 2017-02-15 04:26

Apologize I've been quiet while working on some roadblocks.

I've pushed changes that as closely as possible makes gcc-git match core's gcc 6.3.1-1. It successfully builds and works.

Useful other changes:

* Now uses the github mirror repo. I had many times recently where the git clone from the upstream gcc git repo failed, or took even longer than the long time it is expected to take. I've seen this in the past for the official repo also.
* Has been updated to parse _pkgver_base, _pkgver, and _libdir, rather than be hardcoded.
* Uses isl 0.18


EDIT: The rest no longer applies. See more recent comments.


But, I haven't been able to install it using pacman. I haven't ever used pacaur or yaourt, but I'll probably check if those successfully install it somehow.

# pacman -S gcc-git gcc-libs-git [I use a local network arch repo, without that, you'd probably be using -U to install, but -U acts the same way]
resolving dependencies...
looking for conflicting packages...
:: gcc-git and gcc are in conflict. Remove gcc? [y/N] y
:: gcc-libs-git and gcc-libs are in conflict. Remove gcc-libs? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: icu: removing gcc-libs breaks dependency 'gcc-libs>=4.7.1-5'

Trying to remove gcc-libs without accounting for that gcc-libs-git will take its place marks almost every package installed for removal. (Just run pactree --reverse gcc-libs and you'll see almost everything installed.)

This used to work. I'm thinking a pacman change must have been made, so it doesn't recognize that the -git version provide the non-git versions, when examining broken dependencies.


(EDIT: This is no longer being considered.) That made me consider having gcc*-git install to /usr/local instead for 2 reasons. (1) Replacing the system gcc-libs can be dangerous. In practice, I and others haven't had problems with it recently, but the possible danger remains. (2) It would avoid the pacman issues above. I've almost completed this switch.


I'm going to reach out to the pacman devs to see if its current refusal to replace the non-git versions with git versions is desirable or not.

sir_lucjan commented on 2017-02-14 15:24

PKGKBUILD:

http://wklej.org/id/3042446/

and my own local repo with gcc-git

http://wklej.org/id/3042445/

sleeping commented on 2017-02-14 15:19

I have no interest in ada, so I'd be interested.

Maybe it can help jamespharvey20 too.

sir_lucjan commented on 2017-02-08 16:26

I've PKGBUILD but without gcc-ada-git. Are you interesed?

sleeping commented on 2017-02-08 16:23

Thanks for your effort James.
Would be really great to have this working again. :)

jamespharvey20 commented on 2017-02-08 11:13

I'm tied up for a few hours, but later today I have a lot of time to give this. Thanks for letting me know.

sleeping commented on 2017-02-08 09:47

install: failed to access '/home/me/tmp/yaourt-tmp-bart/aur-gcc-git/pkg/gcc-git/usr/lib/gcc/x86_64-pc-linux-gnu/6.0.0/': No such file or directory
==> ERROR: A failure occurred in package_gcc-git().
Aborting...
==> ERROR: Makepkg was unable to build gcc-git.

The problem now seems to be the hard-coded pkgver.

TaylerNest commented on 2017-01-25 17:31

Cannot install, tried on 3 machines
http://pastebin.com/vLsm4Tfg

janisozaur commented on 2016-02-25 11:05

It seems ISL 0.16.1 is available now and https://gcc.gnu.org/install/prerequisites.html mentions it as a compatible, can you check & update the PKGBUILD?

See https://groups.google.com/forum/#!topic/isl-announce/i8PTGG0ZbzE for announcment

jamespharvey20 commented on 2015-12-13 21:00

So, it might be easy enough to patch config.guess:1041, if we wanted to deviate from upstream if they won't revert it. If you'd like, I can see if that works.