Results 1 to 5 of 5

Thread: More "Mega Driver" Work Merged For Mesa

  1. #1
    Join Date
    Jan 2007
    Posts
    14,894

    Default More "Mega Driver" Work Merged For Mesa

    Phoronix: More "Mega Driver" Work Merged For Mesa

    More code by Emil Velikov was merged yesterday to push along the Gallium3D Mega Drivers model...

    http://www.phoronix.com/vr.php?view=MTczOTM

  2. #2
    Join Date
    Nov 2010
    Posts
    41

    Default Compiling with LTO

    Could I use link time optimizations when compiling mesa-git now (r600g and swrast, in particular) ? If so, do I need to set specific options other than CFLAGS/CXXFLAGS/LDFLAGS="-flto [...]" ?

  3. #3
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,128

    Default

    You could use them previously as well (just not as effectively), and afaik the build system won't auto-add lto even if your compiler supports it.

  4. #4
    Join Date
    Nov 2010
    Posts
    41

    Default

    Quote Originally Posted by curaga View Post
    You could use them previously as well (just not as effectively), and afaik the build system won't auto-add lto even if your compiler supports it.
    My build fails when linking libglsl when I use -flto. I thought I would need some configure option to enable megadrivers compilation

  5. #5
    Join Date
    Nov 2010
    Posts
    41

    Default Success :D

    Got it to work. If someone is interested, there are some differences when building with LTO on gcc 4.9. This bug report has the needed information:

    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59505

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •