Yeah alright, I guess I'll just remove the patch then
Search Criteria
Package Details: gcc-go-git 13.0.0_r197401.g33be3ee36a7-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/gcc-git.git (read-only, click to copy) |
---|---|
Package Base: | gcc-git |
Description: | Go 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-go, go, go-git |
Provides: | gcc-multilib, gcc-multilib-git, go |
Replaces: | gcc-multilib-git |
Submitter: | Allan |
Maintainer: | IslandC0der (ptr1337) |
Last Packager: | ptr1337 |
Votes: | 15 |
Popularity: | 0.000001 |
First Submitted: | 2013-06-26 03:43 (UTC) |
Last Updated: | 2024-03-21 19:26 (UTC) |
Dependencies (18)
- gcc-gitAUR
- libisl.so (libisl)
- binutils (make)
- doxygen (doxygen-gitAUR, doxygen-yapAUR) (make)
- gcc-ada (gcc-ada-gitAUR, gcc-ada-debugAUR, gcc-ada-snapshotAUR) (make)
- gcc-d (gcc-d-gitAUR, gcc-d-snapshotAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- lib32-gcc-libs (lib32-gcc-libs-gitAUR, lib32-gccrs-libs-gitAUR, lib32-gcc-libs-snapshotAUR) (make)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR, lib32-glibc-eac-rocoAUR) (make)
- libisl (libisl-gitAUR) (make)
- libmpc (libmpc-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- zstd (zstd-gitAUR, zstd-staticAUR) (make)
- dejagnu (dejagnu-gitAUR) (check)
- expect (check)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (check)
- python-pytest (check)
- tcl (tcl-fossilAUR, tcl84AUR) (check)
Required by (3724)
- 1panel (requires go) (make)
- 1panel-git (requires go) (make)
- 2fa (requires go) (make)
- 3mux (requires go) (make)
- 403jump-git (requires go)
- a (requires go) (make)
- a-git (requires go) (make)
- a2fa (requires go) (make)
- aaaaxy (requires go) (make)
- aaregurucli-git (requires go) (make)
- abacus-git (requires go) (make)
- abireport (requires go) (make)
- aboxes-git (requires go) (make)
- abra (requires go) (make)
- abra-git (requires go) (make)
- abroot (requires go) (make)
- aces (requires go) (make)
- aci-discovery-git (requires go) (make)
- acme-dns (requires go) (make)
- acme-lsp (requires go) (make)
- Show 3704 more...
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 13 Next › Last »
IslandC0der commented on 2021-08-30 00:07 (UTC)
DAC324 commented on 2021-08-27 10:26 (UTC) (edited on 2021-08-27 10:26 (UTC) by DAC324)
I must admit that I was astonished as well but that's what the the gcc11-Wno-format-security.patch
ist doing:
When adding -Wno-format, also add -Wno-format-security
I am pretty sure that the setting of -Werror=format-security
in /etc/makepkg.conf
supersedes the -Wno-format-security
setting applied by the patch.
Or, in other words, gcc
, after applying the patch, is probably run with both -Wno-format-security
AND -Werror=format-security
- in that situation, -Werror=format-security
prevails.
IslandC0der commented on 2021-08-26 22:18 (UTC)
The weird thing is, I'm pretty sure gcc11-Wno-format-security.patch
should've taken care of that issue :/
IslandC0der commented on 2021-08-26 22:15 (UTC)
Awesome! Thanks, I've just added it :)
DAC324 commented on 2021-08-26 08:38 (UTC) (edited on 2021-08-26 08:39 (UTC) by DAC324)
@IslandC0der:
Thanks a lot for your work. With the latest PKGBUILD
, the packages install without complaints.
There is only one thing that might make sense to be added to PKGBUILD
:
CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
This is because the Arch developers have decided to include the flag -Werror=format-security
in /etc/makepkg.conf
, and hence, it is applied to the flags used by makepkg
when compiling sources.
As gcc
does not like this flag, it is better to have it removed, at least for this package.
IslandC0der commented on 2021-08-22 18:59 (UTC)
The conflict issue should be solved now with the latest PKGBUILD version; I'm still trying to debug the other ones.
Speaking of which, if you still have those issues, would you mind emailing me your compiled gcc-*-git
packages (along with that config.log
file on your third error message)?
I can't currently build them due to hardware limitations :/
DAC324 commented on 2021-08-20 09:18 (UTC) (edited on 2021-08-20 09:52 (UTC) by DAC324)
@IslandC0der: "Similarly, even though gcc-ada-git provides GNAT support, when building for the first time, it will require some existing GNAT support (i.e. from gcc-ada)."
Problem: With gcc-ada-git
installed, I get
configure: error: GNAT is required to build ada
==> ERROR: A failure occurred in build().
Aborting...
To resolve this error, I have to install stock gcc-ada
, however, after that, I of course get
==> Checking buildtime dependencies...
==> Missing dependencies:
-> gcc-ada-git
==> ERROR: Could not resolve all dependencies.
To remedy this, I will have to change gcc-ada-git
to gcc-ada
in the makedepends line.
Same, by the way, with the installed gcc-git
itself. With gcc-git
installed, I usually get
configure: error: C compiler cannot create executables
See `config.log' for more details
==> ERROR: A failure occurred in build().
Aborting...
So, I have to reinstall stock gcc
first to get a working compiler.
Now, there seems to be one glitch remaining. When trying to install gcc-libs-git
after I have successfully built and installed gcc-git
, I get:
:: gcc-libs-git and gcc-git are in conflict (gcc). Remove gcc-git? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: gcc-libs-git and gcc-git are in conflict
IslandC0der commented on 2021-08-18 20:59 (UTC)
Hmm, do you still get that issue with the latest version of the PKGBUILD? I tweaked it a bit yesterday (I added the non -git versions to provides
).
Tip: running makepkg -i
automatically calls pacman -U
to install the built package :)
DAC324 commented on 2021-08-18 16:43 (UTC) (edited on 2021-08-18 16:48 (UTC) by DAC324)
@IslandC0der: "yes, it tries to install gcc so it can compile itself... You can't compile a compiler without a compiler already present :P
Similarly, even though gcc-ada-git provides GNAT support, when building for the first time, it will require some existing GNAT support (i.e. from gcc-ada)."
That's well understood but shouldn't the package recognize former versions of gcc-git
if already installed?
Trying to update gcc-git
, it complained about a missing gcc
dependency. Same with gcc-ada-git
; it should also provide gcc-ada
.
However, I get an error from the gcc-git
package about gcc-ada
being missing as well, even after having installed gcc-ada-git
.
Unfortunately, due to Arch's decision to include -Werror=format-security
in /etc/makepkg.conf
, I currently have to modify the PKGBUILD
so that this flag is inactivated for gcc-git
and then manually run makepkg
and sudo pacman -U gcc-git{version}
.
IslandC0der commented on 2021-08-17 21:52 (UTC)
@DAC324
Regarding the yay
error: that sounds like a problem with yay
itself, have you tried doing a clean build (or maybe removing ~/.cache/yay/gcc-git/
)?
Regarding the other problems: yes, it tries to install gcc
so it can compile itself... You can't compile a compiler without a compiler already present :P
Similarly, even though gcc-ada-git
provides GNAT support, when building for the first time, it will require some existing GNAT support (i.e. from gcc-ada
).
PS: the redirection is normal, since this is a split package.
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)