Re: [Xen-devel] [PATCH LIVEPATCH-BUILD-TOOLS] Fix patch creation with GCC 6.1+

2016-11-25 Thread Andrew Cooper
On 25/11/16 17:16, Ross Lagerwall wrote: > On 11/25/2016 05:05 PM, Andrew Cooper wrote: >> On 25/11/16 16:59, M A Young wrote: >>> On Thu, 24 Nov 2016, Ross Lagerwall wrote: >>> GCC 6.1+ fixed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 which means that .rodata.str* sections are now

Re: [Xen-devel] [PATCH LIVEPATCH-BUILD-TOOLS] Fix patch creation with GCC 6.1+

2016-11-25 Thread Ross Lagerwall
On 11/25/2016 05:05 PM, Andrew Cooper wrote: On 25/11/16 16:59, M A Young wrote: On Thu, 24 Nov 2016, Ross Lagerwall wrote: GCC 6.1+ fixed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 which means that .rodata.str* sections are now split by function. We could probably be smarter about incl

Re: [Xen-devel] [PATCH LIVEPATCH-BUILD-TOOLS] Fix patch creation with GCC 6.1+

2016-11-25 Thread Konrad Rzeszutek Wilk
On Fri, Nov 25, 2016 at 04:59:17PM +, M A Young wrote: > On Thu, 24 Nov 2016, Ross Lagerwall wrote: > > > GCC 6.1+ fixed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 which > > means that .rodata.str* sections are now split by function. We could > > probably be smarter about including just

Re: [Xen-devel] [PATCH LIVEPATCH-BUILD-TOOLS] Fix patch creation with GCC 6.1+

2016-11-25 Thread Andrew Cooper
On 25/11/16 16:59, M A Young wrote: > On Thu, 24 Nov 2016, Ross Lagerwall wrote: > >> GCC 6.1+ fixed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 which >> means that .rodata.str* sections are now split by function. We could >> probably be smarter about including just the sections we need, but

Re: [Xen-devel] [PATCH LIVEPATCH-BUILD-TOOLS] Fix patch creation with GCC 6.1+

2016-11-25 Thread M A Young
On Thu, 24 Nov 2016, Ross Lagerwall wrote: > GCC 6.1+ fixed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 which > means that .rodata.str* sections are now split by function. We could > probably be smarter about including just the sections we need, but for > now, include all .rodata.str* sectio

Re: [Xen-devel] [PATCH LIVEPATCH-BUILD-TOOLS] Fix patch creation with GCC 6.1+

2016-11-24 Thread Ross Lagerwall
On 11/24/2016 12:31 PM, Konrad Rzeszutek Wilk wrote: On November 24, 2016 4:49:20 AM EST, Ross Lagerwall wrote: GCC 6.1+ fixed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 which means that .rodata.str* sections are now split by function. We could probably be smarter about including just t

Re: [Xen-devel] [PATCH LIVEPATCH-BUILD-TOOLS] Fix patch creation with GCC 6.1+

2016-11-24 Thread Konrad Rzeszutek Wilk
On November 24, 2016 4:49:20 AM EST, Ross Lagerwall wrote: >GCC 6.1+ fixed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 which >means that .rodata.str* sections are now split by function. We could >probably be smarter about including just the sections we need, but for >now, include all .rodat

[Xen-devel] [PATCH LIVEPATCH-BUILD-TOOLS] Fix patch creation with GCC 6.1+

2016-11-24 Thread Ross Lagerwall
GCC 6.1+ fixed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192 which means that .rodata.str* sections are now split by function. We could probably be smarter about including just the sections we need, but for now, include all .rodata.str* sections as is done for previous versions of GCC. This ma