From stdcxx-dev-return-368-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Sat Dec 03 02:13:25 2005 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 93546 invoked from network); 3 Dec 2005 02:13:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Dec 2005 02:13:25 -0000 Received: (qmail 40167 invoked by uid 500); 3 Dec 2005 02:13:22 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 40032 invoked by uid 500); 3 Dec 2005 02:13:21 -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 39982 invoked by uid 99); 3 Dec 2005 02:13:20 -0000 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.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2005 18:13:19 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id BF434651 for ; Fri, 2 Dec 2005 22:35:30 +0100 (CET) Message-ID: <553634353.1133559330635.JavaMail.jira@ajax.apache.org> Date: Fri, 2 Dec 2005 22:35:30 +0100 (CET) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-81) [EDG eccp/Solaris 10] error compiling assert.cpp 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 [EDG eccp/Solaris 10] error compiling assert.cpp ------------------------------------------------ Key: STDCXX-81 URL: http://issues.apache.org/jira/browse/STDCXX-81 Project: STDCXX Type: Bug Components: Build Versions: 4.1.2 Environment: EDG eccp 3.5, 3.6/Solaris 10 Reporter: Martin Sebor Assigned to: Martin Sebor Priority: Critical Fix For: 4.1.3 >From http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200512.mbox/%3c43908950.6050400@roguewave.com%3e: -------- Original Message -------- Subject: Re: stdcxx question Date: Fri, 02 Dec 2005 10:50:08 -0700 From: Martin Sebor To: John Benito CC: stdcxx-dev@incubator.apache.org References: <438E1854.7070006@benito.com> <438E1F1B.20601@roguewave.com> <438E45F6.4080804@benito.com> <438E4BBB.8030106@roguewave.com> <438E5E61.5080700@benito.com> <438F3535.9030103@roguewave.com> <438F5C1F.8070600@benito.com> <438F6156.6040803@roguewave.com> <4390821B.6060904@benito.com> John Benito wrote: > Martin, > > Just to let you know, while trying the 11s build on Solaris 5.10 using > EDG 3.5 over GCC 3.4.3 I am getting the following diagnostics. Will > look into away to include uint64_t this afternoon, unless you have > already seen this. Thanks for the heads up! I haven't seen this error yet. In fact, I haven't even got this far. I ran into the error below during configuration (removing -lm from the link line let me proceed). The error you are seeing is triggered by an #include directive in assert.cpp for the header (in strict mode only): $ cat t.cpp && eccp -A t.cpp #include "/usr/include/sys/regset.h", line 304: error: identifier "uint64_t" is undefined uint64_t fpu_dregs[32]; /* 32 doubles */ ^ "/usr/include/sys/regset.h", line 307: error: identifier "uint64_t" is undefined Since this works fine in Solaris 9 I suspect that eccp hasn't been ported to Solaris 10. Let me check with EDG to see what they have to say about it. Martin $ nice gmake -C../include gmake: Entering directory `/build/sebor/eccp-3.6-11s/include' gmake config gmake[1]: Entering directory `/build/sebor/eccp-3.6-11s/include' configuring for eccp-3.6 on sunos-5.10-sparc checking if compiler is sane ok checking if linker is sane no int main () { return 0; } eccp -c -A -x --template_directory=/build/sebor/eccp-3.6-11s/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I. a.cpp eccp a.o --template_directory=/build/sebor/eccp-3.6-11s/lib -lm -o a.out library "m" does not exist in the specified library directories C++ prelinker: error: command line error gmake[1]: *** [sane] Error 1 > > eccp -c -I/home/benito/stdcxx-2005-07-19/include/ansi > -D_RWSTD_USE_CONFIG -I/home/benito/stdcxx-11s/include > -I/home/benito/stdcxx-2005-07-19/include -A -x > --template_directory=/home/benito/stdcxx-11s/lib --display_error_number > --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 > /home/benito/stdcxx-2005-07-19/src/assert.cpp > "/usr/include/sys/regset.h", line 304: error #20: identifier "uint64_t" is > undefined > uint64_t fpu_dregs[32]; /* 32 doubles */ > ^ > "/usr/include/sys/regset.h", line 307: error #20: identifier "uint64_t" is > undefined > uint64_t fpu_fsr; /* FPU status register */ > ^ > 2 errors detected in the compilation of > "/home/benito/stdcxx-2005-07-19/src/assert.cpp". > > Thanks, > > jb - > > Martin Sebor wrote: > >> I would suggest >> >> make BUILDDIR=/home/benito/stdcxx-11s \ >> BUILDTYPE=11s \ >> CONFIG=eccp.config >> -- 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