Package Details: arm-linux-gnueabihf-gcc-stage1 11.1.0-1

Git Clone URL: https://aur.archlinux.org/arm-linux-gnueabihf-gcc-stage1.git (read-only, click to copy)
Package Base: arm-linux-gnueabihf-gcc-stage1
Description: The GNU Compiler Collection. Stage 1 for toolchain building (arm-linux-gnueabihf)
Upstream URL: https://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Submitter: tavianator
Maintainer: razykov
Last Packager: razykov
Votes: 38
Popularity: 0.003905
First Submitted: 2015-09-14 15:30
Last Updated: 2021-05-29 16:38

Pinned Comments

fabian-ang commented on 2021-05-06 16:45

To anyone having issues building this, ensure that your makepkg.conf doesn't include "-Werror=format-security" in cflags. This caused my build to fail

Latest Comments

1 2 Next › Last »

starquake commented on 2021-06-07 08:41

If you want to build this but want to keep the default makepkg CFLAGS and CXXFLAGS add this to the top of the prepare part in PKGBUILD:

CFLAGS="${CFLAGS/ -Werror=format-security/}"

CXXFLAGS="${CXXFLAGS/ -Werror=format-security/}"

Maybe the mainter can add this?

starquake commented on 2021-06-07 05:04

The default makepkg.conf now includes "-Werror=format-security". Can the package be made to work with that default?

fabian-ang commented on 2021-05-06 16:45

To anyone having issues building this, ensure that your makepkg.conf doesn't include "-Werror=format-security" in cflags. This caused my build to fail

su.sung commented on 2016-08-05 18:57

@tavianator:
arm-linux-gnueabihf-gcc-stage1 6.1.1-3 on x86_64
makepkg build failure with:
/usr/bin/arm-linux-gnueabihf-as: unrecognized option '--64'

teozkr commented on 2016-05-18 22:18

@tavianator: Great, thanks! The CXXFLAGS thing was just a workaround in the meantime.

tavianator commented on 2016-05-16 22:36

@teozkr: I have updated this package to GCC 6.1.1-1, which seems to fix everything without having to change CXXFLAGS. Hopefully it works for you!

teozkr commented on 2016-05-15 21:07

This doesn't build anymore with GCC 6.
Changing line 59 from:

CXXFLAGS=${CXXFLAGS/-pipe/}

to

CXXFLAGS="${CXXFLAGS/-pipe/} --std=gnu++03"

seems to fix it.

tavianator commented on 2016-03-24 20:52

@blippy: This repo may help you with that: https://github.com/tavianator/arch-rpi-cross

install.sh will build everything in the right order.

blippy commented on 2016-03-19 11:06

@tavianator
Current installed tools:

local/arm-linux-gnueabihf-binutils 2.26-2
local/arm-linux-gnueabihf-gcc 5.2.0-2
local/arm-linux-gnueabihf-glibc 2.22-3
local/arm-linux-gnueabihf-linux-api-headers 4.4.1-1

I did not do a clean build (makepkg -C), but I did use new directories, so everything should be lean.

Order of building: um, all sorts. The dependencies are quite complicated, and I kept trying to install stuff until I got something to work. So I couldn't say definitively what the order is.

Maybe my next step is to uninstall all the packages and start again from scratch.

tavianator commented on 2016-03-14 15:21

@blippy: It's possible, which other tools do you have installed? I did do all the recent upgrades with the old versions still installed though, so it should work.

Did you do a clean build (makepkg -C)? What order are you building stuff in?