From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18226 invoked by alias); 28 Jun 2010 09:19:49 -0000 Received: (qmail 18218 invoked by uid 22791); 28 Jun 2010 09:19:48 -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 09:19:44 +0000 Received: from aamtaout04-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 <20100628091941.WBTJ3192.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Mon, 28 Jun 2010 10:19:41 +0100 Received: from cog.dallaway.org.uk ([213.106.80.48]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100628091941.VLZQ1593.aamtaout04-winn.ispmail.ntl.com@cog.dallaway.org.uk>; Mon, 28 Jun 2010 10:19:41 +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 o5S9Jdmu003408; Mon, 28 Jun 2010 10:19:39 +0100 Message-ID: <4C28692B.9090701@dallaway.org.uk> Date: Mon, 28 Jun 2010 09:19: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> In-Reply-To: <4C24BE22.4040405@intefo.ch> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/msg00020.txt.bz2 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