Package Details: devkitarm r46-1

Git Clone URL: https://aur.archlinux.org/devkitarm.git (read-only)
Package Base: devkitarm
Description: ARM toolchain for GP32, Nintendo (3)DS and GBA homebrew development
Upstream URL: http://devkitpro.org
Licenses: GPL
Submitter: Schnouki
Maintainer: carstene1ns
Last Packager: carstene1ns
Votes: 42
Popularity: 0.132304
First Submitted: 2008-04-23 03:16
Last Updated: 2017-06-27 16:48

Sources (25)

Latest Comments

carstene1ns commented on 2017-06-24 21:04

The download works for me, it might have been a temporary problem.
About the new problem: There is a patch[1] available, which I will apply soon.

[1]: https://paste.xinu.at/1vTh/

saphiren commented on 2017-06-23 05:31

The isl tarball has either been removed or relocated from InriaForge, which is an early showstopper.
I was able to work around this by changing the url to an archive link from archive.org.
(https://web.archive.org/web/20160729015238/http://isl.gforge.inria.fr/isl-0.16.1.tar.bz2 specifically)
After some extra poking around, I believe this is the current location of the isl repository: http://repo.or.cz/isl.git
And this is the commit with the specific tarball that the PKGBUILD wants: http://repo.or.cz/isl.git/commit/ff4cab69aa8127e54d7f6835660fa73fa49a78bd

Edit: I'm getting an error in build():
../../../gcc-6.3.0/gcc/ubsan.c:1474:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
|| xloc.file == '\0' || xloc.file[0] == '\xff'
Full build output is here, the error is on line 404: https://pastebin.com/1K5GbGub
This is my second attempt at building the package, which is why make is saying "Nothing to be done" for a bunch of the early lines.

keithspg commented on 2017-05-21 18:50

this package will not build. Am trying mutantmonkey's solution. His pkgbuild uses gcc5.3.0, and not 6.x. Also does not build with his PKGFILE with my updated Arch install. I am using linux-lts instead of linux for the kernel and do not know if that is important. The error I get is:

In file included from /usr/include/guile/2.2/libguile/fports.h:28:0,
from /usr/include/guile/2.2/libguile.h:57,
from ../../../gdb-7.12/gdb/guile/guile-internal.h:29,
from ../../../gdb-7.12/gdb/guile/scm-ports.c:28:
/usr/include/guile/2.2/libguile/ports.h:82:16: note: forward declaration of ‘scm_t_port {aka struct scm_t_port}’
typedef struct scm_t_port scm_t_port;
^~~~~~~~~~
make[2]: *** [Makefile:2537: scm-ports.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/Downloads/Arch_Packages/devkitarm/src/buildscripts/.devkitARM/arm-none-eabi/gdb/gdb'
make[1]: *** [Makefile:9161: all-gdb] Error 2
make[1]: Leaving directory '/Downloads/Arch_Packages/devkitarm/src/buildscripts/.devkitARM/arm-none-eabi/gdb'
make: *** [Makefile:850: all] Error 2
Error building gdb
==> ERROR: A failure occurred in build().
Aborting...

mutantmonkey commented on 2016-07-31 20:26

I managed to get this to build with GCC 6.1.1 by backporting the patch for that bug and making a few other changes. Here's the diff: https://github.com/mutantmonkey/aur/commit/8079b25035962ac8a0d4676917dfd684b82f4b8e

connesc commented on 2016-06-22 14:49

This package can no longer be built with the current version of GCC (6.1.1), because of this bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959

Here is the symptomatic error:

In file included from ../../../gcc-5.3.0/gcc/cp/except.c:1023: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

Until the embedded GCC is upgraded (or at least patched) upstream, a workaround is to downgrade the following packages: gcc 5.3.0-5, gcc-libs 5.3.0-5 and llvm-libs 3.7.1-1.
The downgraded packages can be restored once the build is complete.

tinxy commented on 2016-01-17 10:33

Building fails due to:

/bin/sh: arm-none-eabi-gcc: command not found

gnidmoo commented on 2015-02-26 17:44

carstene1ns: Thanks it was a problem with a gcc path variable.

carstene1ns commented on 2015-02-26 15:51

gnidmoo: Do you have a stray colon in your $PATH [1] or any gcc related path veariable [2]? In the referenced thread a wrong config.h was included and the needed macro not defined.

[1]: http://sourceware.org/ml/binutils/2011-06/msg00103.html
[2]: https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html

gnidmoo commented on 2015-02-26 12:04

Hi there, I can't build this package, here is the error: http://pastebin.com/h7m5yJun

gh4ever commented on 2014-08-20 23:05

Building in my home directory instead of /tmp did the trick, thank you!

carstene1ns commented on 2014-08-19 00:14

This is a bit difficult to debug, the error message means basically that something might be wrong with the stage1 gcc and it can not create an executable file.
I just built the toolchain in a clean chroot[1] and it worked. Can you please paste the full build log and the 'config.log' file from the 'buildscripts/.devkitARM/arm-none-eabi/gcc' folder to a pastebin[2] and link them here?
Also, I see you are building in /tmp... do you have at least 3gb free space there or do you have set the noexec option for mounting that filesystem?
To circumvent that kind of problems, please try building it somewhere else, like your home directory. (set BUILDDIR in makepkg.conf)

[1]: https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot
[2]: http://pastie.org/

gh4ever commented on 2014-08-18 19:48

Hi,

I'm getting this error while building:

checking whether the target supports thread-local storage... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
Makefile:10978: recipe for target 'configure-target-libobjc' failed
make[1]: *** [configure-target-libobjc] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-eanschuetz/aur-devkitarm/src/buildscripts/.devkitARM/arm-none-eabi/gcc'
Makefile:851: recipe for target 'all' failed
make: *** [all] Error 2
Error building gcc stage2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build devkitarm.

Do you know what could be causing this error?
Thanks!

carstene1ns commented on 2014-04-08 17:06

Updated to release 42. This package now compiles the toolchain for you and links against Arch's current version of the libraries (python, freeimage, ncurses, libusb, etc.).
FYI: You need at least 3gb space, a good amount of ram and a bit of time to compile this. You can also switch to devkitarm-bin[1], which is precompiled like this package used to be. However, it links against old library versions and will likely break in the future.

[1]: https://aur.archlinux.org/packages/devkitarm-bin/

carstene1ns commented on 2014-04-08 04:13

adopted, will fix soon.

TheGuy commented on 2014-03-19 02:11

Added 'staticlibs' to options, because these files are necessary for devkitarm to work.

salviati commented on 2012-08-07 14:38

r41 is out

Anonymous comment on 2011-03-09 15:39

r32 is out

Anonymous comment on 2010-04-16 08:55

Sorry about the wait, had some computer issues over the past while. It's up now.

cr7 commented on 2010-03-28 10:39

r30 out!