This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: uSTL 1.4 update
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Simon Kallweit <simon dot kallweit at intefo dot ch>
- Cc: ecos-patches at ecos dot sourceware dot org, Uwe Kindler <uwe_kindler at web dot de>
- Date: Mon, 28 Jun 2010 10:19:39 +0100
- Subject: Re: uSTL 1.4 update
- References: <4C24BE22.4040405@intefo.ch>
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