This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: build failure in aarch64-opc.c on macOS
- From: Tom Tromey <tom at tromey dot com>
- To: Tamar Christina <Tamar dot Christina at arm dot com>
- Cc: Szabolcs Nagy <Szabolcs dot Nagy at arm dot com>, Tom Tromey <tom at tromey dot com>, Andrew Pinski <pinskia at gmail dot com>, binutils <binutils at sourceware dot org>
- Date: Mon, 08 Oct 2018 13:30:20 -0600
- Subject: Re: build failure in aarch64-opc.c on macOS
- References: <87ftxkh3ec.fsf@tromey.com> <CA+=Sn1k13rH2frcZ0A8aCcGKXGsiK4eUV3gc0oTnUP6pY2_KRQ@mail.gmail.com> <87bm88gpyw.fsf@tromey.com> <e399cd26-1a97-2bc9-16ef-f11a3edf3cb2@arm.com> <DB6PR0802MB2309EC779FADC2AA0854450AFFE60@DB6PR0802MB2309.eurprd08.prod.outlook.com>
>>>>> "Tamar" == Tamar Christina <Tamar.Christina@arm.com> writes:
Tamar> They have a bug [1] and has been open for years. They however
Tamar> refuse to fix it claiming that it'll make
Tamar> -Wmissing-field-initializers less useful. It seems looking at the
Tamar> rest of the code that binutils uses memset here, which at least
Tamar> gcc will inline and produce the same code at -O2.
Tamar> So I'll change it to that.
Thank you, I can confirm that the fix works here.
Tom