Michel Dänzer wrote:
On Die, 2010-11-23 at 01:27 +0000, Andy Furniss wrote:
Andy Furniss wrote:
--enable-debug
make
Hmm, it's working now. I notice the tree has changed from earlier with a
merge - maybe something in that?
Testing, it seems like it's just the --enable-debug that has made the
difference between working and not.
Reverted the last commit - as it doesn't work at all without --enable-debug.
Build with --enable-debug and it works, build without and I am back to
grey + segfault.
What flags (in particular optimization related ones, but seeing the full
difference might be best) are passed to gcc with and without
--enable-debug?
One from the configures is that debug has an extra -g before -fPIC.
Apart from -DDEBUG the extra -g is the only difference I have spotted in
a diff of the make outputs so far.
bash-3.2$ diff ~/xvmc-config-debug-out ~/xvmc-config-NOdebug-out
102,104c102,104
< CFLAGS: -g -O2 -Wall -Wmissing-prototypes -std=c99
-ffast-math -fvisibility=hidden -fno-strict-aliasing -g -fPIC
< CXXFLAGS: -g -O2 -Wall -fvisibility=hidden
-fno-strict-aliasing -g -fPIC
< Macros: -D_GNU_SOURCE -DPTHREADS -DDEBUG
-DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
-DHAVE_XCB_DRI2 -DHAVE_XEXTPROTO_71 -DUSE_X86_ASM -DUSE_MMX_ASM
-DUSE_3DNOW_ASM -DUSE_SSE_ASM
---
> CFLAGS: -g -O2 -Wall -Wmissing-prototypes -std=c99
-ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC
> CXXFLAGS: -g -O2 -Wall -fvisibility=hidden
-fno-strict-aliasing -fPIC
> Macros: -D_GNU_SOURCE -DPTHREADS
-DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
-DHAVE_XCB_DRI2 -DHAVE_XEXTPROTO_71 -DUSE_X86_ASM -DUSE_MMX_ASM
-DUSE_3DNOW_ASM -DUSE_SSE_ASM
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev