M R Swami Reddy wrote: > I am building a cross compiler using gcc-4.4.0 released sources. > In that compiler and libgcc are built successfully, but libstdc++ build > failed with below message: > === > libstdc++-v3/src/atomic.cc:106: error: cast from 'const volatile > void*' to 'uintptr_t' loses precision > === > Could you please help to resolve the above? As far as I can see, either you are doing something wrong in your cross configuration, or something is broken in your target, because, per C99 7.18.1.4, that conversion must be always possible. Paolo.