public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marvin24 at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/53895] [4.7/4.8 Regression][lto] symbol 'std::__once_callable' used as both __thread and non-__thread
Date: Mon, 16 Jul 2012 11:12:00 -0000	[thread overview]
Message-ID: <bug-53895-4-1dncbssnbS@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53895-4@http.gcc.gnu.org/bugzilla/>

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]


  parent reply	other threads:[~2012-07-16 11:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-09  4:59 [Bug lto/53895] New: [4.7.2/4.8 " vincenzo.innocente at cern dot ch
2012-07-09  6:28 ` [Bug lto/53895] " hjl.tools at gmail dot com
2012-07-09  8:38 ` [Bug lto/53895] [4.7/4.8 " rguenth at gcc dot gnu.org
2012-07-09 12:20 ` vincenzo.innocente at cern dot ch
2012-07-09 13:16 ` hjl.tools at gmail dot com
2012-07-16 11:12 ` marvin24 at gmx dot de [this message]
2012-08-15  6:59 ` vincenzo.innocente at cern dot ch
2012-09-20 10:28 ` jakub at gcc dot gnu.org
2013-01-01  5:28 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-53895-4-1dncbssnbS@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).