Remove libc/sysdels/linux/cris/bits/mathcalls.h (was: Re: Pointer or hint please (undefined reference on libm hidden symbols))

Ricard Wanderlof ricard.wanderlof at axis.com
Wed Oct 29 10:31:12 UTC 2008


On Wed, 29 Oct 2008, Ricard Wanderlof wrote:

> Removing libm_hidden_def(fabs) in libm/s_fabs.c makes that undefined
> ...

Found the culprit, there's an old mathcalls.h in 
libc/sysdeps/linux/cris/bits/ . That's the only arch that has its own 
mathcalls.h, from what I can tell all others use 
libc/sysdeps/linux/common/bits/mathcalls.h . Seems to be a remnant of the 
original CRIS port, and hasn't been kept in sync with 
common/bits/mathcalls.h . At that time (2002) it was identical to 
common/bits/mathcalls.h but times have changed.

Anyone have anything against me just removing 
libc/sysdeps/linux/cris/bits/mathcalls.h, which fixes the problem?

/Ricard
--
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30



More information about the uClibc mailing list