The SCons build using GCC on Mac OS X is failing now. The SCons build with clang on Mac OS X completes though. $ scons [...] Linking build/darwin-x86_64-debug/mesa/drivers/osmesa/libosmesa.dylib ... ld: duplicate symbol _mem_ctx in build/darwin-x86_64-debug/mesa/libmesa.a(driverfuncs.os) and build/darwin-x86_64-debug/mesa/drivers/osmesa/osmesa.os for architecture x86_64 collect2: ld returned 1 exit status $ gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 299acac849eb8506de9760c94c6e8e8b1046d909 is the first bad commit commit 299acac849eb8506de9760c94c6e8e8b1046d909 Author: Anuj Phogat <anuj.phogat@gmail.com> Date: Fri Aug 31 13:51:39 2012 -0700 _mesa_meta_GenerateMipmap: Support all texture targets by generating shaders at runtime glsl path of _mesa_meta_GenerateMipmap() function would require different fragment shaders depending on the texture target. This patch adds the code to generate appropriate fragment shader programs at run time. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=54296 V2: Removed the code for integer textures as ARB is planning to disallow automatic mipmap generation for integer textures. Now using ralloc_asprintf in setup_glsl_generate_mipmap(). NOTE: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> :040000 040000 040e6b344d415c31dc9558b21b5878d600621bf5 0eac98ab198e9e2a6b423a6a911781f46c186519 M src bisect run success
try again with master I deglobaled mem_ctx
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.