FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
gnatdroid-armv7 C/Ada cross-compiler, target: Android ARMv7
20160313 lang on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: marino@FreeBSD.org search for ports maintained by this maintainer
Port Added: 07 Sep 2011 11:09:24
License: GPLv3 GPLv3RLE
The gnatdroid-armv7 port builds a C/Ada cross-compiler based on GCC 6
that targets the Android operating system (up to version 6.0, API level
23) running on ARM architecture (version 7).  This produces binaries that
run natively on Android devices built with Cortex-A series chips.

WWW: http://www.dragonlace.net
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/lang/gnatdroid-armv7/ && make install clean
To add the package: pkg install gnatdroid-armv7

PKGNAME: gnatdroid-armv7


Slave ports
  1. lang/gnatdroid-x86

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. gnatdroid-sysroot>=19 : lang/gnatdroid-sysroot
  2. gnatdroid-binutils>=2.21 : lang/gnatdroid-binutils
  3. gmake : devel/gmake
  4. ada : lang/gcc6-aux
  5. perl5>=5.20<5.21 : lang/perl5.20
Runtime dependencies:
  1. gnatdroid-sysroot>=19 : lang/gnatdroid-sysroot
  2. gnatdroid-binutils>=2.21 : lang/gnatdroid-binutils
Library dependencies:
  1. libgmp.so : math/gmp
  2. libmpfr.so : math/mpfr
  3. libmpc.so : math/mpc
There are no ports dependent upon this port

Configuration Options
===> The following configuration options are available for gnatdroid-armv7-20160313:
     FORT=off: Also build Fortran language
     OBJC=off: Also build Objective-C language
===> Use 'make config' to modify these settings

USES:
gmake libtool perl5 tar:bzip2 ada:6 gmake

Master Sites:
  1. ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-6.0.0/
  2. ftp://ftp.gwdg.de/pub/misc/gcc/releases/gcc-6.0.0/
  3. ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-6.0.0/
  4. ftp://ftp.lip6.fr/pub/gcc/releases/gcc-6.0.0/
  5. ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-6.0.0/
  6. ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-6.0.0/
  7. ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-6.0.0/
  8. ftp://ftp.ntua.gr/pub/gnu/gcc/releases/gcc-6.0.0/
  9. ftp://ftp.uvsq.fr/pub/gcc/releases/gcc-6.0.0/
  10. ftp://gcc.gnu.org/pub/gcc/releases/gcc-6.0.0/
  11. http://distcache.FreeBSD.org/ports-distfiles/
  12. http://gcc-uk.internet.bs/releases/gcc-6.0.0/
  13. http://gcc.cybermirror.org/releases/gcc-6.0.0/
  14. http://gcc.fyxm.net/releases/gcc-6.0.0/
  15. http://gcc.igor.onlinedirect.bg/releases/gcc-6.0.0/
  16. http://gcc.parentingamerica.com/releases/gcc-6.0.0/
  17. http://gcc.skazkaforyou.com/releases/gcc-6.0.0/
  18. http://mirrors.kernel.org/sources.redhat.com/gcc/releases/gcc-6.0.0/
  19. http://robotlab.itk.ppke.hu/gcc/releases/gcc-6.0.0/
  20. http://www.netgull.com/gcc/releases/gcc-6.0.0/

Number of commits found: 27

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
01 Apr 2016 14:08:38
Original commit files touched by this commit  20160313
Revision:412347
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.

With hat:	portmgr
Sponsored by:	Absolight
16 Mar 2016 14:36:11
Original commit files touched by this commit  20160313
Revision:411236
marino search for other commits by this committer
Rebase gnatdroid to gcc6-aux (6.0), add support for MARSHMELLOW

The gnatdroid cross-compilers (*BSD => Android) were the last two users
of gcc-aux (gcc 4.9 Ada compiler).  They are now based on gcc6-aux.

