http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53895

Marc Dietrich <marvin24 at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marvin24 at gmx dot de

--- Comment #4 from Marc Dietrich <marvin24 at gmx dot de> 2012-07-16 11:12:42 
UTC ---
also triggered when compiling mesa with -ftlo:


g++ -O2 -Wall -std=c99 -Werror=implicit-function-declaration
-Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -O2
-flto=jobserver -fPIC  -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED
-DUSE_X86_64_ASM -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE
-DHAVE_LIBUDEV -DHAVE_LLVM=0x0301 -fvisibility=hidden -o r600_dri.so.test
../../../../src/mesa/drivers/dri/common/dri_test.o r600_dri.so.tmp 
../../../../lib64/libdricore8.1.0.so  -ldrm   -lexpat -lm -lpthread -ldl
-ldrm_radeon -march=barcelona -Ofast -flto=jobserver -L/usr/lib  -lpthread -ldl
-lm ;
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld:
error: r600_dri.so.tmp: symbol '_glapi_tls_Context' used as both __thread and
non-__thread
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld:
../../../../src/mesa/drivers/dri/common/dri_test.o: previous definition here
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld:
error: r600_dri.so.tmp: symbol '_glapi_tls_Dispatch' used as both __thread and
non-__thread
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld:
../../../../src/mesa/drivers/dri/common/dri_test.o: previous definition here
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld:
error: ../../../../lib64/libdricore8.1.0.so: symbol '_glapi_tls_Context' used
as both __thread and non-__thread
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld:
../../../../src/mesa/drivers/dri/common/dri_test.o: previous definition here
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld:
error: ../../../../lib64/libdricore8.1.0.so: symbol '_glapi_tls_Dispatch' used
as both __thread and non-__thread
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld:
../../../../src/mesa/drivers/dri/common/dri_test.o: previous definition here

on openSUSE 12.2 (factory):
ld --version -> GNU gold (GNU Binutils; openSUSE Factory 2.22) 1.11
gcc --version -> gcc (SUSE Linux) 4.7.1 20120615 [gcc-4_7-branch revision
188649]

Reply via email to