Package Details: mips-elf-gcc 12.2.0-1

Git Clone URL: https://aur.archlinux.org/mips-elf-gcc.git (read-only, click to copy)
Package Base: mips-elf-gcc
Description: The GNU Compiler Collection - cross compiler for MIPS ELF (bare-metal) target
Upstream URL: https://gcc.gnu.org/
Licenses: GPL
Conflicts: cross-mips-elf-gcc
Replaces: cross-mips-elf-gcc
Submitter: angelodalzotto
Maintainer: angelodalzotto
Last Packager: angelodalzotto
Votes: 5
Popularity: 0.000114
First Submitted: 2022-03-14 00:26 (UTC)
Last Updated: 2022-08-29 12:24 (UTC)

Latest Comments

« First ‹ Previous 1 2

philpirj commented on 2021-06-08 09:37 (UTC)

According to http://www.gnu.org/software/gcc/mirrors.html, there are more valid signing keys.

validpgpkeys=('B215C1633BCA0477615F1B35A5B3A004745C015A'
              'B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8'
              '90AA470469D3965A87A5DCB494D03953902C9419'
              '80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C'
              '7F74F97C103468EE5D750B583AB00996FC26A641'
              '33C235A34C46AA3FFB293709A328C3A2C3C45C06'
              'D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62')

should work.

philpirj commented on 2021-06-08 08:52 (UTC) (edited on 2021-06-08 08:52 (UTC) by philpirj)

==> Validating source files with md5sums...
    gcc-11.1.0.tar.gz ... Passed
    gcc-11.1.0.tar.gz.sig ... Skipped
==> Verifying source file signatures with gpg...
    gcc-11.1.0.tar.gz ... FAILED (unknown public key 6C35B99309B5FA62)
==> ERROR: One or more PGP signatures could not be verified!
warning: package cross-mips-elf-gcc failed to build, skipping

ecloud commented on 2019-09-08 07:17 (UTC) (edited on 2019-09-08 07:18 (UTC) by ecloud)

Is this intended as a bare-metal compiler? It seems incomplete for building binaries for openwrt... that's what I was hoping to use it for. Of course there are no headers included, and even if I work around that, I see that it's not able to link a "hello world" executable:

$ mips-elf-gcc -I/usr/include hello.c -o hello-mips
hello.c: In function 'main':
hello.c:6:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
     exit(42);
     ^
hello.c:6:5: warning: incompatible implicit declaration of built-in function 'exit'
hello.c:6:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
/usr/lib/cross-mips-elf/lib/gcc/mips-elf/5.4.0/../../../../mips-elf/bin/ld: cannot find crti.o: No such file or directory
/usr/lib/cross-mips-elf/lib/gcc/mips-elf/5.4.0/../../../../mips-elf/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/lib/cross-mips-elf/lib/gcc/mips-elf/5.4.0/../../../../mips-elf/bin/ld: cannot find -lgcc
/usr/lib/cross-mips-elf/lib/gcc/mips-elf/5.4.0/../../../../mips-elf/bin/ld: cannot find -lgcc
/usr/lib/cross-mips-elf/lib/gcc/mips-elf/5.4.0/../../../../mips-elf/bin/ld: cannot find crtend.o: No such file or directory
/usr/lib/cross-mips-elf/lib/gcc/mips-elf/5.4.0/../../../../mips-elf/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status