From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22258 invoked by alias); 7 Jul 2010 09:18:22 -0000 Received: (qmail 22234 invoked by uid 48); 7 Jul 2010 09:18:10 -0000 Date: Wed, 07 Jul 2010 09:18:00 -0000 Message-ID: <20100707091810.22233.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/44855] Static members not initialised in explicit template instances of library In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "redi at gcc dot gnu dot org" 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 X-SW-Source: 2010-07/txt/msg00697.txt.bz2 ------- Comment #2 from redi at gcc dot gnu dot org 2010-07-07 09:18 ------- You need to use -fPIC for a shared object, so the version without that is not valid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44855