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

Git Clone URL: (read-only)
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=8.1.0, arm-linux-gnueabihf-gcc-stage2=8.1.0
Replaces: arm-linux-gnueabihf-gcc-stage1, arm-linux-gnueabihf-gcc-stage2
Submitter: tavianator
Maintainer: tavianator
Last Packager: tavianator
Votes: 46
Popularity: 2.252815
First Submitted: 2015-09-14 15:41
Last Updated: 2018-05-11 18:12

Latest Comments

loadlover commented on 2018-02-09 17:45

Please ignore my previous comment as I have solved the issue (undeclared env variables) by removing C/C++ entries in my .bashrc.

loadlover commented on 2018-02-09 15:17

I'm getting the following errors. Can anyone help pls? I'm not very experienced at this..

error: ‘DEFAULT_GENERATE_ELF_STT_COMMON’ undeclared here (not in a function); did you mean ‘BFD_USE_ELF_STT_COMMON’? error: ‘TARGET_ALIAS’ undeclared (first use in this function); did you mean ‘TARGET_ARCH’? error: ‘TARGET_ALIAS’ undeclared (first use in this function); did you mean ‘TARGET_ARCH’? error: ‘TARGET_CANONICAL’ undeclared (first use in this function); did you mean ‘TARGET_ALIAS’? error: ‘TARGET_CPU’ undeclared (first use in this function); did you mean ‘TARGET_ARCH’?

patrickelectric commented on 2018-02-06 15:00

Why this package does not come with arm-linux-gnueabihf-pkg-config ?

Glavnokoman commented on 2018-01-25 12:43

fixed by reinstalling arm-linux-gnueabihf-binutils

Glavnokoman commented on 2018-01-25 10:33

after update to 7.2.0-3 compilation of trivial main.c fails with '/usr/lib/gcc/arm-linux-gnueabihf/7.2.0/cc1: error while loading shared libraries: cannot open shared object file: No such file or directory'

tavianator commented on 2018-01-04 03:47

@sirplatypus: The correct order can be seen here:

sirplatypus commented on 2018-01-04 03:10

Due to the sheer number of errors I have run into trying to compile this package, I am now wondering what the correct way to go about this is. Just trying to compile this package of course does not work, and at this point I have gathered that each dependency must be individually installed in a specific order. What is that order? Thanks

coolp_jim commented on 2017-10-24 12:13

I tried to install this package yesterday without luck. After adding the needed PGP keys, the arm-linux-gnueabihf-gcc-stage1 package fails to build with:

/home/jim/.cache/pacaur/arm-linux-gnueabihf-gcc-stage1/src/gcc/gcc/statistics.h:25:2: error: #error GATHER_STATISTICS must be defined
#error GATHER_STATISTICS must be defined

EDIT: It seems the issue was my appending to some environment variables, unsetting them cleared the issue.

Hi-Angel commented on 2017-06-29 08:24

Installed the package two days ago (another computer). For compiling this simple code:

#include <string>
std::string str;
int main() { return 0; }

I'm getting:

λ arm-linux-gnueabihf-g++ test.cpp -o a
/tmp/ccXKFetI.o: In function `__static_initialization_and_destruction_0(int, int)':
test.cpp:(.text+0x50): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()'
test.cpp:(.text+0x7c): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'

I've tried adding -lstdc++, defining a macro _GLIBCXX_USE_CXX11 to 1 and to 0, but it didn't work. "verbose" shows it's using correct lib paths "/usr/lib/gcc/arm-linux-gnueabihf/…"

EDIT: sorry, the text is actually nicely formatted, but site is eating the whitespace.

tavianator commented on 2017-02-03 00:27

@Hi-Angel: You should install the entire base-devel group for building packages.


> Note: The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.

All comments