[Bug 216316] objcopy in 11 appears to have a regression compared to the version in 10

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 20 15:23:35 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216316

            Bug ID: 216316
           Summary: objcopy in 11 appears to have a regression compared to
                    the version in 10
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: pete at twisted.org.uk

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. If use use the version installed from ports it also succeeds.
I dont belive ipxe is using objcopy wrongly from reading the manual.

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 ? This puzzles me...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list