Re: [OE-core] [PATCH] kexec-tools: Fix compilation with clang

2019-05-21 Thread Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco) via Openembedded-core
On 20.05.19 23:14, Khem Raj wrote: > > On 5/16/19 1:32 AM, Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at > Cisco) via Openembedded-core wrote: >> Any comments? >> > This is same as https://bugzilla.kernel.org/show_bug.cgi?id=177321 > > and I think the below should have helped. > > https://g

Re: [OE-core] [PATCH] kexec-tools: Fix compilation with clang

2019-05-20 Thread Khem Raj
On 5/16/19 1:32 AM, Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco) via Openembedded-core wrote: Any comments? This is same as https://bugzilla.kernel.org/show_bug.cgi?id=177321 and I think the below should have helped. https://github.com/kraj/meta-clang/blob/master/conf/nonc

Re: [OE-core] [PATCH] kexec-tools: Fix compilation with clang

2019-05-16 Thread Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco) via Openembedded-core
Any comments? Regards, Oleksiy On 16.04.19 18:29, Oleksiy Obitotskyy wrote: > clang assembler do not understand some directives e.g. > > ../kexec-tools-2.0.17/purgatory/arch/i386/entry32-16.S:23:2: error: unknown > directive > .arch i386 > ^ ../kexec-tools-2.0.17/purgatory/arch/i386/entry32-16.S

[OE-core] [PATCH] kexec-tools: Fix compilation with clang

2019-04-16 Thread Oleksiy Obitotskyy via Openembedded-core
clang assembler do not understand some directives e.g. ../kexec-tools-2.0.17/purgatory/arch/i386/entry32-16.S:23:2: error: unknown directive .arch i386 ^ ../kexec-tools-2.0.17/purgatory/arch/i386/entry32-16.S:115:11: error: unknown token in expression ljmp %cs:*(realdest - entry16) ^ Force exte