Package Details: gcc-objc-git 13.0.0_r193646.g3164de6ac1b-1

Git Clone URL: https://aur.archlinux.org/gcc-git.git (read-only, click to copy)
Package Base: gcc-git
Description: Objective-C front-end for GCC (git version)
Upstream URL: https://gcc.gnu.org
Licenses: custom, GPL3, LGPL, FDL
Conflicts: gcc-objc
Provides: gcc-multilib, gcc-multilib-git
Replaces: gcc-multilib-git
Submitter: Allan
Maintainer: IslandC0der (ptr1337)
Last Packager: ptr1337
Votes: 14
Popularity: 0.004354
First Submitted: 2013-06-26 03:43 (UTC)
Last Updated: 2022-07-25 09:44 (UTC)

Required by (185)

Sources (4)

Pinned Comments

ptr1337 commented on 2022-09-29 21:32 (UTC)

Actually glibc needs to be patched for compiling gcc13. This change was done in the last days at gcc which adds _FloatN and _FloatNx types and breaking the compilation right now. So please be sure to patch your glibc before building this package!

Here you can find the patch:

https://github.com/CachyOS/CachyOS-PKGBUILDS/blob/master/glibc/gcc13.patch

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

1 2 3 4 5 6 .. 12 Next › Last »

ptr1337 commented on 2022-09-29 21:32 (UTC)

Actually glibc needs to be patched for compiling gcc13. This change was done in the last days at gcc which adds _FloatN and _FloatNx types and breaking the compilation right now. So please be sure to patch your glibc before building this package!

Here you can find the patch:

https://github.com/CachyOS/CachyOS-PKGBUILDS/blob/master/glibc/gcc13.patch

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)