[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] compiling error "xen-unstable.hg"
At 12:58 +0200 on 27 Jul (1343393923), Juergen Gross wrote: > Am 27.07.2012 12:38, schrieb Jan Beulich: > >>>>On 27.07.12 at 12:25, Ian Campbell<Ian.Campbell@xxxxxxxxxx> wrote: > >>On Fri, 2012-07-27 at 11:14 +0100, Jan Beulich wrote: > >>>The resulting string is correct, and the grep simply doesn't work > >>>because you have a localized gcc. The addition of grep here was > >>>done to support clang (see c/s 22985:d8ea33e7af7e, author > >>>Cc-ed). It's not clear to me how to get around such translation > >>>issues > >> > >>A judicious sprinkling of LANG=C or LC_ALL=C etc? > > > >Yuriy, could you give this a try? > > > >>> (Tim - could you explain what output clang generates that > >>>made the use of grep necessary?), nor do I have a clue why the > >>>sed invocation would complain about an unfinished command clang -v prints something like this: Debian clang version 3.0-6 (tags/RELEASE_30/final) (based on LLVM 3.0) Target: x86_64-pc-linux-gnu Thread model: posix so unlike GCC you can't just take the last line of the output. Grepping for version was intended to get rid of the other chatter, but clearly it's broken in the face of localized version strings. We might do better to switch to '$(CC) --version | head -1', which seems to provide something sensible on all the gcc and clang binaries I have handy. Tim. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |