From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16868 invoked by alias); 4 May 2013 00:07:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16838 invoked by uid 48); 4 May 2013 00:07:34 -0000 From: "paolo.carlini at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57163] Link failure with thread_local Date: Sat, 04 May 2013 00:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paolo.carlini at oracle dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Summary Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg00260.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57163 Paolo Carlini changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Link failure with |Link failure with |thread_local |thread_local |std::default_random_engine | --- Comment #1 from Paolo Carlini 2013-05-04 00:07:33 UTC --- In any case the actual std::default_random_engine doesn't play any special role: the same error happens including, as test.h, something like namespace std { struct default_random_engine { default_random_engine() { } int operator()() { return 1; } }; }