Date: Wed, 23 Mar 2016 12:10:36 +0100 (CET) From: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= <royger@FreeBSD.org> To: Ed Maste <emaste@freebsd.org> Cc: "dfh0522 ." <dfh0522@gmail.com>, brahmann@lifec0re.net, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: ports/Xen on CURRENT, error: ELF start or entries are out of bounds. Message-ID: <alpine.OSX.2.20.1603231207050.753@mac> In-Reply-To: <CAPyFy2A99F_K6=bKqCMxfKA%2BS031AWaWFUvesUrFfeigjOV1wQ@mail.gmail.com> References: <CAPyFy2CwiUBeZ=wLuTKJeB_222qzVVVE-ebGnpf69=WvLYsdnA@mail.gmail.com> <CAPyFy2A99F_K6=bKqCMxfKA%2BS031AWaWFUvesUrFfeigjOV1wQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Mar 2016, Ed Maste wrote: > On 21 March 2016 at 10:50, Ed Maste <emaste@freebsd.org> wrote: > > On 17 March 2016 at 13:30, dfh0522 . <dfh0522@gmail.com> wrote: > >> > >> I need to add WITHOUT_ELFCOPY_AS_OBJCOPY after r296096, > > > > Sorry for the trouble. > > > > I've submitted an ELF Tool Chain ticket > > (https://sourceforge.net/p/elftoolchain/tickets/524/) for this issue > > in elfcopy. I expect either Roger or I will have a fix in the next few > > days, but WITHOUT_ELFCOPY_AS_OBJCOPY will do for now. > > Kai has committed a potential fix for the ticket to the ELF Tool Chain > repo. I've made a patch for the FreeBSD contrib copy available for > testing at https://people.freebsd.org/~emaste/patches/elfcopy-lma.diff > . Thanks for the notice! I've tried the patch and it indeed fixes the issue seen on the FreeBSD kernel, here's the readelf output now: Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x0000000000000040 0xffffffff80200040 0x0000000000200040 0x0000000000000150 0x0000000000000150 R E 0x8 INTERP 0x0000000000000190 0xffffffff80200190 0x0000000000200190 0x000000000000000d 0x000000000000000d R 0x1 [Requesting program interpreter: /red/herring] LOAD 0x0000000000000000 0xffffffff80200000 0x0000000000200000 0x00000000013ed618 0x00000000013ed618 R E 0x200000 LOAD 0x00000000013ee000 0xffffffff817ee000 0x00000000017ee000 0x0000000000135c38 0x000000000060fc40 RW 0x200000 DYNAMIC 0x00000000013ee000 0xffffffff817ee000 0x00000000017ee000 0x00000000000000d0 0x00000000000000d0 RW 0x8 GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 RWE 0x8 Roger.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.OSX.2.20.1603231207050.753>