https://bugs.freedesktop.org/show_bug.cgi?id=83669
GitLab Migration User changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #13 from Marc Dietrich ---
gcc/clang development is fast and also the mesa supported version numbers of
compilers are increasing. So this is a fast moving target. That said, I
currently use the _target_ attribute of
https://bugs.freedesktop.org/show_bug.cgi?id=83669
Steven Newbury changed:
What|Removed |Added
CC|
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #10 from Marc Dietrich marvi...@gmx.de ---
I check with -g -O0 and debug symbols are generated, but I can't tell about
their usefulness. Compiling with --enable-debug fails though because -DDEBUG
seems to do strange things in
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #11 from Marc Dietrich marvi...@gmx.de ---
sorry for spamming this bug, here is a better patch to fix the problem
diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
index e71bccb..bbdb36f 100644
--- a/src/mesa/Makefile.am
+++
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #4 from Marc Dietrich marvi...@gmx.de ---
the gcc info page reports
Link-time optimization does not work well with generation of debugging
information. Combining -flto with -g is currently experimental and
expected to
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #5 from Emil Velikov emil.l.veli...@gmail.com ---
How do you detect/fix the following examples
* export CFLAGS=-g ./configure --enable-lto --disable-debug make
* ./configure --enable-lto --disable-debug make CFLAGS=-g
While the
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #6 from Marc Dietrich marvi...@gmx.de ---
anyone who specifies special CFLAGS is on his own anyway. This also includes
CFLAGS=-flto even now. So we can only support configure options and ignore
user specified CFLAGS (ok, configure
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #7 from Marc Dietrich marvi...@gmx.de ---
turns out that we need to specify -msse4.1 to certain LDFLAGS (patch below),
but I guess this crashes on platforms not supporting sse4.1.
diff --git a/src/gallium/targets/dri/Makefile.am
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #8 from Marc Dietrich marvi...@gmx.de ---
ok, it doesn't crash here (athlon II) which does not support it. Otherwise
compiles file with -flto and heaven 4.0 test run.
--
You are receiving this mail because:
You are the assignee for
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #9 from Fabio Pedretti fabio@libero.it ---
Debug packages on distributions, at least on Debian and Ubuntu, are not
properly working anyway since megadrivers. I added a bug to document this here:
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #1 from Emil Velikov emil.l.veli...@gmail.com ---
I'm not sure if mesa is ready for LTO yet.
The main obstacle being Fix debug information for LTO programs [1] the second
one is that some symbols get stripped too early as you've
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #2 from Marc Dietrich marvi...@gmx.de ---
Well, initially, debug and lto could be exclusive via configure options, e.g.
--enable-debug or --enable-lto.
I checked a bit further and with my current setup (r600 gallium), it is only
the
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #3 from Emil Velikov emil.l.veli...@gmail.com ---
(In reply to comment #2)
Well, initially, debug and lto could be exclusive via configure options,
e.g. --enable-debug or --enable-lto.
Actually it's a bit more convoluted than
14 matches
Mail list logo