From: "chunshan.zhu" <chunshan.zhu@gmail.com>
To: ofourdan@redhat.com, intel-gfx@lists.freedesktop.org
Subject: build error with GCC5.1.1
Date: Mon, 18 May 2015 12:22:51 +0800 [thread overview]
Message-ID: <5559691B.3050508@gmail.com> (raw)
gcc5.1.1 generates an error at build time.
sna_accel.c: In function 'sna_poly_zero_line_blt':
sna_accel.c:9207:10: warning: variable 'intersects' set but not used
[-Wunused-but-set-variable]
bool intersects;
^
sna_accel.c:9107:6: warning: variable 'degenerate' set but not used
[-Wunused-but-set-variable]
bool degenerate = true;
^
CC sna_cpu.lo
In file included from /usr/include/string.h:635:0,
from /usr/include/xorg/os.h:53,
from /usr/include/xorg/misc.h:115,
from /usr/include/xorg/xf86str.h:37,
from sna.h:43,
from blt.c:32:
blt.c: In function 'memcpy_from_tiled_x__swizzle_9_10_11':
/usr/include/bits/string3.h:50:42: error: inlining failed in call to
always_inline 'memcpy': optimization level attribute mismatch
__NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
^
blt.c:474:1314: error: called from here
In file included from /usr/include/string.h:635:0,
from /usr/include/xorg/os.h:53,
from /usr/include/xorg/misc.h:115,
from /usr/include/xorg/xf86str.h:37,
from sna.h:43,
from blt.c:32:
/usr/include/bits/string3.h:50:42: error: inlining failed in call to
always_inline 'memcpy': optimization level attribute mismatch
__NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
^
blt.c:474:1605: error: called from here
In file included from /usr/include/string.h:635:0,
from /usr/include/xorg/os.h:53,
from /usr/include/xorg/misc.h:115,
from /usr/include/xorg/xf86str.h:37,
from sna.h:43,
from blt.c:32:
/usr/include/bits/string3.h:50:42: error: inlining failed in call to
always_inline 'memcpy': optimization level attribute mismatch
__NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
^
blt.c:474:1865: error: called from here
Makefile:650: recipe for target 'blt.lo' failed
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2015-05-18 4:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-18 4:22 chunshan.zhu [this message]
2015-05-18 7:15 ` build error with GCC5.1.1 Olivier Fourdan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5559691B.3050508@gmail.com \
--to=chunshan.zhu@gmail.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=ofourdan@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox