From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2414 invoked by alias); 28 Jun 2010 13:15:34 -0000 Received: (qmail 2404 invoked by uid 22791); 28 Jun 2010 13:15:33 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mail04.solnet.ch (HELO mail04.solnet.ch) (212.101.4.138) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Jun 2010 13:15:15 +0000 Received: from mail04.solnet.ch ([127.0.0.1]) by localhost (mail04.solnet.ch [127.0.0.1]) (SolNet-Check, port 10024) with LMTP id 9D968hVHKoD1; Mon, 28 Jun 2010 13:15:12 +0000 (UTC) Received: from beta.intefo.ch (static-212-101-18-64.adsl.solnet.ch [212.101.18.64]) by mail04.solnet.ch (Postfix) with ESMTP id 2C80287EED; Mon, 28 Jun 2010 13:15:12 +0000 (UTC) Received: from beta.intefo.ch ([127.0.0.1]) by localhost (beta.intefo.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RNd0ExOhyc5A; Mon, 28 Jun 2010 15:15:11 +0200 (CEST) Received: from [192.168.1.20] (simon.intefo.ch [192.168.1.20]) by beta.intefo.ch (Postfix) with ESMTP id AEA0577036D; Mon, 28 Jun 2010 15:15:11 +0200 (CEST) Message-ID: <4C28A060.8010902@intefo.ch> Date: Mon, 28 Jun 2010 13:15:00 -0000 From: Simon Kallweit User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: John Dallaway 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> <4C289CAE.3030509@dallaway.org.uk> In-Reply-To: <4C289CAE.3030509@dallaway.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00025.txt.bz2 On 06/28/2010 02:59 PM, John Dallaway wrote: > 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? It builds fine on my Ubuntu 10.04 LTS 32-bit :/ Simon