Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 71271 invoked from network); 20 May 2008 18:54:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 May 2008 18:54:18 -0000 Received: (qmail 24825 invoked by uid 500); 20 May 2008 18:54:20 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 24811 invoked by uid 500); 20 May 2008 18:54:20 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 24800 invoked by uid 99); 20 May 2008 18:54:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 11:54:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 18:53:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9BC4E234C114 for ; Tue, 20 May 2008 11:53:55 -0700 (PDT) Message-ID: <360335236.1211309635631.JavaMail.jira@brutus> Date: Tue, 20 May 2008 11:53:55 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Updated: (STDCXX-800) [EDG eccp 3.9] build error on the -shared option In-Reply-To: <191971922.1206642444261.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor updated STDCXX-800: -------------------------------- Affects Version/s: 4.2.1 Fix Version/s: 4.2.2 Assignee: Martin Sebor Let's see if we can resolve this in 4.2.2. > [EDG eccp 3.9] build error on the -shared option > ------------------------------------------------ > > Key: STDCXX-800 > URL: https://issues.apache.org/jira/browse/STDCXX-800 > Project: C++ Standard Library > Issue Type: Bug > Components: Build > Affects Versions: 4.2.0, 4.2.1 > Environment: EDG eccp > Reporter: Martin Sebor > Assignee: Martin Sebor > Priority: Minor > Fix For: 4.2.2 > > Original Estimate: 1h > Remaining Estimate: 1h > > Trying to build a shared library with EDG eccp on Linux or Solaris fails with an error like the one below. The EDG front end apparently doesn't understand the {{-shared}} option. We need to see if there is an option that works. If not, shared library builds with the compiler cannot be supported (and should be removed from our nightly build schedule on Solaris -- on Linux we're already doing only archive builds). > {noformat} > ### gmake config BUILDMODE=,shared,debug,narrow CONFIG=eccp.config 2>&1 | sed -e "s/\/build2\/batman\/5.0.0\/builds\/34590588\/source-buildspace\/build/\$(BUILDDIR)/g;s/\/build2\/batman\/5.0.0\/builds\/34590588\/source-buildspace/\$(TOPDIR)/g" | tee /tmp/build.17642.log: > gmake[1]: Entering directory `$(BUILDDIR)' > gmake[2]: Entering directory `$(BUILDDIR)/include' > gmake config > gmake[3]: Entering directory `$(BUILDDIR)/include' > configuring stdcxx 4.2.0 for eccp-3.9 on sunos-5.10-sparc > checking if the compiler is sane ok (invoked with eccp) > checking if the linker is sane no > int main () { return 0; } > eccp -D_RWSTDDEBUG -D_RWSTD_SHARED_LIB -I. -A -x --template_directory=$(BUILDDIR)/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 -c a.cpp -o a.o > eccp a.o --template_directory=$(BUILDDIR)/lib -shared -lm -o a.out > eccp: unknown option: -shared > gmake[3]: *** [sane] Error 1 > gmake[3]: Leaving directory `$(BUILDDIR)/include' > gmake[2]: *** [config.h] Error 2 > gmake[2]: Leaving directory `$(BUILDDIR)/include' > gmake[1]: *** [config] Error 2 > gmake[1]: Leaving directory `$(BUILDDIR)' > gmake: *** [config] Error 2 > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.