From owner-freebsd-stable@freebsd.org Tue Jan 10 15:40:41 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41CC8CA9150 for ; Tue, 10 Jan 2017 15:40:41 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (ingresso-1-pt.tunnel.tserv1.lon2.ipv6.he.net [IPv6:2001:470:1f1c:411::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 135A51004 for ; Tue, 10 Jan 2017 15:40:41 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6] helo=dilbert.ingresso.co.uk) by constantine.ingresso.co.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1cQyXP-0009dv-On for freebsd-stable@freebsd.org; Tue, 10 Jan 2017 15:40:39 +0000 Received: from petefrench by dilbert.ingresso.co.uk with local (Exim 4.87_1 (FreeBSD)) (envelope-from ) id 1cQyXP-000P3C-NE for freebsd-stable@freebsd.org; Tue, 10 Jan 2017 15:40:39 +0000 To: freebsd-stable@freebsd.org Subject: objcopy on 11-STABLE vs 10-STABLE Message-Id: From: Pete French Date: Tue, 10 Jan 2017 15:40:39 +0000 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2017 15:40:41 -0000 I run an iscsi setup booting using ixpe, which I build on the FreeBSD server. the last few steps of the build do this: objcopy -O binary -R .zinfo bin/ipxe.pxe.tmp bin/ipxe.pxe.bin objcopy -O binary -j .zinfo bin/ipxe.pxe.tmp bin/ipxe.pxe.zinfo This runs fine on 10-STABLE, but on 11-STABLE I get these warnings from the first command: objcopy: moving loadable section .bss.data16, is this intentional? objcopy: moving loadable section .bss.textdata, is this intentional? the resulting .bin file is not then useable and the build fails. If I copy over the objcopy from 10 and run that instead manually then it succeeds. Have been looking at the svn logs for the objcopy, and the thing which stands out is the PIE support stuff, but from my reading that has been reverted ? So I am a bit stumped - is this a bug in objcopy in 11 ? Or is is a change in default behaviour and the ipxe build needs to supply extra flags to get the old behaviour ? -pete.