Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2017 15:40:39 +0000
From:      Pete French <petefrench@ingresso.co.uk>
To:        freebsd-stable@freebsd.org
Subject:   objcopy on 11-STABLE vs 10-STABLE
Message-ID:  <E1cQyXP-000P3C-NE@dilbert.ingresso.co.uk>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1cQyXP-000P3C-NE>