Re: [PATCH v1] tools: ipxe: update for fixing build with GCC11

2021-06-17 Thread Michael Brown
On 17/06/2021 13:55, Michael Brown wrote: one way out could be to call objcopy -D $PARAMS || objcopy $PARAMS Testing on a clean "centos:7" container shows that "objcopy -D" works as expected (and "objcopy --help" shows the option as existing). This container environment has /etc/centos-relea

Re: [PATCH v1] tools: ipxe: update for fixing build with GCC11

2021-06-17 Thread Michael Brown
On 16/06/2021 14:33, Bernhard M. Wiedemann wrote: So this means, CentOS7 binutils has 9cb80f72d8b from 2011-12-21 but not git blame binutils/objcopy.c|grep enable-determini 955d0b3bd75 (Roland McGrath 2013-01-07 17:40:59 + 549) -D --enable-deterministic-archives\n\ 2e30cb575a1 (Cary

Re: [PATCH v1] tools: ipxe: update for fixing build with GCC11

2021-06-16 Thread Bernhard M. Wiedemann
So this means, CentOS7 binutils has 9cb80f72d8b from 2011-12-21 but not git blame binutils/objcopy.c|grep enable-determini 955d0b3bd75 (Roland McGrath 2013-01-07 17:40:59 + 549) -D --enable-deterministic-archives\n\ 2e30cb575a1 (Cary Coutant 2012-04-25 17:50:14 + 555) -D

Re: [PATCH v1] tools: ipxe: update for fixing build with GCC11

2021-06-16 Thread Olaf Hering
Please revert bf4ccd4265ac614fbfa38bf168b6eeaf4c17d51e in ipxe.git, CentOS 7 apparently fails to handle '-D'. It worked in my testing with SLE12SP5 and SLE15SP3 as a base system. See below. I guess for xen.git, updating to just bf4ccd4265ac614fbfa38bf168b6eeaf4c17d51e^ will be good enough. O

Re: [PATCH v1] tools: ipxe: update for fixing build with GCC11

2021-06-16 Thread Andrew Cooper
On 15/06/2021 22:26, Olaf Hering wrote: > Use a snapshot which includes commit > f3f568e382a5f19824b3bfc6081cde39eee661e8 ("[crypto] Add > memory output constraints for big-integer inline assembly"), > which fixes build with gcc11. > > Signed-off-by: Olaf Hering > --- > tools/firmware/etherboot/M