[Bug 55] New: Several compile problems due to libm

bugzilla-daemon at osuosl.org bugzilla-daemon at osuosl.org
Thu Jan 15 20:09:04 UTC 2009


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

              Host: x86
            Target: ppc
           Summary: Several compile problems due to libm
           Product: uClibc
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Other
        AssignedTo: unassigned at uclibc.org
        ReportedBy: rhabarber1848 at web.de
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


I guess this patch produces some bugs:
http://sources.busybox.net/index.py?view=rev&sortby=file&revision=24487

UCLIBC_HAS_LONG_DOUBLE_MATH and DO_C99_MATH are both activated, gcc-3.4.6

All of the following packages compile with uClibc 0.9.30,
but not with uClibc SVN HEAD:

Busybox 1.7.2, libsndfile-1.0.17, libxml2-2.4.30

/root/tuxbox/work_uclibc/image/cdk/lib/gcc/powerpc-tuxbox-linux-uclibc/3.4.6/../../../../powerpc-tuxbox-linux-uclibc/lib/nof/libm.so:
undefined reference to `__GI___finitel'
/root/tuxbox/work_uclibc/image/cdk/lib/gcc/powerpc-tuxbox-linux-uclibc/3.4.6/../../../../powerpc-tuxbox-linux-uclibc/lib/nof/libm.so:
undefined reference to `__GI___isnanl'
/root/tuxbox/work_uclibc/image/cdk/lib/gcc/powerpc-tuxbox-linux-uclibc/3.4.6/../../../../powerpc-tuxbox-linux-uclibc/lib/nof/libm.so:
undefined reference to `__GI___signbitl'
/root/tuxbox/work_uclibc/image/cdk/lib/gcc/powerpc-tuxbox-linux-uclibc/3.4.6/../../../../powerpc-tuxbox-linux-uclibc/lib/nof/libm.so:
undefined reference to `__GI___fpclassifyl'
/root/tuxbox/work_uclibc/image/cdk/lib/gcc/powerpc-tuxbox-linux-uclibc/3.4.6/../../../../powerpc-tuxbox-linux-uclibc/lib/nof/libm.so:
undefined reference to `__GI___isinfl'
===========================================================================
libpng-1.2.16 configure produces this error message:

checking for pow... (cached) no
checking for pow in -lm... (cached) no
configure: error: cannot find pow

Here the corresponding config.log snippet
conftest.c:(.text+0xc): undefined reference to `pow'
===========================================================================
liboil-0.3.15

powerpc-tuxbox-linux-uclibc-gcc -pipe -Os -fPIC -Wl,-O1 -o
.libs/build_prototypes build_prototypes-build_prototypes.o 
../liboil/.libs/liboil-0.3.so -lrt
../liboil/.libs/liboil-0.3.so: undefined reference to `sqrt'
../liboil/.libs/liboil-0.3.so: undefined reference to `floor'
../liboil/.libs/liboil-0.3.so: undefined reference to `rint'
../liboil/.libs/liboil-0.3.so: undefined reference to `cos'
../liboil/.libs/liboil-0.3.so: undefined reference to `sin'
../liboil/.libs/liboil-0.3.so: undefined reference to `floorf'


-- 
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