Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2011 18:22:47 GMT
From:      Jason Bacon <jwbacon@tds.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/158692: devel/cross-gcc: minor patch to enable arm-none-eabi slave port
Message-ID:  <201107061822.p66IMlHt041002@red.freebsd.org>
Resent-Message-ID: <201107061830.p66IUHHg073811@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         158692
>Category:       ports
>Synopsis:       devel/cross-gcc: minor patch to enable arm-none-eabi slave port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 06 18:30:16 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jason Bacon
>Release:        8.2-RELEASE
>Organization:
Acadix Consulting, LLC
>Environment:
FreeBSD sculpin.jbacon.dyndns.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The arm-none-eabi toolchain is needed to build code for some ARM Cortex controllers.  This patch will enable a slave port (devel/arm-none-eabi-gcc) similar to devel/arm-rtems-gcc.

>How-To-Repeat:
Modify arm-rtems-gcc port to use arm-none-eabi.  The build fails while attempting to compile libiberty for ARM.
>Fix:
Patch attached.


Patch attached with submission follows:

1,3c1,12
< --- configure.orig	2009-04-07 18:00:41.000000000 +0400
< +++ configure	2009-04-07 18:06:28.000000000 +0400
< @@ -5758,7 +5758,7 @@
---
> --- configure.orig	2011-05-30 11:17:52.000000000 -0500
> +++ configure	2011-05-30 11:18:48.000000000 -0500
> @@ -3290,7 +3290,7 @@
>    *-*-netware*)
>      noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
>      ;;
> -  *-*-rtems*)
> +  *-*-rtems*|arm-none-eabi)
>      skipdirs="$skipdirs target-libiberty"
>      noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
>      ;;
> @@ -7905,7 +7905,7 @@
12c21
< @@ -5808,7 +5808,7 @@
---
> @@ -7955,7 +7955,7 @@
21c30
< @@ -5893,7 +5893,7 @@
---
> @@ -8048,7 +8048,7 @@


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107061822.p66IMlHt041002>