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<double, 
> int>::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<float, int>::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

Reply via email to