[Bug target/48239] New: ARM Thumb: Undefined reference to `__aeabi_lmul'

sebastian.huber@embedded-brains.de gcc-bugzilla@gcc.gnu.org
Tue Mar 22 16:34:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48239

           Summary: ARM Thumb: Undefined reference to `__aeabi_lmul'
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sebastian.huber@embedded-brains.de
            Target: arm-rtems4.11


Exact GCC version is: 4.6.0-RC-20110321.

/opt/rtems-4.11-custom/lib/gcc/arm-rtems4.11/4.6.0/thumb/libgcc.a(bpabi.o): In
function `__gnu_ldivmod_helper':
/home/sh/archive/gcc-4.6.0-RC-20110321-rtems/libgcc/../gcc/config/arm/bpabi.c:42:
undefined reference to `__aeabi_lmul'
/opt/rtems-4.11-custom/lib/gcc/arm-rtems4.11/4.6.0/thumb/libgcc.a(bpabi.o): In
function `__gnu_uldivmod_helper':
/home/sh/archive/gcc-4.6.0-RC-20110321-rtems/libgcc/../gcc/config/arm/bpabi.c:54:
undefined reference to `__aeabi_lmul'

Is this an error (duplicate lines) in "libgcc/config/arm/bpabi-lib.h"

/* Give some libgcc functions an additional __aeabi name.  */
#ifdef L_muldi3
#define DECLARE_LIBRARY_RENAMES RENAME_LIBRARY (muldi3, lmul)
#endif
#ifdef L_muldi3
#define DECLARE_LIBRARY_RENAMES RENAME_LIBRARY (muldi3, lmul)
#endif

?

The L_muldi3 seems to be only defined in "gcc/config/arm/t-symbian"?

In GCC 4.5.2 this file is not present, and with this GCC version I don't have
this problem.



More information about the Gcc-bugs mailing list