The Android NDK release 11 just came out with support for Android API 23
(Marshmellow) so now gnatdroid supports it.  I removed API 8 and 9
(Froyo and Gingerbread) from gnatdroid-armv7.  Froyo currently is installed
on less than 0.1% of Android devices, and Gingerbread is dropping under 2%
soon.  Many sysroot distfiles were re-rolled to gain required headers, so
a distfiles subdirectory was added as well.
30 Nov 2015 00:15:39
Original commit files touched by this commit  20150626_1
Revision:402635
marino search for other commits by this committer
Add gnatdroid-x86 (3 new ports), X-compiler to Android-x86

Similar to lang/gnatdroid-armv7, lang/gnatdroid-x86 is a cross-compiler
targetting Android. The former targets ARMv7 processors while the latter
targets Android on x86 (32-bit).  The latter also runs on Virtualbox as
a bonus.  The new ports are implemented as slaves to the ARMv7 versions.

The GNAT ACATS were run, and it passed every test except CXG2024,
"accuracy of multiplication and division of mixed decimal and binary
fixed point numbers".
subtest 13: expected -51.00 got 50.0
subtest 14: expected 51.0 got 50.0

This is probably a rounding error unique to 32-bit x86.  Overall this
version passed better than gnatdroid-armv7 because unwind is supported,
(Only the first 15 lines of the commit message are shown above View all of this commit message)
19 Oct 2015 19:42:53
Original commit files touched by this commit  20150626_1
Revision:399716
marino search for other commits by this committer
gnatdroid-sysroot: Add Android API Level 21 (Lollipop)

The latest Android Native Development Kit (NDK) has API Level 21
in it (but not 20, nor 22 or the latest Level 23).  Add this option
to gnatdroid's sysroot port, and change the default API from Jelly Bean 1
(Level 16) to Kitkat (Level 19).

Bump gnatdroid's binutils and gnatdroid itself as a consequence of this
default change.  A new patch had to be added to lang/gcc-aux to handle
the CTYPE changes which haven't made to GCC yet.

Gnatdroid has been testing for building on all API's but not for
functionality beyond Level 16 due to lack of hardware.  I may soon
install an Android emulator to see if that will suffice.
14 May 2015 10:15:09
Original commit files touched by this commit  20141023
Revision:386312
mat search for other commits by this committer
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
01 Apr 2015 19:48:38
Original commit files touched by this commit  20141023
Revision:382945
marino search for other commits by this committer
lang/gnatdroid-armv8: Mark broken on FreeBSD 8

This has never built on FreeBSD 8 after the base compiler was upgraded
from GNAT 4.6 to 4.7 and later 4.9.  It fails will many c++ complaints
about multiple definition of __x86.get_pc_thunk.cx and consequential
errors.  I'm tired of the cluster builders sending me an email about it.
I'm never going to fix it, so let's mark it broken.
17 Mar 2015 13:29:20
Original commit files touched by this commit  20141023
Revision:381492
marino search for other commits by this committer
lang/gnatdroid-armv7: Explicitly request gcc-aux

This almost builds on gcc5-aux without modification, but not quite.
Getting it based on gcc5 is not a priority, so we'll use the new ada.mk
argument "49" to force it to stay on gcc-aux, even if ADA_DEFAULT is
set to "5".
16 Oct 2014 11:53:42
Original commit files touched by this commit  20140716
Revision:371003
marino search for other commits by this committer
Remove @dirrm from 10 of my lang ports

The majority of these ports had generated plists, not static ones.
28 Aug 2014 11:10:35
Original commit files touched by this commit  20140422_1
Revision:366395
tijl search for other commits by this committer
Add USES=libtool
12 Apr 2014 22:04:15
Original commit files touched by this commit  20140406_2
Revision:351148
marino search for other commits by this committer
lang/gnatdroid-armv7 (&gcc-aux): Fix socket support and gnat.dg testsuite

The socket support on Gnatdroid was broken, and it had to be fixed at
lang/gcc-aux.

Until now, the dejagnu testsuite did not work on remote targets.  To fix
this, support files had to be installed at ${LOCALBASE}/share/dejagnu.
Dejagnu was not made a run dependency, conditional or otherwise.  The
test targets for gnatdroid are really maintainer targets.

