Package Details: gcc-fortran-git 13.0.0_r197401.g33be3ee36a7-1

Git Clone URL: https://aur.archlinux.org/gcc-git.git (read-only, click to copy)
Package Base: gcc-git
Description: Fortran front-end for GCC (git version)
Upstream URL: https://gcc.gnu.org
Licenses: GFDL-1.3-or-later, GPL-3.0-with-GCC-exception
Conflicts: gcc-fortran
Provides: gcc-fortran, gcc-multilib, gcc-multilib-git
Replaces: gcc-multilib-git
Submitter: Allan
Maintainer: IslandC0der (ptr1337)
Last Packager: ptr1337
Votes: 15
Popularity: 0.000054
First Submitted: 2013-06-26 03:43 (UTC)
Last Updated: 2024-03-21 19:26 (UTC)

Required by (614)

Sources (4)

Pinned Comments

DAC324 commented on 2021-09-17 08:04 (UTC)

In addition to the jamespharvey20's sticky comment: The current GCC 12 versions are labelled "Experimental" for a reason. Development is ongoing, and there are still significant bugs. Hence, it is not recommended to use GCC 12 as a daily driver or on production systems.

At the moment, it is not even possible to build a working Linux kernel with GCC 12, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101941 .

jamespharvey20 commented on 2017-02-15 04:30 (UTC) (edited on 2017-02-15 11:01 (UTC) by jamespharvey20)

*** 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 .. 13 Next › Last »

AkechiShiro commented on 2022-03-08 11:13 (UTC) (edited on 2022-03-08 11:14 (UTC) by AkechiShiro)

Build still fails :

/home/user/.cache/paru/clone/gcc-git/src/gcc/gcc/../move-if-change ada/gen_il/seinfo_tables.ads ada/seinfo_tables.ads
/home/user/.cache/paru/clone/gcc-git/src/gcc/gcc/../move-if-change ada/gen_il/seinfo_tables.adb ada/seinfo_tables.adb
/home/user/.cache/paru/clone/gcc-git/src/gcc/gcc/../move-if-change ada/gen_il/sinfo.h ada/sinfo.h
/home/user/.cache/paru/clone/gcc-git/src/gcc/gcc/../move-if-change ada/gen_il/einfo.h ada/einfo.h
/home/user/.cache/paru/clone/gcc-git/src/gcc/gcc/../move-if-change ada/gen_il/nmake.ads ada/nmake.ads
/home/user/.cache/paru/clone/gcc-git/src/gcc/gcc/../move-if-change ada/gen_il/nmake.adb ada/nmake.adb
/home/user/.cache/paru/clone/gcc-git/src/gcc/gcc/../move-if-change ada/gen_il/seinfo.ads ada/seinfo.ads
/home/user/.cache/paru/clone/gcc-git/src/gcc/gcc/../move-if-change ada/gen_il/sinfo-nodes.ads ada/sinfo-nodes.ads
/home/user/.cache/paru/clone/gcc-git/src/gcc/gcc/../move-if-change ada/gen_il/sinfo-nodes.adb ada/sinfo-nodes.adb
/home/zwei/.cache/paru/clone/gcc-git/src/gcc/gcc/../move-if-change ada/gen_il/einfo-entities.ads ada/einfo-entities.ads
/home/user/.cache/paru/clone/gcc-git/src/gcc/gcc/../move-if-change ada/gen_il/einfo-entities.adb ada/einfo-entities.adb
touch ada/stamp-gen_il
make[3]: Leaving directory '/home/user/.cache/paru/clone/gcc-git/src/gcc-build/gcc'
make[2]: *** [Makefile:4963: all-stage1-gcc] Error 2
make[1]: *** [Makefile:30793: stage1-bubble] Error 2
make: *** [Makefile:1074: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'gcc-git-12.0.1_r191818.g800b3191c75-1 (gcc-libs-git gcc-git)': 
error: packages failed to build: gcc-git-12.0.1_r191818.g800b3191c75-1 (gcc-libs-git gcc-git)

But now on stage1.

horen commented on 2022-03-03 22:12 (UTC)

Build fails make[3]: Leaving directory '/sware/Sources/Arch/gcc-git/src/gcc-build' Comparing stages 2 and 3 Bootstrap comparison failure! gcc/plugin.o differs gcc/gcc.o differs make[2]: [Makefile:25861: compare] Error 1 make[1]: [Makefile:25841: stage3-bubble] Error 2 make: *** [Makefile:1071: all] Error 2

ptr1337 commented on 2022-02-26 16:24 (UTC)

The PKGBUILD got updated and builts completely. For including lib32-gcc-git just remove the "#" from the PKGBUILD since someone else already provides the package.

GCC 12 also now compiles kernels sucesfully and mold can be used, also with lto.

Regards,

IslandC0der commented on 2022-02-05 23:58 (UTC)

Thanks everyone :)

ptr1337 commented on 2022-02-03 23:04 (UTC)

For building the kernel with gcc 12 you can use following patch for the kernel: https://github.com/ptr1337/kernel-patches/blob/master/5.16/0001-gcc-12-fix.patch

DAC324 commented on 2022-01-21 20:59 (UTC)

@thmxvr: Indeed, just remove the "S" to only leave "doxygen" in the makedepends list. https://www.doxygen.nl/index.html

thmxvr commented on 2022-01-17 23:08 (UTC) (edited on 2022-01-17 23:09 (UTC) by thmxvr)

I have the following error when trying to install. Looks like a typo in the dependencies list.

Could not find all required packages:
    Sdoxygen (Wanted by: gcc-git -> gcc-libs-git)
    Sdoxygen (Wanted by: gcc-git)

IslandC0der commented on 2021-10-13 23:43 (UTC)

Thanks @DAC324 and everyone else who commented!

I believe I was able to tackle all of your concerns, hopefully that works and nothing got terribly broken :)

(Also, I apologize for the delay, been very busy with university)

DAC324 commented on 2021-10-12 14:59 (UTC)

The introductory comment in PKGBUILD says:

# You probably don't need support for all the languages, feel free to remove the ones you don't
# Just edit the --enable-languages option as well as the pkgname array

Unfortunately, it isn't that simple. makepkg still tries to build ALL packages; you will explicitly have to comment them out. And, that is still not enough as in the gcc-libs-git package section, you find the following statement

  for lib in libatomic \
             libgfortran \
             libgo \
             libgomp \
             libitm \
             libquadmath \
             libsanitizer/{a,l,ub,t}san \
             libstdc++-v3/src \
             libvtv; do
    make -C $CHOST/$lib DESTDIR="$pkgdir" install-toolexeclibLTLIBRARIES
  done

This causes makepkg to try to process all libraries which will fail if not all languages are enabled. Looks like this above-mentioned comment ist at least incomplete.