This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

undefined reference to `__udivdi3' ?


Hi there,

I used crosstool-0.37 to build an arm-softfloat-linux-gnu toolchain with

BINUTILS_DIR=binutils-2.15
GCC_CORE_DIR=gcc-3.3.3
GCC_DIR=gcc-3.3.3
GCC_EXTRA_CONFIG=--with-float=soft
GLIBC_DIR=glibc-2.3.3
GLIBC_EXTRA_CC_ARGS=
GLIBC_EXTRA_CONFIG=--without-fp
LINUX_DIR=linux-2.6.12
LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0
TARGET=arm-softfloat-linux-gnu
TARGET_CFLAGS=-O

When compiling linux-2.6.13-rc3 I get

arch/arm/kernel/built-in.o(__ksymtab+0x380): undefined reference to `__udivdi3'
arch/arm/kernel/built-in.o(__ksymtab+0x388): undefined reference to `__umoddi3'
arch/arm/kernel/built-in.o(__ksymtab+0x390): undefined reference to `__udivmoddi4'


I am not sure if I understand correctly:

These functions are for integer arithmetics and should be in libgcc.a.
They have nothing to do with glibc. Right?

My libgcc.a does not have a __udivdi3.

What can I do to build a gcc-3.3.3 (with libgcc.a) that contains these functions?

--
Steven


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]