[dpdk-dev] [PATCH] eal/x86: fix clang build with -O0

2016-06-03 Thread Thomas Monjalon
2016-06-03 10:16, Olivier MATZ: > On 06/03/2016 10:15 AM, Thomas Monjalon wrote: > > From: Damjan Marion > > > > Clang seems to have a bug with asm inside inline function rte_xabort(): > > > > rte_rtm.h:56:15: error: invalid operand for inline asm constraint 'i' > > asm volatile(".byte 0

[dpdk-dev] [PATCH] eal/x86: fix clang build with -O0

2016-06-03 Thread Olivier MATZ
Hi Thomas, On 06/03/2016 10:15 AM, Thomas Monjalon wrote: > From: Damjan Marion > > Clang seems to have a bug with asm inside inline function rte_xabort(): > > rte_rtm.h:56:15: error: invalid operand for inline asm constraint 'i' > asm volatile(".byte 0xc6,0xf8,%P0" :: "i" (status) : "m

[dpdk-dev] [PATCH] eal/x86: fix clang build with -O0

2016-06-03 Thread Thomas Monjalon
From: Damjan Marion Clang seems to have a bug with asm inside inline function rte_xabort(): rte_rtm.h:56:15: error: invalid operand for inline asm constraint 'i' asm volatile(".byte 0xc6,0xf8,%P0" :: "i" (status) : "memory"); ^ It is seen only when building with EXT