Package Details: i686-elf-gcc 15.2.0-2

Git Clone URL: https://aur.archlinux.org/i686-elf-gcc.git (read-only, click to copy)
Package Base: i686-elf-gcc
Description: GNU gcc for the i686 toolchain
Upstream URL: https://www.gnu.org/software/gcc
Licenses: GPL
Groups: i686-elf-toolchain
Submitter: andrewchen
Maintainer: mak1
Last Packager: mak1
Votes: 12
Popularity: 0.000175
First Submitted: 2014-12-02 22:57 (UTC)
Last Updated: 2025-11-25 00:44 (UTC)

Pinned Comments

c0repwn3r commented on 2022-05-13 02:26 (UTC) (edited on 2022-05-13 02:27 (UTC) by c0repwn3r)

I have taken over this package, build issues should be fixed and it has been updated to GCC 11.2.0. No makepkg.conf edits are required anymore, GCC sources are patched to fix the build problems

Latest Comments

1 2 3 Next › Last »

arslaanpathan commented on 2026-02-14 01:15 (UTC) (edited on 2026-02-14 01:18 (UTC) by arslaanpathan)

I just tested this package on aarch64/arm64 (Apple M2, Asahi Arch Linux ARM) by modifying the PKGBUILD. It works perfectly for cross-compiling bare-metal OS dev projects, you just have to compile i686-elf-binutils first (also by modifying the PKGBUILD).
I'd suggest adding aarch64 to the supported architectures list in the PKGBUILD so that other users don't have to modify it themselves.

Suggested change:
arch=('x86_64')
-> arch=('x86_64' 'aarch64')

andreas_baumann commented on 2026-01-29 06:49 (UTC)

yay tells me: -> i686-elf-gcc: local (15.2.0-3) is newer than AUR (15.2.0-2)

The version shown here in the web interface too is 15.2.0-2, if I check out the package I see pkgver=3 in PKGBUILD.

Maybe .SRCINFO is not up to date to the latest version is not in the AUR git? (that would be the mistakes I usually do :-) )

dujemiha commented on 2024-11-18 15:14 (UTC)

Will this package be updated?

andreas_baumann commented on 2024-04-18 06:43 (UTC)

Had to download from https://ftp.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.xz

c0repwn3r commented on 2022-05-13 02:26 (UTC) (edited on 2022-05-13 02:27 (UTC) by c0repwn3r)

I have taken over this package, build issues should be fixed and it has been updated to GCC 11.2.0. No makepkg.conf edits are required anymore, GCC sources are patched to fix the build problems

<deleted-account> commented on 2022-01-10 11:15 (UTC)

I've managed to remove the -Werror=format-security flag by adding the following in the build() function right before the make all-gcc line in PKGBUILD

cat Makefile|sed "s/ \-Werror\=format\-security//">Makefile2&&mv Makefile2 Makefile

alicela1n commented on 2021-11-04 05:27 (UTC)

A workaround to build the package using Makepkg would be to remove Werror=format-security from your makepkg.conf

Unsubtle7826 commented on 2021-08-17 13:53 (UTC)

A working solution would be to remove the Werror=format-security in the Makefile.

Unsubtle7826 commented on 2021-08-17 13:44 (UTC) (edited on 2021-08-17 13:53 (UTC) by Unsubtle7826)

Werror=format-security fails for me as well.

elmazzun commented on 2021-08-10 20:43 (UTC)

I'm still having problems with this package.
Trying to compile this with makepkg -si, can't do it because of Werror=format-security.
Is there any way I can overwrite CFLAGS and remove those warning seen
as errors?