@afxgroup
Thanks!
@thread
Now - I have gotten so far, that the compiler is beginning to link some command line executables. One of them prints out this:
obj/v8/libv8_libbase.a(time.o): In function `copysign':
time.cc:(.text.unlikely+0x0): multiple definition of `copysign'
obj/v8/libv8_libbase.a(platform-posix.o):platform-posix.cc:(.text.unlikely+0x0): first defined here
obj/v8/libv8_libbase.a(random-number-generator.o): In function `copysign':
random-number-generator.cc:(.text.unlikely+0x0): multiple definition of `copysign'
obj/v8/libv8_libbase.a(platform-posix.o):platform-posix.cc:(.text.unlikely+0x0): first defined here
There doesn't seem to be any direct reference to 'copysign' in any of the three files referred. There is, however, some of these :
// Return the largest multiple of m which is <= x.
template <typename T>
inline T RoundDown(T x, intptr_t m) {
STATIC_ASSERT(std::is_integral<T>::value);
// m must be a power of two.
DCHECK(m != 0 && ((m & (m - 1)) == 0));
return x & static_cast<T>(-m);
}
template <intptr_t m, typename T>
constexpr inline T RoundDown(T x) {
STATIC_ASSERT(std::is_integral<T>::value);
// m must be a power of two.
STATIC_ASSERT(m != 0 && ((m & (m - 1)) == 0));
return x & static_cast<T>(-m);
}
Could these be related ? Are there any other good suggestions to where I should look for the multiple references ?