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

Git Clone URL: https://aur.archlinux.org/arm-linux-gnueabihf-gcc.git (read-only, click to copy)
Package Base: arm-linux-gnueabihf-gcc
Description: The GNU Compiler Collection (arm-linux-gnueabihf)
Upstream URL: https://gcc.gnu.org
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: https://github.com/tavianator/arch-rpi-cross/blob/master/install.sh

It is

arm-linux-gnueabihf-binutils
arm-linux-gnueabihf-gcc-stage1
arm-linux-gnueabihf-linux-api-headers
arm-linux-gnueabihf-glibc-headers
arm-linux-gnueabihf-gcc-stage2
arm-linux-gnueabihf-glibc
arm-linux-gnueabihf-gcc

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

@tavianator

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                    libdl.so.2             libpthread.a
crt1.o                   libg.a                 libpthread.so
crti.o                   libgcc_s.so            libpthread.so.0
crtn.o                   libgcc_s.so.1          libresolv-2.31.so
gconv                    libm-2.31.so           libresolv.a
gcrt1.o                  libm.a                 libresolv.so
ld-2.31.so               libmcheck.a            libresolv.so.2
ld-linux-armhf.so.3      libmemusage.so         librt-2.31.so
ldscripts                libm.so                librt.a
libanl-2.31.so           libm.so.6              librt.so
libanl.a                 libnsl-2.31.so         librt.so.1
libanl.so                libnsl.so.1            libSegFault.so
libanl.so.1              libnss_compat-2.31.so  libstdc++fs.a
libBrokenLocale-2.31.so  libnss_compat.so       libstdc++.so
libBrokenLocale.a        libnss_compat.so.2     libstdc++.so.6
libBrokenLocale.so       libnss_db-2.31.so      libstdc++.so.6.0.28
libBrokenLocale.so.1     libnss_db.so           libstdc++.so.6.0.28-gdb.py
libc-2.31.so             libnss_db.so.2         libsupc++.a
libc.a                   libnss_dns-2.31.so     libthread_db-1.0.so
libc_nonshared.a         libnss_dns.so          libthread_db.so
libcrypt-2.31.so         libnss_dns.so.2        libthread_db.so.1
libcrypt.a               libnss_files-2.31.so   libutil-2.31.so
libcrypt.so              libnss_files.so        libutil.a
libcrypt.so.1            libnss_files.so.2      libutil.so
libc.so                  libnss_hesiod-2.31.so  libutil.so.1
libc.so.6                libnss_hesiod.so       Mcrt1.o
libdl-2.31.so            libnss_hesiod.so.2     Scrt1.o
libdl.a                  libpcprofile.so
libdl.so                 libpthread-2.31.so
[alzeha@flaptop ~]$ 

tavianator commented on 2020-06-23 16:53

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

alzeha commented on 2020-06-23 15:03

Hi,

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: libpthread.so.0, needed by /usr/lib/gcc/arm-linux-gnueabihf/10.1.0/../../../../arm-linux-gnueabihf/lib/librt.so, 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/librt.so: 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/librt.so: 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/librt.so: 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/librt.so: 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/librt.so: 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/librt.so: 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/librt.so: 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/librt.so: 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/librt.so: 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/librt.so: 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/librt.so: 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.

EDIT:

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

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

https://ibb.co/phRmbbf https://ibb.co/2sDWDHj

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 https://www.archlinux.org/packages/community/x86_64/aarch64-linux-gnu-gcc/)

  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:

  1. https://github.com/felipebalbi/arm-linux-gnueabihf-binutils/commit/a9155a826e5516629e95037cb43b384c7a30bfdb
  2. https://github.com/felipebalbi/arm-linux-gnueabihf-gcc-stage1/commit/ed06b071689303dcc310fefb5a4d23826c789970
  3. https://github.com/felipebalbi/arm-linux-gnueabihf-linux-api-headers/commit/0e0d710aeefdff4bc3f3ff82dae4d34142c4ce4b
  4. https://github.com/felipebalbi/arm-linux-gnueabihf-glibc-headers/commit/e828eb4bacbc428b820a27b20fb445a160dcd018
  5. https://github.com/felipebalbi/arm-linux-gnueabihf-gcc-stage2/commit/a505dd9d25f119548501b76105fa614ea47e7e41
  6. https://github.com/felipebalbi/arm-linux-gnueabihf-glibc/commit/2e67b8513ee0f4463f76a11b8b90c51228893f38
  7. https://github.com/felipebalbi/arm-linux-gnueabihf-gcc/commit/2bbb16d1545b54e845652c400ef3ea67878b869b

cheers