Package Details: arm-linux-gnueabihf-gcc 10.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=10.1.0, arm-linux-gnueabihf-gcc-stage2=10.1.0
Replaces: arm-linux-gnueabihf-gcc-stage1, arm-linux-gnueabihf-gcc-stage2
Submitter: tavianator
Maintainer: tavianator
Last Packager: tavianator
Votes: 65
Popularity: 1.73
First Submitted: 2015-09-14 15:41
Last Updated: 2020-05-15 19:44

Pinned Comments

tavianator commented on 2018-08-15 15:55

@TheSaint: The correct order can be seen here:

It is


The dependencies and provides have been set up so that AUR helpers should (hopefully) figure that out automatically.

Latest Comments

1 2 3 4 5 6 Next › Last »

alzeha commented on 2020-06-27 09:55


Sorry for the late reply. I am usually busy from Monday to Friday :/

Yes, I do:

[alzeha@flaptop ~]$ ls /usr/arm-linux-gnueabihf/lib/
audit                       libpthread.a
crt1.o                   libg.a       
gconv                     libresolv.a
gcrt1.o                  libm.a                      libmcheck.a  
ldscripts                      librt.a     
libanl.a                     libstdc++fs.a
libBrokenLocale.a             libsupc++.a
libcrypt.a                 libutil.a                       Mcrt1.o       Scrt1.o
[alzeha@flaptop ~]$ 

tavianator commented on 2020-06-23 16:53

@alzeha: Do you have the file /usr/arm-linux-gnueabihf/lib/ present, from the package arm-linux-gnueabihf-glibc?

alzeha commented on 2020-06-23 15:03


does anyone else have something like this:

arm-linux-gnueabihf-gcc -O2 -Wall -Wextra -std=c99 -Iinc -I. -L. tst/test_loragw_spi.c -o test_loragw_spi -lloragw -lrt -lm
/usr/bin/arm-linux-gnueabihf-ld: warning:, needed by /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/, not found (try using -rpath or -rpath-link)
/usr/bin/arm-linux-gnueabihf-ld: /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/ undefined reference to `pthread_detach@GLIBC_2.4'
/usr/bin/arm-linux-gnueabihf-ld: /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/ undefined reference to `__pthread_barrier_wait@GLIBC_PRIVATE'
/usr/bin/arm-linux-gnueabihf-ld: /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/ undefined reference to `__pthread_barrier_init@GLIBC_PRIVATE'
/usr/bin/arm-linux-gnueabihf-ld: /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/ undefined reference to `pthread_create@GLIBC_2.4'
/usr/bin/arm-linux-gnueabihf-ld: /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/ undefined reference to `__pthread_unwind@GLIBC_PRIVATE'
/usr/bin/arm-linux-gnueabihf-ld: /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/ undefined reference to `pthread_attr_setstacksize@GLIBC_2.4'
/usr/bin/arm-linux-gnueabihf-ld: /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/ undefined reference to `pthread_cancel@GLIBC_2.4'
/usr/bin/arm-linux-gnueabihf-ld: /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/ undefined reference to `pthread_sigmask@GLIBC_2.4'
/usr/bin/arm-linux-gnueabihf-ld: /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/ undefined reference to `pthread_once@GLIBC_2.4'
/usr/bin/arm-linux-gnueabihf-ld: /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/ undefined reference to `__shm_directory@GLIBC_PRIVATE'
/usr/bin/arm-linux-gnueabihf-ld: /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/ undefined reference to `__pthread_get_minstack@GLIBC_PRIVATE'

I do not see, what is happening here. I followed the order, given at the pinned comment.


[alzeha@flaptop ~]$ /usr/bin/arm-linux-gnueabihf-ld --verbose | grep SEARCH_DIR | tr -s ' ;' \\012

This does not seem right, or? There is additional =?

tavianator commented on 2020-06-10 20:50

@volker.raschek: So yay just seems totally unable to resolve the dependency chain. That's too bad, I know it used to work. Try installing everything in the order from the pinned comment.

volker.raschek commented on 2020-06-10 20:44

@tavianator: I've set LC_ALL and tried to install the arm-linux-gnueabihf-gcc-stage2 package manually with yay. I attached links to screenshots of the yay parms and the error below

tavianator commented on 2020-06-10 20:33

@volker.raschek: Possibly a bug in yay? If you try installing arm-linux-gnueabihf-gcc-stage2 manually does it work?

@streblo: More important than the compiler version is the version of the system libraries. I'm not sure what the relevant versions are for Debian, but you'd probably have more luck asking a Debian community.

volker.raschek commented on 2020-05-30 21:10

Failed to build the package with yay. Missing dependency arm-linux-gnueabihf-gcc-stage2.

(2/2) Keep the last cache and the currently installed.
==> no candidate packages found for pruning
==> Erstelle Paket: arm-linux-gnueabihf-glibc 2.31-3.1 (Sa 30 Mai 2020 23:07:56 CEST)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Fehlende Abhängigkeiten:
  -> arm-linux-gnueabihf-gcc-stage2
==> FEHLER: Konnte nicht alle Abhängigkeiten auflösen.
Error making: arm-linux-gnueabihf-glibc

Can anybody fix the error?

streblo commented on 2020-05-28 21:25

If I want a 8.3 toolchain for Debian buster is there an easy way to chase down which version of this package I need? Or can the host compiler be ahead of the target you are compiling for?

tavianator commented on 2020-05-15 19:46

@felipebalbi: I just updated everything. I credited you for the binutils patch since I took your solution to the conflicting files.

felipebalbi commented on 2020-05-13 05:49

@tavianator the reason I went with 10.1 is twofold:

  1. AARCH64 is already in 10.1 (see

  2. If I was already updating, might as well update to the latest :-p

Anyway here are all commits which I've pushed to github mirrors of your AUR repositories: