From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10672 invoked by alias); 28 Jun 2010 12:59:41 -0000 Received: (qmail 10660 invoked by uid 22791); 28 Jun 2010 12:59:40 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mtaout02-winn.ispmail.ntl.com (HELO mtaout02-winn.ispmail.ntl.com) (81.103.221.48) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Jun 2010 12:59:31 +0000 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100628125928.HLEX3192.mtaout02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com>; Mon, 28 Jun 2010 13:59:28 +0100 Received: from cog.dallaway.org.uk ([213.106.80.48]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100628125928.HUUD1586.aamtaout02-winn.ispmail.ntl.com@cog.dallaway.org.uk>; Mon, 28 Jun 2010 13:59:28 +0100 Received: from cog.dallaway.org.uk (cog.dallaway.org.uk [127.0.0.1]) by cog.dallaway.org.uk (8.13.8/8.13.8) with ESMTP id o5SCxQfg016444; Mon, 28 Jun 2010 13:59:26 +0100 Message-ID: <4C289CAE.3030509@dallaway.org.uk> Date: Mon, 28 Jun 2010 12:59:00 -0000 From: John Dallaway User-Agent: Thunderbird 2.0.0.24 (X11/20100318) MIME-Version: 1.0 To: Simon Kallweit CC: ecos-patches@ecos.sourceware.org, Uwe Kindler Subject: Re: uSTL 1.4 update References: <4C24BE22.4040405@intefo.ch> <4C28692B.9090701@dallaway.org.uk> <4C286C98.4020501@intefo.ch> <4C2890CC.9070301@intefo.ch> In-Reply-To: <4C2890CC.9070301@intefo.ch> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2010-06/txt/msg00024.txt.bz2 Hi Simon Simon Kallweit wrote: > Here is the updated patch. > > Added a generic implementation for the NextPow2, which is currently > suboptimal but mimics what the x86 implementation is doing. Also removed > the introduced change in include/ustl/uctrstrm.h so it should build > again with -fno-rtti. Thank you. Tests are now building fine for M5272C3 but there's an error building for the synthetic target on my CentOS 5 (32-bit) box: > gcc -L/var/tmp/ustl-test/install/lib -Ttarget.ld -o /var/tmp/ustl-test/install/tests/language/cxx/ustl/current/tests/bvt23 tests/bvt23.o -g -nostdlib -Wl,--gc-sections -Wl,-static > tests/bvt23.o: In function `ustl::simd::fround::operator()(double const&) const': > /var/tmp/ustl-test/install/include/ustl/simd.h:109: undefined reference to `lrint' > /var/tmp/ustl-test/install/include/ustl/simd.h:109: undefined reference to `lrint' > /var/tmp/ustl-test/install/include/ustl/simd.h:109: undefined reference to `lrint' > tests/bvt23.o: In function `ustl::simd::fround::operator()(float const&) const': > /var/tmp/ustl-test/install/include/ustl/simd.h:107: undefined reference to `lrintf' > /var/tmp/ustl-test/install/include/ustl/simd.h:107: undefined reference to `lrintf' > /var/tmp/ustl-test/install/include/ustl/simd.h:107: undefined reference to `lrintf' > collect2: ld returned 1 exit status > make[1]: *** [/var/tmp/ustl-test/install/tests/language/cxx/ustl/current/tests/bvt23] Error 1 > make[1]: Leaving directory `/var/tmp/ustl-test/language/cxx/ustl/current' > make: *** [tests] Error 2 Are you seeing this error? John Dallaway eCos maintainer