Package Details: arm-linux-gnueabi-gcc 13.2.0-1

Git Clone URL: https://aur.archlinux.org/arm-linux-gnueabi-gcc.git (read-only, click to copy)
Package Base: arm-linux-gnueabi-gcc
Description: The GNU Compiler Collection - cross compiler for ARM GNU EABI little-endian target
Upstream URL: http://gcc.gnu.org/
Licenses: GPL, LGPL, FDL
Submitter: Megver83
Maintainer: pdlloyd
Last Packager: pdlloyd
Votes: 5
Popularity: 0.019653
First Submitted: 2018-05-05 22:58 (UTC)
Last Updated: 2023-12-20 00:48 (UTC)

Latest Comments

1 2 Next › Last »

pdlloyd commented on 2023-10-16 00:39 (UTC)

I had some issues with the author's public key being considered invalid. My fix was to manually update the key with the following:

curl 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xd3a93cad751c2af4f8c7ad516c35b99309b5fa62' | gpg --import -

glenntanner3 commented on 2021-12-15 20:46 (UTC)

Seems our aur package needs to be updated with the new path for the isl-0.22.tar.bz2 package at https://libisl.sourceforge.io/.

https://groups.google.com/g/isl-development/c/JGaMo2VUu_8?pli=1

Mikael Öhman unread, Oct 4, 2021, 11:45:25 AM to isl Development It's not unreliable, it has in fact shut down (https://giters.com/coq/opam-coq-archive/issues/1298?amp=1), replaced with gitlab.inria.fr. I went here looking where the project moved, but it seems it hasn't been migrated anywhere yet?

tchelovek commented on 2021-10-03 22:39 (UTC)

While running makepkg some errors turned up

libcpp/expr.c:804:38: error: format not a string literal and no format arguments [-Werror=format-security] 804 | cpp_pedwarning_with_line (pfile, CPP_W_LONG_LONG, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 805 | virtual_location, 0, message);

To overcome remove -Werror=format-security from /etc/makepkg.conf, see

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100207

202110040038

tchelovek commented on 2021-10-03 22:14 (UTC)

The Source http://isl.gforge.inria.fr/isl-0.22.tar.bz2 seems to be broken for good, alternatively use http://mirror.sobukus.de/files/src/isl/isl-0.22.tar.bz2

20211004 t.

LyuFifi commented on 2021-06-11 03:30 (UTC) (edited on 2021-06-11 03:32 (UTC) by LyuFifi)

Build error:

gcc-10.2.0/libcpp/expr.c:801:35: error: format not a string literal and no format arguments [-Werror=format-security]

Solution:

step1. Temporarily remove the line from /etc/makepkg.conf,

"-Wformat -Werror=format-security \"

step2. rebuild package and successful.

frojnd commented on 2021-05-27 09:54 (UTC) (edited on 2021-05-27 09:55 (UTC) by frojnd)

Hi Megver83, thank you for this package. I first installed arm-linux-gnueabi-binutils, pacman -Q arm-linux-gnueabi-binutils 2.36.1-1

But when trying to install arm-linux-gnueabi-gcc I get compilation error:

/home/frojnd/.cache/yay/arm-linux-gnueabi-gcc/src/gcc-10.2.0/libcpp/expr.c: In function ‘unsigned int cpp_classify_number(cpp_reader*, const cpp_token*, const char**, location_t)’: /home/frojnd/.cache/yay/arm-linux-gnueabi-gcc/src/gcc-10.2.0/libcpp/expr.c:801:35: error: format not a string literal and no format arguments [-Werror=format-security] 801 | cpp_warning_with_line (pfile, CPP_W_LONG_LONG, virtual_location, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 802 | 0, message); | ~~~~~~~~~~~ /home/frojnd/.cache/yay/arm-linux-gnueabi-gcc/src/gcc-10.2.0/libcpp/expr.c:804:38: error: format not a string literal and no format arguments [-Werror=format-security] 804 | cpp_pedwarning_with_line (pfile, CPP_W_LONG_LONG, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 805 | virtual_location, 0, message); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: some warnings being treated as errors make[1]: *** [Makefile:224: expr.o] Error 1

Megver83 commented on 2019-06-14 19:52 (UTC) (edited on 2019-06-14 20:07 (UTC) by Megver83)

Notes about this package:
  • For building it, you first need arm-linux-gnueabi-binutils
  • This cross compiler is built without libc, meaning that if you need it with glibc/newlib, you'll have to modify it accordingly (see this template for instance). However, it can work as your first compiler for building libc
  • If you need help for anything that's not related about the package or its building process (e.g. technical issues related to GCC), please visit their forums and mailing lists. You'll probably find no help here in the comments.

xantares commented on 2019-03-20 10:34 (UTC) (edited on 2019-03-20 10:35 (UTC) by xantares)

I cannot seem to build a simple example:

$ echo "int main(){return 0;}" > main.c

$ arm-linux-gnueabi-gcc main.c

/usr/lib/gcc/arm-linux-gnueabi/8.2.0/../../../../arm-linux-gnueabi/bin/ld: cannot find crt1.o: No such file or directory ...

/usr/lib/gcc/arm-linux-gnueabi/8.2.0/../../../../arm-linux-gnueabi/bin/ld: cannot find -lgcc

...

collect2: error: ld returned 1 exit status

The command '/bin/sh -c arm-linux-gnueabi-gcc main.c' returned a non-zero code: 1

gmelchett commented on 2019-03-03 07:35 (UTC)

Compiling fails:

g++ -c -march=x86-64 -mtune=generic -O2 -fno-plt -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I/home/jonas/Downloads/arch/arm-linux-gnueabi-gcc/src/gcc-8.2.0/gcc -I/home/jonas/Downloads/arch/arm-linux-gnueabi-gcc/src/gcc-8.2.0/gcc/build -I/home/jonas/Downloads/arch/arm-linux-gnueabi-gcc/src/gcc-8.2.0/gcc/../include -I/home/jonas/Downloads/arch/arm-linux-gnueabi-gcc/src/gcc-8.2.0/gcc/../libcpp/include -D_FORTIFY_SOURCE=2 \ -o build/genmodes.o /home/jonas/Downloads/arch/arm-linux-gnueabi-gcc/src/gcc-8.2.0/gcc/genmodes.c /usr/arm-linux-gnueabi/bin/as: unrecognized option '--64' make[1]: *** [Makefile:2670: build/genmodes.o] Error 1 -- It looks like it tries to use the cross-compile for the host.