Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 50133 invoked from network); 7 Aug 2006 19:51:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Aug 2006 19:51:31 -0000 Received: (qmail 74342 invoked by uid 500); 7 Aug 2006 19:51:31 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 74329 invoked by uid 500); 7 Aug 2006 19:51:31 -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 74318 invoked by uid 99); 7 Aug 2006 19:51:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 12:51:31 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of justin.erenkrantz@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 12:51:30 -0700 Received: by ug-out-1314.google.com with SMTP id u40so175582ugc for ; Mon, 07 Aug 2006 12:51:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=tru3KTLz+b/E/KnvPD+JQiiwhKDPBWsxeVOAw0kDckYYvewVZowbCPaaDB+/p1Vrq1H8O0+mxEZhGijTd0GnFUJgnCW3Wg34ipT4TE6OYPHcp6U/VAHvcJmsZp+z4s5/hAv5DnthFQ4rUHAZEJMrfWRzdHT1jNhYFLQdiCtt0Cc= Received: by 10.66.224.3 with SMTP id w3mr8576355ugg; Mon, 07 Aug 2006 12:51:07 -0700 (PDT) Received: by 10.66.220.10 with HTTP; Mon, 7 Aug 2006 12:51:07 -0700 (PDT) Message-ID: <5c902b9e0608071251p395a4064y59ae051e518eb6ff@mail.gmail.com> Date: Mon, 7 Aug 2006 12:51:07 -0700 From: "Justin Erenkrantz" Sender: justin.erenkrantz@gmail.com To: stdcxx-dev@incubator.apache.org Subject: Re: link failure in exec In-Reply-To: <44D78B36.5010001@roguewave.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44D78B36.5010001@roguewave.com> X-Google-Sender-Auth: 8c47401953903471 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/7/06, Martin Sebor wrote: > The exec utility is failing to link with Compaq/HP C++ on Tru64 > and with Sun C++ on Solaris. One of the errors is below. I marrowed > down the problem to compiler bugs (limitations) on these systems > and crated "External" issues for reference: > > http://issues.apache.org/jira/browse/STDCXX-266 > http://issues.apache.org/jira/browse/STDCXX-267 > > I suspect the vendors of the buggy compiler will not be able to fix > the bugs because of binary compatibility concerns and we will need > to work around them by being consistent about the way we declare > and define functions. FYI, this occurs with the latest Sun Studio patchset too... % CC -c -V t.cpp -o foo.o && CC -DMAIN t.cpp foo.o CC: Sun C++ 5.8 Patch 121018-02 2006/04/26 ccfe: Sun C++ 5.8 Patch 121018-02 2006/04/26 Undefined first referenced symbol in file void foo(int) t.o ld: fatal: Symbol referencing errors. No output written to a.out HTH. -- justin