[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2019-09-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=83669 GitLab Migration User changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2016-04-21 Thread bugzilla-daemon
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

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2016-04-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=83669 Steven Newbury changed: What|Removed |Added CC|

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2014-09-11 Thread bugzilla-daemon
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

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2014-09-11 Thread bugzilla-daemon
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 +++

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2014-09-10 Thread bugzilla-daemon
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

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2014-09-10 Thread bugzilla-daemon
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

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2014-09-10 Thread bugzilla-daemon
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

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2014-09-10 Thread bugzilla-daemon
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

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2014-09-10 Thread bugzilla-daemon
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

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2014-09-10 Thread bugzilla-daemon
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:

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2014-09-09 Thread bugzilla-daemon
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

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2014-09-09 Thread bugzilla-daemon
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

[Mesa-dev] [Bug 83669] fix build with gcc link time optimizer

2014-09-09 Thread bugzilla-daemon
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