Running the gnat.dg testsuite confirms that everything works in the
cross-compiler except stack checking (there's no support in gcc for this
just yet).
10 Apr 2014 10:33:23
Original commit files touched by this commit  20140406_1
Revision:350794
marino search for other commits by this committer
lang/gnatdroid-arm5(7): Fix ARMv7, disable ARMv5

ARMv5 gnatdroid can't currently be built because sigtramp-armdroid.c
uses thumb instructions that ARMv5 doesn't know.  Until this is fixed,
set the port to ignore.

Both gnatdroid ports now using gcc-aux's Makefile.version for it's
portrevision versions.  Both now stop using CONFIGURE_ARGS because it
processes the values in an unexpected way.

Both get a revbump due to gcc-aux's binutils-caused revbump.
10 Apr 2014 00:34:49
Original commit files touched by this commit  20140406
Revision:350752
marino search for other commits by this committer
lang/gnatdroid-*: Support multiple API, base on gcc-aux (gcc 4.9)

This represents major changes with gnatdroid.

The sysroot is no longer API 9 or 19, but a choice of API 8, 9, 15,
16, 17, 18, or 19.  The prefix is not androidX but just "android".
The binutils port had to be adjusted due to the prefix change.

Finally, gnatdroid-armv(5,7) was substancially reworked to use
gcc-aux (4.9) instead of gcc47-aux (4.7).  This means the new ARM
unwinder is in use (zero cost exceptions).  Only 6 ACATS tests are
failing, they are related to the missing stack check capability.

Future work will speed up ACATS remote device testing and hopefully
enable gnat.dg testing too.
06 Apr 2014 11:32:57
Original commit files touched by this commit  20130413_2
Revision:350350
marino search for other commits by this committer
lang/gnatdroid-*: Update sysroot to Android API level 9 -> level 19

This is the first of two steps to update the gnatdroid ARM cross-
compilers.  The sysroot was 10 versions behind the current API level
of 19.  The latest API level drops ARMv5 support, but the API is
backwards compatible, so if applications restrict themselves to
level 18 features, then ARMv5 should still be usable.

The next step is to base the cross compilers on GCC 4.9 instead of the
GCC 4.7-based gcc47-aux port.
09 Mar 2014 21:47:42
Refresh Original commit files touched by this commit
Revision:347698  Sanity Test Failure
marino search for other commits by this committer
lang/gnatdroid-armv(5,7): Keep based on gcc47 for now

The new gcc49-based Ada compiler will most likely be an improvement for
this FreeBSD->Android Ada cross-compiler, but it will need extensive
testing.  Keep using gcc47 after gcc49 is brought in until testing is
complete.  Hopefully that will also result in C++ capability too...
15 Feb 2014 16:39:50
Original commit files touched by this commit  20130413_1
Revision:344435
marino search for other commits by this committer
lang/gnatdroid-armv(5,7): Clarify license has GPLv3RLE exception
03 Feb 2014 13:37:20
Original commit files touched by this commit  20130413
Revision:342434
marino search for other commits by this committer
lang/gnatdroid-armv(5,7): Fix build on FreeBSD 10+

Reported by pkg-fallout
Cause: Bad gcc makefile, doesn't properly support cross-compiler build
Workaround: duplicate *-cross executables to the base names so that the
            install target doesn't try to rebuild them
23 Jan 2014 20:46:15
Original commit files touched by this commit  20130413
Revision:340860
marino search for other commits by this committer
lang/gnatdroid-armv(5,7): Use lang/gcc-aux as base, not lang/gnat-aux

After a few additional patches for gcc-aux, gnatdroid-armv5 (and -armv7)
build and execute well when built and based on gcc 4.7-based gcc-aux.
The previous version was based on gcc 4.6-based gnat-aux.  This was the
final port requiring gnat-aux, and now its part of the Ada framework.

Running acats using an ASUS Transformer XF101 (Android 4.0.3) as a target
results in a nearly perfect result.  Only test cb1010a fails, which is
a failure to detect running out of stack space (-fstack-check).  I intend
to investigate further, but as the only problem, gnatdroid remains a
highly capable compiler despite the small regression.  Potentially
zero-cost exceptions were gained as a trade-off.
09 Nov 2013 12:18:45
Original commit files touched by this commit  20130412_2
Revision:333282
marino search for other commits by this committer
lang/gnatdroid-armv(5,7): Convert to staging

