[Bug 55] Several compile problems due to libm

bugzilla-daemon at osuosl.org bugzilla-daemon at osuosl.org
Mon Jan 19 17:44:17 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=55





--- Comment #6 from rhabarber1848 at web.de  2009-01-19 17:44:15 UTC ---
Comparing uClibc 0.9.30 and uClibc SVN HEAD

# cdk/bin/powerpc-tuxbox-linux-uclibc-readelf -a -W cdkroot/lib/libm-0.9.30.so
| grep signbit
    75: 000107c0    16 FUNC    GLOBAL DEFAULT    6 __signbit
   194: 000107d0    16 FUNC    GLOBAL DEFAULT    6 __signbitf

# cdk/bin/powerpc-tuxbox-linux-uclibc-readelf -a -W
cdkroot/lib/libm-0.9.30-svn.so | grep signbit
    68: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND __GI___signbitl
    77: 00010594    16 FUNC    GLOBAL DEFAULT    6 __signbit
   143: 00011530     8 FUNC    GLOBAL DEFAULT    6 __signbitl
   197: 000105a4    16 FUNC    GLOBAL DEFAULT    6 __signbitf

lead me to try the attached patch which removes libm_hidden_def for the
problematic functions. libm now looks like this:

# cdk/bin/powerpc-tuxbox-linux-uclibc-readelf -a -W
cdkroot/lib/libm-0.9.30-svn.so | grep signbit
    74: 00010518    16 FUNC    GLOBAL DEFAULT    6 __signbit
   138: 000114b4     8 FUNC    GLOBAL DEFAULT    6 __signbitl
   192: 00010528    16 FUNC    GLOBAL DEFAULT    6 __signbitf

Well, thats better, isn't it? libpng compiles now:

checking for pow... no
checking for pow in -lm... yes


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list