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

Git Clone URL: (read-only, click to copy)
Package Base: arm-linux-gnueabihf-gcc
Description: The GNU Compiler Collection (arm-linux-gnueabihf)
Upstream URL:
Licenses: GPL, custom, LGPL, FDL
Conflicts: arm-linux-gnueabihf-gcc-stage1, arm-linux-gnueabihf-gcc-stage2
Provides: arm-linux-gnueabihf-gcc-stage1=11.1.0, arm-linux-gnueabihf-gcc-stage2=11.1.0
Replaces: arm-linux-gnueabihf-gcc-stage1, arm-linux-gnueabihf-gcc-stage2
Submitter: tavianator
Maintainer: razykov
Last Packager: razykov
Votes: 73
Popularity: 1.63
First Submitted: 2015-09-14 15:41
Last Updated: 2021-05-29 16:42

Latest Comments

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

smallAndSimple commented on 2021-06-05 11:52

Every single time an update comes out for this package, I need to install stage-1 -> stage-2 -> this. Is it possible to update directly without having to reinstall stage-1 and stage-2 every single time?

Edit: the problem is arm-linux-gnueabihf-glibc, which requires a newer gcc, but the newer gcc requires the newer glibc. Only way to break the cycle is to install the new stage-2, which requires the new stage-1.

mtudan commented on 2021-03-17 09:35

Got the following error with paru:

configure: error: 
*** These critical programs are missing or too old: GNU ld
*** Check the INSTALL file for required versions.

JanSurft commented on 2021-03-05 13:55

Is there a straight forward way to also provide the libstdc++.a static library together with the shared?

I can only see the *.so files of libstdc++ and I would need the static one for some cross compilation issues.

@smallAndSimple: it worked perfectly the way you described it

smallAndSimple commented on 2021-02-20 15:09

Edit: this is about the missing libctf problem.

I digged around a bit, and the actual problem lies in arm-linux-gnueabihf-binutils. I did the following as a workaround:

  1. Cleaned up all arm-linux-gnueabihf-* related stuff completely.

  2. Download arm-linux-gnueabihf-binutils PKGBUILD and add --disable-libctf\ to the list of ./configure parameters

  3. makepkg -sri to install arm-linux-gnueabihf-binutils

  4. Install arm-linux-gnueabihf-gcc-stage1

  5. Install arm-linux-gnueabihf-gcc-stage2

  6. Install this

A less thorough approach might be possible. Also, libctf apparantly can do something useful with debug sections, so you might run into trouble down the line.

smallAndSimple commented on 2021-02-20 14:37

So, since the situation will probably not be solved very soon ( is closed because of upstream), is there a way around it? Can you compile this without libctf?

CapSel commented on 2021-02-18 11:13

Can't compile. is missing. Here is bug for it

tayspen72 commented on 2021-01-31 18:56

@AchmadFathoni My mistake. I pasted them in the wrong order. It should be stage 1 -> stage 2 -> gcc. I called them progressive because stage 1 is used to build stage 2, stage 2 is used to build the final gcc.

AchmadFathoni commented on 2021-01-30 23:38

@tayspen72 Are you sure that sequence correct? Becasue arm-linux-gnueabihf-gcc-stage2 requires arm-linux-gnueabihf-glibc-headers which requires arm-linux-gnueabihf-gcc-stage1. I get this error when installing arm-linux-gnueabihf-gcc-stage2

==> Missing dependencies:
  -> arm-linux-gnueabihf-gcc-stage1>=10.2.0-1
==> ERROR: Could not resolve all dependencies.
error making: arm-linux-gnueabihf-glibc-headers

tayspen72 commented on 2021-01-30 16:41

@AchmadFathoni remember that this cross-compile gcc is a progressive or sequential install. They must be installed in order. IE:

-> arm-linux-gnueabihf-gcc-stage1
-> arm-linux-gnueabihf-gcc-stage2
-> arm-linux-gnueabihf-gcc

I just verified this, also using yay.

AchmadFathoni commented on 2021-01-30 15:54

Yay error

==> Missing dependencies:
  -> arm-linux-gnueabihf-gcc-stage2>=10.2.0-1
==> ERROR: Could not resolve all dependencies.
error making: arm-linux-gnueabihf-glibc

Is there any AUR helper beside yay that can successfully install this package?