* PORTREVISION bumped because previous package added empty directories.
* GPLv3 LICENSE added, but not installed as it messed up dynamic PLIST
* pkg-message used instead of post-install echoes
* Custom do-build target removed, default works after modifications
* OPTIONS_SUB=yes to handle standard PLIST_SUB conversions
* Auto-PLIST logic improvements
* To simplify Auto-PLIST, non-bin entries were removed from pkg-plist
* It was necessary to add pre-install target to pre-create directories that
  are no longer present when port is installed in clean stage.
26 Oct 2013 00:52:36
Original commit files touched by this commit  20130412_1
Revision:331644
gerald search for other commits by this committer
Update to libmpc version 1.0.1 which brings the following fixes:

 - Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Sep 2013 19:53:10
Original commit files touched by this commit  20130412
Revision:327741
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
04 Sep 2013 20:01:06
Original commit files touched by this commit  20130412
Revision:326316
bsam search for other commits by this committer
Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.
It's value is "--with-libiconv-prefix=/usr/local" for systems
before 100043 with ports libiconv and to use at systems post
100043 with base iconv it's value is "" (NULL).

Co-authors:	bapt, madpilot and bsam (me)
12 Jul 2013 13:40:51
Original commit files touched by this commit  20130412
Revision:322832
marino search for other commits by this committer
Replace John Marino email address with FreeBSD version

While I'm here, also trim the headers on a couple of ports and remove
a reference to the Dragonlace mirror which is down indefinitely.

Approved by:	bapt (mentor)
30 Apr 2013 12:38:52
Original commit files touched by this commit  20130412
Revision:316928
bapt search for other commits by this committer
Base gnat on new 4.6.4 version of gcc
Sync gnat-aux with changes from gcc-aux
Convert to new options framework
Switch to dynamic plist
No more install libiberty.a for gnatdroid*

PR:		ports/173412
Reported by:	Jinsong Zhao <jszhao@yeah.net>
Submitted by:	John Marino <draco@marino.st> (maintainer)
24 Apr 2012 07:06:08
Original commit files touched by this commit  20120301
culot search for other commits by this committer
- Update to 20120301 (corresponding to gcc 4.6.3)

PR:             ports/166720
Submitted by:   John Marino <draco@marino.st> (maintainer)
11 Sep 2011 07:06:21
Original commit files touched by this commit  20110627_1
culot search for other commits by this committer
- Add patch to disable symbolic traceback run-time support
  (could cause linker breakage)
- Bump PORTREVISION

PR:             ports/160569
Submitted by:   John Marino <draco@marino.st> (maintainer)
08 Sep 2011 06:45:20
Original commit files touched by this commit  20110627
culot search for other commits by this committer
- Update pkg-descr

Submitted by:   John Marino <draco@marino.st> (maintainer, via email)
07 Sep 2011 11:09:10
Original commit files touched by this commit  20110627
culot search for other commits by this committer
The gnatdroid-armv7 port builds a C/Ada cross-compiler based on GCC 4.6 that
targets the Android operating system (version 2.3, API level 9) running on
ARM architecture (version 7).  This produces binaries that run natively on
Android devices as well as the Android SDK emulator.

WWW: http://www.dragonlace.net

PR:             ports/160427
Submitted by:   John Marino <freebsdml@marino.st>

Number of commits found: 27

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
tomcat7Jun 26
tomcat8Jun 26
php55Jun 25
php55-gdJun 25
php55-mbstringJun 25
php55-wddxJun 25
php55-zipJun 25
php56Jun 25
php56-gdJun 25
php56-mbstringJun 25
php56-pharJun 25
php56-wddxJun 25
php56-zipJun 25
php70Jun 25
php70-gdJun 25

17 vulnerabilities affecting 44 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 26153
Broken 280
Deprecated 284
Ignore 546
Forbidden 0
Restricted 202
No CDROM 85
Vulnerable 58
Expired 20
Set to expire 271
Interactive 0
new 24 hours 4
new 48 hours6
new 7 days32
new fortnight54
new month107

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.