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 gcc (not supported
https://bugs.freedesktop.org/show_bug.cgi?id=83669
Steven Newbury changed:
What|Removed |Added
CC||s_j_newb...@yahoo.co.uk
--- Comment #12
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #11 from Marc Dietrich ---
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
+++ b/src/mesa/Makefi
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #10 from Marc Dietrich ---
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 combination with --enabl
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #9 from Fabio Pedretti ---
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=83723
--
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #8 from Marc Dietrich ---
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 the bug.
___
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #7 from Marc Dietrich ---
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
b/src/gallium/target
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #6 from Marc Dietrich ---
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 could check this
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #5 from Emil Velikov ---
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 first one is ver
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #4 from Marc Dietrich ---
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 produce unexpected re
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #3 from Emil Velikov ---
(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 that. Most distro prep -d
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #2 from Marc Dietrich ---
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 error above and
https://bugs.freedesktop.org/show_bug.cgi?id=83669
--- Comment #1 from Emil Velikov ---
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 noticed :)
Any patches wou
14 matches
Mail list logo