Package Details: arm-frc-linux-gnueabi-gcc 5.5.0-3

Git Clone URL: https://aur.archlinux.org/arm-frc-linux-gnueabi-gcc.git (read-only)
Package Base: arm-frc-linux-gnueabi-gcc
Description: The GNU Compiler Collection (arm-frc-linux-gnueabi)
Upstream URL: http://gcc.gnu.org
Licenses: GPL, LGPL
Groups: frc-toolchain
Submitter: calcmogul
Maintainer: None
Last Packager: calcmogul
Votes: 4
Popularity: 0.000012
First Submitted: 2014-12-14 13:40
Last Updated: 2018-11-16 20:38

Latest Comments

calcmogul commented on 2019-01-08 18:12

This package is no longer needed. The toolchain is now built upstream by wpilib and the wpilib deps are provided via GradleRIO. Only the frc-toolchain package is needed.

auscompgeek commented on 2018-11-14 12:10

It looks like the toolchain for Ubuntu is built with --with-fpu=vfpv3. Shouldn't this use vfpv3 as well, instead of simply vfp?

calcmogul commented on 2018-09-05 06:35

Do you have arm-frc-linux-gnueabi-binutils installed? Try running "arm-frc-linux-gnueabi-ld --version".

Daviji commented on 2018-09-05 06:30

Fails to build for me

Configuring in ./gcc configure: loading cache ./config.cache checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... arm-frc-linux-gnueabi checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok checking whether to place generated files in the source directory... no configure: error: cannot execute: /usr/bin/arm-frc-linux-gnueabi-ld: check --with-ld or env. var. DEFAULT_LINKER make: *** [Makefile:4070: configure-gcc] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

calcmogul commented on 2016-08-14 08:51

I have reproduced the issue and patched it. GCC 4.9.4 builds fine without the patch, but I need to ask whether it's OK to upgrade first.

The AUR neither accepted my original public key nor is accepting a new one I generated and submitted. For now, here is the AUR repo patch so you can fix your build:

From 40c95da734f2fc20697a5d5c04e5a2351d9c49af Mon Sep 17 00:00:00 2001
From: Tyler Veness <calcmogul@gmail.com>
Date: Sun, 14 Aug 2016 01:15:11 -0700
Subject: [PATCH] Fixed build for GCC 6

---
.SRCINFO | 4 +++-
PKGBUILD | 11 ++++++++---
remove-inline-specifier.patch | 13 +++++++++++++
3 files changed, 24 insertions(+), 4 deletions(-)
create mode 100644 remove-inline-specifier.patch

diff --git a/.SRCINFO b/.SRCINFO
index 70c973f..2babc09 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = arm-frc-linux-gnueabi-gcc
pkgdesc = The GNU Compiler Collection (arm-frc-linux-gnueabi)
pkgver = 4.9.3
- pkgrel = 3
+ pkgrel = 4
url = http://gcc.gnu.org
arch = i686
arch = x86_64
@@ -22,9 +22,11 @@ pkgbase = arm-frc-linux-gnueabi-gcc
source = ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.9.3/gcc-4.9.3.tar.bz2
source = minorSOname.patch
source = no-nested-deprecated-warnings.patch
+ source = remove-inline-specifier.patch
md5sums = 6f831b4d251872736e8e9cc09746f327
md5sums = eac80070a6324fc67ed5b3ac85551789
md5sums = 507f0b6c95ad5ff8e436697ae093a10d
+ md5sums = 8d18ac970d9a3c410c07109c0830c2f4

pkgname = arm-frc-linux-gnueabi-gcc

diff --git a/PKGBUILD b/PKGBUILD
index 73709cd..ccb1d58 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_target="arm-frc-linux-gnueabi"
pkgname=${_target}-gcc
pkgver=4.9.3
-pkgrel=3
+pkgrel=4
pkgdesc="The GNU Compiler Collection (${_target})"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
@@ -14,10 +14,12 @@ options=('!buildflags' '!libtool' '!emptydirs' 'zipman' 'docs'
'!strip' 'staticlibs')
source=("ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2"
"minorSOname.patch"
- "no-nested-deprecated-warnings.patch")
+ "no-nested-deprecated-warnings.patch"
+ "remove-inline-specifier.patch")
md5sums=('6f831b4d251872736e8e9cc09746f327'
'eac80070a6324fc67ed5b3ac85551789'
- '507f0b6c95ad5ff8e436697ae093a10d')
+ '507f0b6c95ad5ff8e436697ae093a10d'
+ '8d18ac970d9a3c410c07109c0830c2f4')

prepare() {
cd "${srcdir}/gcc-${pkgver}"
@@ -26,6 +28,9 @@ prepare() {

patch -p1 < ${srcdir}/minorSOname.patch
patch -p1 < ${srcdir}/no-nested-deprecated-warnings.patch
+
+ # Fixes build of GCC 4.9.3 for GCC 6
+ patch -p1 < ${srcdir}/remove-inline-specifier.patch
}

build() {
diff --git a/remove-inline-specifier.patch b/remove-inline-specifier.patch
new file mode 100644
index 0000000..f583df1
--- /dev/null
+++ b/remove-inline-specifier.patch
@@ -0,0 +1,13 @@
+diff --git a/gcc/cp/cfns.h b/gcc/cp/cfns.h
+index c845ddf..3e0987c 100644
+--- a/gcc/cp/cfns.h
++++ b/gcc/cp/cfns.h
+@@ -125,7 +125,7 @@ hash (register const char *str, register unsigned int len)
+ #ifdef __GNUC__
+ __inline
+ #ifdef __GNUC_STDC_INLINE__
+-__attribute__ ((__gnu_inline__))
++//__attribute__ ((__gnu_inline__))
+ #endif
+ #endif
+ const char *
--
2.9.3

celskeggs commented on 2016-08-14 07:10

This fails to build for me:

In file included from ../../gcc/cp/except.c:1013:0:
cfns.gperf: In function 'const char* libc_name_p(const char*, unsigned int)':
cfns.gperf:101:1: error: 'const char* libc_name_p(const char*, unsigned int)' redeclared inline with 'gnu_inline' attribute
cfns.gperf:26:14: note: 'const char* libc_name_p(const char*, unsigned int)' previously declared here
cfns.gperf: At global scope:
cfns.gperf:26:14: warning: inline function 'const char* libc_name_p(const char*, unsigned int)' used but never defined
make[1]: *** [Makefile:1058: cp/except.o] Error 1

It seems likely that this bug is related, which would suggest breakage with a recent version of gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959