From stdcxx-dev-return-1043-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Tue Mar 07 00:30:52 2006 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 69322 invoked from network); 7 Mar 2006 00:30:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Mar 2006 00:30:52 -0000 Received: (qmail 55589 invoked by uid 500); 7 Mar 2006 00:30:52 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 55563 invoked by uid 500); 7 Mar 2006 00:30:51 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 55551 invoked by uid 99); 7 Mar 2006 00:30:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 16:30:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 16:30:50 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax (Postfix) with ESMTP id D2A2B6ACA9 for ; Tue, 7 Mar 2006 00:30:29 +0000 (GMT) Message-ID: <1015810906.1141691429860.JavaMail.jira@ajax> Date: Tue, 7 Mar 2006 00:30:29 +0000 (GMT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-157) [XLC++ 7.0, 8.0] explicit instantiation fails to emit some symbols In-Reply-To: <351279974.1141243422389.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/STDCXX-157?page=comments#action_12369111 ] Martin Sebor commented on STDCXX-157: ------------------------------------- This bug is actually correctly detected as the following portion of config.log shows: xlCcore -c -O -qinline -D_RWSTD_USE_CONFIG -I. /build/sebor/dev/stdlib/etc/config/src/EXTERN_TEMPLATE.cpp xlCcore EXTERN_TEMPLATE.o -I/build/sebor/dev/stdlib/include/ansi -D_RWSTD_USE_CONFIG -liconv -brtl ./extern_template_imp.o -lm -o EXTERN_TEMPLATE ld: 0711-317 ERROR: Undefined symbol: .S::bar() const ld: 0711-317 ERROR: Undefined symbol: .S::baz() const ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. > [XLC++ 7.0, 8.0] explicit instantiation fails to emit some symbols > ------------------------------------------------------------------ > > Key: STDCXX-157 > URL: http://issues.apache.org/jira/browse/STDCXX-157 > Project: C++ Standard Library > Type: Bug > Components: External > Environment: $ uname -sr && xlC -qversion > Linux 2.6.5-7.191-pseries64 > IBM XL C/C++ Advanced Edition V8.0 for Linux > Version: 08.00.0000.0000 > Reporter: Martin Sebor > > PMR 02236,K78,000 > XLC++ 8.0 fails to emit a symbol for the member function S::bar() in the program below. > $ cat t.cpp && xlC -c t.cpp && echo xlc: && nm -C t.o && > echo gcc: && gcc -c t.cpp && nm -C t.o > template T foo (T t) { return t; } > template > struct S > { > T bar () { return foo (T ()); } > void baz () { foo(0); } > }; > template struct S; > xlc: > U __IBMCPlusPlusExceptionV2 > 00000000 W int foo(int) > 00000014 W S::baz() > gcc: > 00000000 W int foo(int) > 00000000 W S::bar() > 00000000 W S::baz() -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira