From nobody@FreeBSD.org  Sat Jan 26 14:04:05 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id C50F1798
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Jan 2013 14:04:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id ADD0DCE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Jan 2013 14:04:05 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0QE44iv059196
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Jan 2013 14:04:04 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r0QE44Fi059195;
	Sat, 26 Jan 2013 14:04:04 GMT
	(envelope-from nobody)
Message-Id: <201301261404.r0QE44Fi059195@red.freebsd.org>
Date: Sat, 26 Jan 2013 14:04:04 GMT
From: xianjie <guxianjie@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: please fix build binutils-2.23.1 in raspberry pi
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         175605
>Category:       ports
>Synopsis:       devel/binutils: please fix build binutils-2.23.1 in raspberry pi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-arm
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 26 14:10:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Mon Mar 31 05:53:20 UTC 2014
>Originator:     xianjie
>Release:        freebsd 10 current
>Organization:
NTES
>Environment:
FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #6 r245782: Tue Jan 22 17:46:59 CST 2013     root@laptop:/usr/obj/arm.armv6/usr/src/sys/RPI-B  arm
>Description:
binutils-2.23.1 build failed in raspberry pi
>How-To-Repeat:
build binutils-2.23.1 in raspberry pi
>Fix:
add support armv6-portbld-freebsd10.0 in binutils' config files
example:
/usr/ports/devel/binutils/work/binutils-2.23.1/bfd/configure:  arm-*-freebsd* | arm-*-kfreebsd*-gnu | armv6-*-freebsd*)


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-arm->rene 
Responsible-Changed-By: rene 
Responsible-Changed-When: Fri Jan 3 10:13:34 UTC 2014 
Responsible-Changed-Why:  
Take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175605 

From: =?ISO-8859-1?Q?Ren=E9_Ladan?= <rene@freebsd.org>
To: bug-followup@FreeBSD.org, guxianjie@gmail.com, zeising@freebsd.org
Cc:  
Subject: Re: ports/175605: please fix build binutils-2.23.1 in raspberry pi
Date: Sun, 05 Jan 2014 13:41:22 +0100

 [maintainer added]
 
 Your fix works on my Raspberry Pi running 10.0-RC2 building binutils
 2.24, but later on ld complains:
 
 gmake[4]: Leaving directory
 `/usr/ports/devel/binutils/work/binutils-2.24/gprof'
 Configuring in ./ld
 [...]
 checking whether ANSI C string concatenation works... yes
 checking size of void *... 4
 *** ld does not support target armv6-portbld-freebsd10.0
 *** see ld/configure.tgt for supported targets
 gmake[3]: *** [configure-ld] Error 1
 
 I patched ld/configure.tgt for this, but I'm not sure if it is correct
 (should it be its own target?)
 
 Patches are at http://people.freebsd.org/~rene/patches/devel__binutils.diff
 
 Ren
 
Responsible-Changed-From-To: rene->freebsd-arm 
Responsible-Changed-By: rene 
Responsible-Changed-When: Mon Feb 3 21:05:16 UTC 2014 
Responsible-Changed-Why:  
Back to freebsd-arm, my patch produces a broken ld as can be seen in 
http://people.freebsd.org/~rene/patches/binutils-rpi-bug.txt 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175605 
>Unformatted:
