[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6320951.e8eKRZ5b9s@aragorn.auenland.lan>
Date: Thu, 29 Aug 2013 20:00:24 +0200
From: Jan-Simon Möller <dl9pf@....de>
To: llvmlinux@...ts.linuxfoundation.org
Cc: "H. Peter Anvin" <hpa@...or.com>, pageexec@...email.hu,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [llvmlinux] [PATCH] [RFC] [X86] Fix a compilation issue with clang.
On Thursday 29 August 2013 10:28:52 H. Peter Anvin wrote:
> On 08/29/2013 10:13 AM, dl9pf@....de wrote:
> > From: Jan-Simon Möller <dl9pf@....de>
> >
> > Clang does not support the "shortcut" we're taking here for gcc (see
> > below).
> Read: clang is gratuitously incompatible with gcc.
Let's discuss this during the llvm track @ plumbers .
> > The patch extends and uses the macro _ASM_DX to do the job.
>
> You just changed the sematics of the _ASM_* macros... that doesn't seem
> like a great idea. It's probably okay for the registers, but still...
>
Well, we followed your idea for the _ASM_DX macros as you mentioned them
earlier.
I tested this change for both clang-3.3 and gcc-4.7.2 .
Best,
JS
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists