Re: [PATCH 1/7] ARM: disallow combining XIP and LTO

2018-03-12 Thread Arnd Bergmann
On Mon, Mar 12, 2018 at 6:00 PM, Nicolas Pitre wrote: > On Mon, 12 Mar 2018, Arnd Bergmann wrote: > >> On Mon, Mar 12, 2018 at 2:52 PM, Arnd Bergmann wrote: >> > On Mon, Mar 12, 2018 at 3:40 AM, Nicolas Pitre >> > wrote: >> >> On Tue, 20 Feb 2018, Arnd Bergmann wrote: >> > >> >>> Obviously we w

Re: [PATCH 1/7] ARM: disallow combining XIP and LTO

2018-03-12 Thread Nicolas Pitre
On Mon, 12 Mar 2018, Nicolas Pitre wrote: > On Mon, 12 Mar 2018, Arnd Bergmann wrote: > > > arm-linux-gnueabi-nm: 'arch/arm/boot/compressed/../../../../vmlinux': > > No such file > > That is weird. The Makefile has: > > cmd_mkxip = $(cmd_objcopy) && $(cmd_deflate_xip_data) > > $(obj)/xipImage:

Re: [PATCH 1/7] ARM: disallow combining XIP and LTO

2018-03-12 Thread Nicolas Pitre
On Mon, 12 Mar 2018, Arnd Bergmann wrote: > On Mon, Mar 12, 2018 at 2:52 PM, Arnd Bergmann wrote: > > On Mon, Mar 12, 2018 at 3:40 AM, Nicolas Pitre > > wrote: > >> On Tue, 20 Feb 2018, Arnd Bergmann wrote: > > > >>> Obviously we want to make the combination work, no idea why it doesn't. > >> >

Re: [PATCH 1/7] ARM: disallow combining XIP and LTO

2018-03-12 Thread Arnd Bergmann
On Mon, Mar 12, 2018 at 2:52 PM, Arnd Bergmann wrote: > On Mon, Mar 12, 2018 at 3:40 AM, Nicolas Pitre > wrote: >> On Tue, 20 Feb 2018, Arnd Bergmann wrote: > >>> Obviously we want to make the combination work, no idea why it doesn't. >> >> Well, it does work regardless of the noise. Here the nm

Re: [PATCH 1/7] ARM: disallow combining XIP and LTO

2018-03-12 Thread Arnd Bergmann
On Mon, Mar 12, 2018 at 3:40 AM, Nicolas Pitre wrote: > On Tue, 20 Feb 2018, Arnd Bergmann wrote: >> Obviously we want to make the combination work, no idea why it doesn't. > > Well, it does work regardless of the noise. Here the nm output is piped > into sed, and the later exits early when it fi

Re: [PATCH 1/7] ARM: disallow combining XIP and LTO

2018-03-11 Thread Nicolas Pitre
On Tue, 20 Feb 2018, Arnd Bergmann wrote: > This fails during deflate_xip_data.sh > > /home/arnd/cross-gcc/bin/arm-linux-gnueabi-objcopy -O binary -R .comment -S > vmlinux arch/arm/boot/xipImage && /bin/bash -c > '/git/arm-soc/arch/arm/boot/deflate_xip_data.sh vmlinux > arch/arm/boot/xipIma

Re: [PATCH 1/7] ARM: disallow combining XIP and LTO

2018-02-21 Thread Nicolas Pitre
On Wed, 21 Feb 2018, Arnd Bergmann wrote: > On Wed, Feb 21, 2018 at 4:01 AM, Nicolas Pitre > wrote: > > On Tue, 20 Feb 2018, Arnd Bergmann wrote: > > > >> This fails during deflate_xip_data.sh > >> > >> /home/arnd/cross-gcc/bin/arm-linux-gnueabi-objcopy -O binary -R .comment > >> -S vmlinux

Re: [PATCH 1/7] ARM: disallow combining XIP and LTO

2018-02-21 Thread Arnd Bergmann
On Wed, Feb 21, 2018 at 4:01 AM, Nicolas Pitre wrote: > On Tue, 20 Feb 2018, Arnd Bergmann wrote: > >> This fails during deflate_xip_data.sh >> >> /home/arnd/cross-gcc/bin/arm-linux-gnueabi-objcopy -O binary -R .comment >> -S vmlinux arch/arm/boot/xipImage && /bin/bash -c >> '/git/arm-soc/arc

Re: [PATCH 1/7] ARM: disallow combining XIP and LTO

2018-02-20 Thread Nicolas Pitre
On Tue, 20 Feb 2018, Arnd Bergmann wrote: > This fails during deflate_xip_data.sh > > /home/arnd/cross-gcc/bin/arm-linux-gnueabi-objcopy -O binary -R .comment -S > vmlinux arch/arm/boot/xipImage && /bin/bash -c > '/git/arm-soc/arch/arm/boot/deflate_xip_data.sh vmlinux > arch/arm/boot/xipIma