Re: intel-ddx: v2.21.14 breaks with llvm/clang v3.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 05, 2013 at 02:15:19PM +0200, Sedat Dilek wrote:
> On Sun, Aug 4, 2013 at 2:08 PM, Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote:
> > On Sun, Aug 4, 2013 at 1:53 PM, Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote:
> >> Hi,
> >>
> >> I am here on Ubuntu/precise AMD64 and using the llvm/clang prebuilt
> >> toolchain from <llvm.org>.
> >>
> >> From my build.log:
> >> ...
> >> make[3]: Entering directory
> >> `/home/wearefam/src/xserver-xorg-video-intel/xf86-video-intel-git/src/sna'
> >>   CC     blt.lo
> >> warning: unknown warning option '-Wno-maybe-uninitialized'; did you
> >> mean '-Wno-uninitialized'? [-Wunknown-warning-option]

[bisected to]
 
> > $ git revert --no-edit a3eea6e61e15a147165400c81eab82a14a9ce2fe
> > [XF86-Video-Intel-v2.21.14 bf797f2] Revert "Suppress misleading
> > warnings for -Wmaybe-uninitialized"
> >  1 file changed, 1 deletion(-)
> >
> 
> Can you provide a fix for that, too?

It uses XORG_TESTSET_CFLAG() to see whether the compiler accepts the
flag. It appears that your compiler does, but only to complain about it
later. If you can suggest a way to correctly determine how to feed flags
into your compiler, we need to fix xorg-macros.

If you try wrapping that block in an "if test $CC = gcc" and see what
happens for a simple hack.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux