mesa: Changes to 'mesa_7_0_branch'
Dan Nicholson
dbn at kemper.freedesktop.org
Thu Nov 1 19:00:38 UTC 2007
configs/aix-gcc | 4 ++++
configs/beos | 4 ++++
configs/bluegene-osmesa | 4 ++++
configs/darwin | 4 ++++
configs/darwin-static | 4 ++++
configs/darwin-static-x86ppc | 4 ++++
configs/darwin-x86ppc | 4 ++++
configs/freebsd | 4 ++++
configs/freebsd-dri | 4 ++++
configs/hpux10-gcc | 4 ++++
configs/linux | 4 ++++
configs/linux-alpha | 4 ++++
configs/linux-alpha-static | 4 ++++
configs/linux-directfb | 4 ++++
configs/linux-dri | 5 +++++
configs/linux-dri-x86 | 3 ---
configs/linux-dri-xcb | 3 +++
configs/linux-fbdev | 3 +++
configs/linux-glide | 3 +++
configs/linux-indirect | 3 +++
configs/linux-osmesa | 3 +++
configs/linux-osmesa16 | 3 +++
configs/linux-osmesa16-static | 4 ++++
configs/linux-osmesa32 | 3 +++
configs/linux-ppc-static | 1 +
configs/linux-solo | 3 +++
configs/linux-solo-x86 | 3 ---
configs/linux-static | 1 +
configs/linux-x86-64-static | 1 +
configs/linux-x86-glide | 3 +++
configs/linux-x86-static | 1 +
configs/netbsd | 3 +++
configs/openbsd | 4 ++++
configs/solaris-x86-gcc | 4 ++++
configs/solaris-x86-gcc-static | 4 ++++
configs/sunos4-gcc | 4 ++++
configs/sunos5-gcc | 4 ++++
configs/sunos5-v9-cc-g++ | 3 +++
configs/ultrix-gcc | 4 ++++
39 files changed, 126 insertions(+), 6 deletions(-)
commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary
New commits:
commit b88e2be609f09ddc8c2a12fb4080437fcc69f765
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Thu Nov 1 06:01:53 2007 -0700
Add -fno-strict-aliasing workaround for all GCC targets
Use a GCC option to work around aliasing bugs. See commit 013dbcd for
more details.
(cherry picked from commit 01b18abf93c1999397563e75fe1bfbbe0e080ae9)
Conflicts:
configs/freebsd
commit 08229c8bb8e63ac5fe28cfca594bc45ae34da509
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Oct 31 16:18:29 2007 -0700
configs: Set -fexceptions for GLUT on linux-dri like other targets
Quite a while ago, the GCC option -fexceptions was added for building
libglut. See here:
http://article.gmane.org/gmane.comp.video.mesa3d.devel/9499
This was missing in the linux-dri targets.
(cherry picked from commit dbcd20f1c21f44a72d5386faa63b788b3c79cea2)
commit c984017f71b3d5fc752e3c39d42e83a8b894c3d2
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Oct 31 10:33:20 2007 -0700
configs: Always use -fPIC for shared libraries, never for static
Mesa currently disables -fPIC for DRI on x86, but most Linux distros are
re-enabling -fPIC for all DRI arches. Let's just do that here since
that's normally what's wanted for shared libraries. Some justification:
http://bugs.gentoo.org/show_bug.cgi?id=110840#c9
On the other hand, position-independent code is only necessary when
building shared libraries, so disable it for the static cases.
(cherry picked from commit c3b5adaa9a7bdb7e61305c32e4991e3b38dab902)
commit 00e7dd8a1387155f73030b2ab28902ecf031e6e0
Author: Dan Nicholson <dbn.lists at gmail.com>
Date: Wed Oct 31 09:47:39 2007 -0700
Add -fno-strict-aliasing workaround for Linux GCC targets
Most Linux distros work around aliasing problems in Mesa by compiling
with the GCC option -fno-strict-aliasing. Two examples:
https://bugs.freedesktop.org/show_bug.cgi?id=6046
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394311
This makes -fno-strict-aliasing the default with a comment that
developers should consider commenting it out. There is a already a note
about these bugs in docs/helpwanted.html.
(cherry picked from commit 013dbcd6111bc880e65ed00a7ca31e19230a81d5)
More information about the mesa-commit
mailing list