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: 67
Popularity: 2.13
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 »

wojciechkepka commented on 2020-10-04 05:01

I also had a problem importing GPG keys, but changing the keyserver to pool.sks-keyservers.net helped import them manually. But now i'm getting this:

==> Verifying source file signatures with gpg...
    gcc-10.1.0.tar.xz ... Passed (WARNING: the key has expired.)
==> WARNING: Warnings have occurred while verifying the signatures.
    Please make sure you really trust them.
 -> arm-linux-gnueabihf-gcc-stage2 not satisfied, flushing install queue
==> Making package: arm-linux-gnueabihf-glibc 2.31-3.1 (Sun 04 Oct 2020 06:59:25 AM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> arm-linux-gnueabihf-gcc-stage2
==> ERROR: Could not resolve all dependencies.
error making: arm-linux-gnueabihf-glibc

peter.babic commented on 2020-09-09 05:01

gpg --keyserver pool.sks-keyservers.net --recv-keys ABAF11C65A2970B130ABE3C479BE3E4300411886 BC7C7372637EC10C57D7AA6579C43DFBF1CF2187 F3691687D867B81B51CE07D9BBE43771487328A9 13975A70E63C361C73AE69EF6EEB81F8981C74C7 33C235A34C46AA3FFB293709A328C3A2C3C45C06 3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F 647F28654894E3BD457199BE38DBBDC86092693E 7273542B39962DF7B299931416792B4EA25340F8 86CFFCA918CF3AF47147588051E8B148A9999C34

DocMAX commented on 2020-08-26 14:50

Fixed that... now:

==> Verifying source file signatures with gpg... gcc-10.1.0.tar.xz ... Passed -> arm-linux-gnueabihf-gcc-stage2 not satisfied, flushing install queue ==> Making package: arm-linux-gnueabihf-glibc 2.31-3.1 (Wed Aug 26 16:49:47 2020) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Missing dependencies: -> arm-linux-gnueabihf-gcc-stage2 ==> ERROR: Could not resolve all dependencies. error making: arm-linux-gnueabihf-glibc

DocMAX commented on 2020-08-26 13:20

Getting an error:

:: PGP keys need importing: -> 3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F, required by: arm-linux-gnueabihf-binutils -> 7273542B39962DF7B299931416792B4EA25340F8, required by: arm-linux-gnueabihf-glibc -> BC7C7372637EC10C57D7AA6579C43DFBF1CF2187, required by: arm-linux-gnueabihf-glibc -> F3691687D867B81B51CE07D9BBE43771487328A9, required by: arm-linux-gnueabihf-gcc -> 86CFFCA918CF3AF47147588051E8B148A9999C34, required by: arm-linux-gnueabihf-gcc -> 13975A70E63C361C73AE69EF6EEB81F8981C74C7, required by: arm-linux-gnueabihf-gcc -> 33C235A34C46AA3FFB293709A328C3A2C3C45C06, required by: arm-linux-gnueabihf-gcc :: Importing keys with gpg... gpg: keyserver receive failed: General error problem importing keys

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.