From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27490 invoked by alias); 28 Jun 2010 09:34:31 -0000 Received: (qmail 27477 invoked by uid 22791); 28 Jun 2010 09:34:30 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail05.solnet.ch (HELO mail05.solnet.ch) (212.101.4.139) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Jun 2010 09:34:21 +0000 Received: from mail05.solnet.ch (localhost.solnet.ch [127.0.0.1]) by mail05.solnet.ch (Postfix) with ESMTP id 8E1C43B4F4; Mon, 28 Jun 2010 09:34:18 +0000 (UTC) Received: from mail05.solnet.ch ([127.0.0.1]) by mail05.solnet.ch (mail05.solnet.ch [127.0.0.1]) (SolNet-Check, port 10024) with LMTP id r5d462MPeEfZ; Mon, 28 Jun 2010 09:34:17 +0000 (UTC) Received: from beta.intefo.ch (static-212-101-18-64.adsl.solnet.ch [212.101.18.64]) by mail05.solnet.ch (Postfix) with ESMTP id 3DCA13B041; Mon, 28 Jun 2010 09:34:17 +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 8nnZDv75pXtl; Mon, 28 Jun 2010 11:34:16 +0200 (CEST) Received: from [192.168.1.20] (simon.intefo.ch [192.168.1.20]) by beta.intefo.ch (Postfix) with ESMTP id 42C3277033D; Mon, 28 Jun 2010 11:34:16 +0200 (CEST) Message-ID: <4C286C98.4020501@intefo.ch> Date: Mon, 28 Jun 2010 09:34: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> In-Reply-To: <4C28692B.9090701@dallaway.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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/msg00021.txt.bz2 Hi John Sorry, that was pretty bad testing on my side ;) only did some tests on the synth target. The shortcomings are pretty obvious! I'll fix the mistakes and post an updated patch. Simon On 06/28/2010 11:19 AM, John Dallaway wrote: > Hi Simon > > Simon Kallweit wrote: > >> This patch will update uSTL to the newest 1.4 sources. Minor updates. > > It seems that uSTL 1.4 has introduced a portability issue. Building the > tests for target "m5272c3" (for example): > >> m68k-elf-gcc -c -I/var/tmp/ustl-test/install/include -I/var/local/cvs/ecos/packages/language/cxx/ustl/current -I/var/local/cvs/ecos/packages/language/cxx/ustl/current/src -I/var/local/cvs/ecos/packages/language/cxx/ustl/current/tests -I. -I/var/local/cvs/ecos/packages/language/cxx/ustl/current/tests/ -finline-limit=7000 -Wall -Wpointer-arith -Woverloaded-virtual -Wno-write-strings -mcpu=5272 -malign-int -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fomit-frame-pointer -I/var/tmp/ustl-test/install/include/ustl -Wp,-MD,tests/bvt21.tmp -o tests/bvt21.o /var/local/cvs/ecos/packages/language/cxx/ustl/current/tests/bvt21.cpp >> /var/tmp/ustl-test/install/include/ustl/uutility.h: In function ‘void TestUtility()’: >> /var/tmp/ustl-test/install/include/ustl/uutility.h:350: error: impossible constraint in ‘asm’ >> /var/tmp/ustl-test/install/include/ustl/uutility.h:350: error: impossible constraint in ‘asm’ >> /var/tmp/ustl-test/install/include/ustl/uutility.h:350: error: impossible constraint in ‘asm’ >> /var/tmp/ustl-test/install/include/ustl/uutility.h:350: error: impossible constraint in ‘asm’ >> /var/tmp/ustl-test/install/include/ustl/uutility.h:350: error: impossible constraint in ‘asm’ >> make[1]: *** [tests/bvt21.d] Error 1 >> make[1]: Leaving directory `/var/tmp/ustl-test/language/cxx/ustl/current' >> make: *** [tests] Error 2 > > Are you able to provide a portable implementation of NextPow2() and > submit upstream? > > Note also that your patch to include/ustl/uctrstrm.h prevents building > uSTL with "-fno-rtti" and should be omitted. > > I'm copying Uwe Kindler to ensure he's aware of your contribution. > > John Dallaway > eCos maintainers