Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 15:23:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 216316] objcopy in 11 appears to have a regression compared to the version in 10
Message-ID:  <bug-216316-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216316

            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@FreeBSD.org
          Reporter: pete@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...

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



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