Package Details: gcc-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: The GNU Compiler Collection - C and C++ frontends (git version)
Upstream URL: https://gcc.gnu.org
Licenses: GFDL-1.3-or-later, GPL-3.0-with-GCC-exception
Groups: base-devel-git
Conflicts: gcc
Provides: gcc, gcc-multilib, gcc-multilib-git
Replaces: gcc-multilib-git
Submitter: Allan
Maintainer: IslandC0der (ptr1337)
Last Packager: ptr1337
Votes: 15
Popularity: 0.000000
First Submitted: 2013-06-26 03:43 (UTC)
Last Updated: 2024-03-21 19:26 (UTC)

Required by (2577)

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 8 9 10 11 .. 13 Next › Last »

Hexawolf commented on 2021-07-31 07:21 (UTC) (edited on 2021-07-31 07:22 (UTC) by Hexawolf)

Builds fine but unable to install. Tried to fully remove dependence on gcc from PKGBUILD, no luck.

:: gcc-git and gcc are in conflict. Remove gcc? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing gcc breaks dependency 'gcc=11.1.0-1' required by gcc-ada

japhir commented on 2021-05-18 10:44 (UTC)

I get stuck in a loop during build with these error messages:

/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
g++ -std=c++11  -fno-PIE -c   -g -DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/tmp/makepkg/gcc-git/src/gcc/gcc -I/tmp/makepkg/gcc-git/src/gcc/gcc/. -I/tmp/makepkg/gcc-git/src/gcc/gcc/../include -I/tmp/makepkg/gcc-git/src/gcc/gcc/../libcpp/include -I/tmp/makepkg/gcc-git/src/gcc/gcc/../libcody  -I/tmp/makepkg/gcc-git/src/gcc/gcc/../libdecnumber -I/tmp/makepkg/gcc-git/src/gcc/gcc/../libdecnumber/bid -I../libdecnumber -I/tmp/makepkg/gcc-git/src/gcc/gcc/../libbacktrace -I/tmp/makepkg/gcc-git/src/gcc-build/./isl/include -I/tmp/makepkg/gcc-git/src/gcc/isl/include -D_FORTIFY_SOURCE=2 -o tree-ssa-sink.o -MT tree-ssa-sink.o -MMD -MP -MF ./.deps/tree-ssa-sink.TPo /tmp/makepkg/gcc-git/src/gcc/gcc/tree-ssa-sink.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /tmp/makepkg/gcc-git/src/gcc/gcc/system.h:46,
                 from /tmp/makepkg/gcc-git/src/gcc/gcc/tree-ssa-sink.c:22:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

(repeats)

graysky commented on 2021-03-12 19:13 (UTC)

Currently, the line 28 breaks the build. Need to change /11.0.0/11.0.1/

Devorlon commented on 2020-12-29 09:51 (UTC)

@fisch02

Line 16: _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}

Will now error out when building as ${pkgver%%+*} is now just 11.0.0 and replacing it with,

_libdir=usr/lib/gcc/$CHOST/11.0.0

Will compile successfully.

LinuxUserGD commented on 2020-05-03 21:24 (UTC) (edited on 2020-05-03 21:27 (UTC) by LinuxUserGD)

Please update PKGBUILD to not use any commit inside of the repo and instead use latest gcc (which is gcc 11 now)

  • add some patches or scripts like fix_libtool_files.sh or gcc-configure.patch / gcc-spec-env.patch from Gentoo

  • use _islver=0.22 instead of 21

  • uncomment those lines:

# insist on dynamic linking, but keep static libraries because gnatmake complains
  #mv "$pkgdir"/${_libdir}/adalib/libgna{rl,t}-${_majorver}.so "$pkgdir/usr/lib"
  #ln -s libgnarl-${_majorver}.so "$pkgdir/usr/lib/libgnarl.so"
  #ln -s libgnat-${_majorver}.so "$pkgdir/usr/lib/libgnat.so"
  #rm -f "$pkgdir"/${_libdir}/adalib/libgna{rl,t}.so

  #install -d "$pkgdir/usr/lib32/"
  #mv "$pkgdir"/${_libdir}/32/adalib/libgna{rl,t}-${_majorver}.so "$pkgdir/usr/lib32"
  #ln -s libgnarl-${_majorver}.so "$pkgdir/usr/lib32/libgnarl.so"
  #ln -s libgnat-${_majorver}.so "$pkgdir/usr/lib32/libgnat.so"
  #rm -f "$pkgdir"/${_libdir}/32/adalib/libgna{rl,t}.so

For me it compiled fine now and passed all tests required for installing those packages.

Will try to provide a .diff later so others can also compile it fine.

[user@archlinux ~]$ gcc --version
gcc (GCC) 11.0.0 20200503 (experimental)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; the copy conditions are in the sources. It
gives NO guarantee; also not for MERCHANTABILITY or FOR SPECIAL PURPOSES.

