Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 45848 invoked from network); 7 Jul 2008 16:50:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jul 2008 16:50:34 -0000 Received: (qmail 69651 invoked by uid 500); 7 Jul 2008 16:50:35 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 69630 invoked by uid 500); 7 Jul 2008 16:50:35 -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 69619 invoked by uid 99); 7 Jul 2008 16:50:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 09:50:35 -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; Mon, 07 Jul 2008 16:49:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BA3D0234C157 for ; Mon, 7 Jul 2008 09:49:32 -0700 (PDT) Message-ID: <870304167.1215449372761.JavaMail.jira@brutus> Date: Mon, 7 Jul 2008 09:49:32 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Resolved: (STDCXX-988) [gcc 4.3.0] /usr/include/limits.h has not been included from include/ansi/limits.h In-Reply-To: <259731882.1215436531929.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-988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor resolved STDCXX-988. --------------------------------- Resolution: Fixed Resolved and regression test added in [r674550|https://svn.apache.org/viewvc?view=rev&revision=674550]. Will close after verifying test results in nightly builds. > [gcc 4.3.0] /usr/include/limits.h has not been included from include/ansi/limits.h > ---------------------------------------------------------------------------------- > > Key: STDCXX-988 > URL: https://issues.apache.org/jira/browse/STDCXX-988 > Project: C++ Standard Library > Issue Type: Bug > Components: Build and Installation > Affects Versions: 4.2.1 > Environment: gcc 4.3.0 / Ubuntu 8.04 > Reporter: Farid Zaripov > Assignee: Martin Sebor > Priority: Blocker > Fix For: 4.2.2 > > > The regression tests of the asio library from boost are [failed to compile|http://beta.boost.org/development/tests/trunk/developer/output/gcc-4-3-0-stdcxx-4-2-2_x86_64-boost-bin-v2-libs-asio-test-basic_datagram_socket-test-gcc-4-3-0_stdcxx_422-debug-address-model-64-architecture-x86-instruction-set-nocona-stdlib-stdcxx-4-2-2-threading-multi.html] due to undefined symbol IOV_MAX. According to POSIX this symbol should be defined in header. But when compiling with stdcxx the /usr/include/limits.h file has not been included at all. > {code:title=test.cpp} > #include > {code} > {noformat} > $ gcc -E test.cpp -I/var/tmp/stdcxx/4.2.x/include -I/var/tmp/stdcxx/4.2.x/include/ansi -I/var/tmp/stdcxx/4.2.x/15D/include > # 1 "test.cpp" > # 1 "" > # 1 "" > # 1 "test.cpp" > # 1 "/var/tmp/stdcxx/4.2.x/include/ansi/limits.h" 1 > # 33 "/var/tmp/stdcxx/4.2.x/include/ansi/limits.h" > # 1 "/var/tmp/stdcxx/4.2.x/include/rw/_defs.h" 1 > # 36 "/var/tmp/stdcxx/4.2.x/include/rw/_defs.h" > # 1 "/var/tmp/stdcxx/4.2.x/include/rw/_config.h" 1 > # 36 "/var/tmp/stdcxx/4.2.x/include/rw/_config.h" > # 1 "/var/tmp/stdcxx/4.2.x/15D/include/config.h" 1 > # 37 "/var/tmp/stdcxx/4.2.x/include/rw/_config.h" 2 > # 206 "/var/tmp/stdcxx/4.2.x/include/rw/_config.h" > # 1 "/var/tmp/stdcxx/4.2.x/include/rw/_config-gcc.h" 1 > # 207 "/var/tmp/stdcxx/4.2.x/include/rw/_config.h" 2 > # 37 "/var/tmp/stdcxx/4.2.x/include/rw/_defs.h" 2 > # 1140 "/var/tmp/stdcxx/4.2.x/include/rw/_defs.h" > namespace __rw { > extern "C++" { > template > struct __rw_compile_assert; > template<> > struct __rw_compile_assert { enum { _C_ok }; }; > void > __rw_assert_fail (const char*, const char*, int, const char*) > __attribute__ ((noreturn)); > } > } > # 1549 "/var/tmp/stdcxx/4.2.x/include/rw/_defs.h" > namespace std { > } > # 34 "/var/tmp/stdcxx/4.2.x/include/ansi/limits.h" 2 > # 106 "/var/tmp/stdcxx/4.2.x/include/ansi/limits.h" > > # 107 "/var/tmp/stdcxx/4.2.x/include/ansi/limits.h" 3 > # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.3.0/include-fixed/limits.h" 1 3 4 > # 11 "/usr/lib/gcc/x86_64-linux-gnu/4.3.0/include-fixed/limits.h" 3 4 > # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.3.0/include-fixed/syslimits.h" 1 3 4 > # 1 "/var/tmp/stdcxx/4.2.x/include/ansi/limits.h" 1 3 4 <------ Here should be /usr/include/limits.h > # 8 "/usr/lib/gcc/x86_64-linux-gnu/4.3.0/include-fixed/syslimits.h" 2 3 4 > # 12 "/usr/lib/gcc/x86_64-linux-gnu/4.3.0/include-fixed/limits.h" 2 3 4 > # 112 "/var/tmp/stdcxx/4.2.x/include/ansi/limits.h" 2 3 > # 1 "test.cpp" 2 > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.