[user@archlinux ~]$ 

yurikoles commented on 2020-04-05 11:15 (UTC)

@jamespharvey20

Sticking -git package at particular commit is bad idea. If you still want to maintain this package, then please make some efforts, like reporting/discussing bugs upstream. Or if you don't have time for this, then just disown it.

kaetir commented on 2020-04-04 15:10 (UTC)

the https and the http packet you get from : http://isl.gforge.inria.fr/isl-0.21.tar.bz2 and https://isl.gforge.inria.fr/isl-0.21.tar.bz2 don't have the same checksum the checksum is the one of the http version

Event with this I got configure: error: GNAT is required to build ada

But at the same time

gnat --version
GNAT 9.3.0
Copyright (C) 1996-2019, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

sl1pkn07 commented on 2020-03-25 12:24 (UTC) (edited on 2020-03-25 19:25 (UTC) by sl1pkn07)

isl checksum error

also

cc-build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_RPC_XDR_H=0 -DHAVE_TIRPC_RPC_XDR_H=0 -I. -I/tmp/makepkg/gcc-git/src/gcc/libsanitizer/sanitizer_common -I.. -I /tmp/makepkg/gcc-git/src/gcc/libsanitizer/include -I /tmp/makepkg/gcc-git/src/gcc/libsanitizer -isystem /tmp/makepkg/gcc-git/src/gcc/libsanitizer/include/system -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros -I../../libstdc++-v3/include -I../../libstdc++-v3/include/x86_64-pc-linux-gnu -I/tmp/makepkg/gcc-git/src/gcc/libsanitizer/../libstdc++-v3/libsupc++ -std=gnu++11 -fcf-protection -mshstk -DSANITIZER_LIBBACKTRACE -DSANITIZER_CP_DEMANGLE -I /tmp/makepkg/gcc-git/src/gcc/libsanitizer/../libbacktrace -I ../libbacktrace -I /tmp/makepkg/gcc-git/src/gcc/libsanitizer/../include -include /tmp/makepkg/gcc-git/src/gcc/libsanitizer/libbacktrace/backtrace-rename.h -g -march=native -O2 -fno-plt -D_GNU_SOURCE -MT sanitizer_stoptheworld_mac.lo -MD -MP -MF .deps/sanitizer_stoptheworld_mac.Tpo -c /tmp/makepkg/gcc-git/src/gcc/libsanitizer/sanitizer_common/sanitizer_stoptheworld_mac.cpp -o sanitizer_stoptheworld_mac.o >/dev/null 2>&1
mv -f .deps/sanitizer_symbolizer_mac.Tpo .deps/sanitizer_symbolizer_mac.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile /tmp/makepkg/gcc-git/src/gcc-build/./gcc/xgcc -shared-libgcc -B/tmp/makepkg/gcc-git/src/gcc-build/./gcc -nostdinc++ -L/tmp/makepkg/gcc-git/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/tmp/makepkg/gcc-git/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/tmp/makepkg/gcc-git/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include    -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS  -DHAVE_RPC_XDR_H=0 -DHAVE_TIRPC_RPC_XDR_H=0 -I. -I/tmp/makepkg/gcc-git/src/gcc/libsanitizer/sanitizer_common -I..  -I /tmp/makepkg/gcc-git/src/gcc/libsanitizer/include -I /tmp/makepkg/gcc-git/src/gcc/libsanitizer -isystem /tmp/makepkg/gcc-git/src/gcc/libsanitizer/include/system  -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros -I../../libstdc++-v3/include     -I../../libstdc++-v3/include/x86_64-pc-linux-gnu     -I/tmp/makepkg/gcc-git/src/gcc/libsanitizer/../libstdc++-v3/libsupc++ -std=gnu++11 -fcf-protection -mshstk -DSANITIZER_LIBBACKTRACE -DSANITIZER_CP_DEMANGLE -I /tmp/makepkg/gcc-git/src/gcc/libsanitizer/../libbacktrace -I ../libbacktrace -I /tmp/makepkg/gcc-git/src/gcc/libsanitizer/../include -include /tmp/makepkg/gcc-git/src/gcc/libsanitizer/libbacktrace/backtrace-rename.h -g -march=native -O2  -fno-plt -D_GNU_SOURCE -MT sanitizer_unwind_linux_libcdep.lo -MD -MP -MF .deps/sanitizer_unwind_linux_libcdep.Tpo -c -o sanitizer_unwind_linux_libcdep.lo /tmp/makepkg/gcc-git/src/gcc/libsanitizer/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
En el fichero incluido desde /tmp/makepkg/gcc-git/src/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:162:
/tmp/makepkg/gcc-git/src/gcc/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:342:72: error: narrowing conversion of ‘-1’ from ‘int’ to ‘long unsigned int’ [-Wnarrowing]
  342 |     typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]

EDIT: fixed with HEAD