This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

what happens to the soft-fp code


Subject: Fwd: what happens to the soft-fp code
Date: Tuesday 26 August 2003 09:29
From: robert <robert@muth.org>
To: libc-alpha@sources.redhat.com

I am trying to get an arm cross compilation tool chain to work on an x86
 linux system. I ran into tons of problems with the official glibc-2.3.2 and
 I am now trying the cvs snapshot. I hope this is the right place for my
 problem reports:

I have configured glibc as follows

setenv CC  arm-linux-gcc

# ../libc/configure --prefix=$cwd/../usr
# --with-binutils=../usr/arm-linux-elf/bin/ --enable-add-ons=linuxthreads
# --host=arm-linux --without-fp

During compilation the "soft-fp" code is not compiled and causes
unresolved symbols during linking (see below).
My build directory does not even contain the soft-fp subdir so something
must be wrong with my configuration.
I had the sample problem with the glibc-2.3.2.
What triggers the compilation of the soft-fp stuff and which library ends
up containing this code.

Robert

#  arm-linux-gcc   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs  
#-Wl,-dynamic-linker=/home/rmmuth/proj/Arm23/libc-build/../usr/lib/ld-linux.so.2 
# -B/home/rmmuth/proj/Arm23/libc-build/csu/
# -Wl,--version-script=/home/rmmuth/proj/Arm23/libc-build/libc.map
# -Wl,-soname=libc.so.6 -Wl,-z,combreloc -nostdlib -nostartfiles -e
# __libc_main -u __register_frame -L/home/rmmuth/proj/Arm23/libc-build
# -L/home/rmmuth/proj/Arm23/libc-build/math
# -L/home/rmmuth/proj/Arm23/libc-build/elf
# -L/home/rmmuth/proj/Arm23/libc-build/dlfcn
# -L/home/rmmuth/proj/Arm23/libc-build/nss
# -L/home/rmmuth/proj/Arm23/libc-build/nis
# -L/home/rmmuth/proj/Arm23/libc-build/rt
# -L/home/rmmuth/proj/Arm23/libc-build/resolv
# -L/home/rmmuth/proj/Arm23/libc-build/crypt
# -L/home/rmmuth/proj/Arm23/libc-build/linuxthreads
#-Wl,-rpath-link=/home/rmmuth/proj/Arm23/libc-build:/home/rmmuth/proj/Arm23/libc-build/math:/home/rmmuth/proj/Arm23/libc-build/elf:/home/rmmuth/p
# roj/Arm23/libc-build/dlfcn:/home/rmmuth/proj/Arm23/libc-build/nss:/home/
# rmmuth/proj/Arm23/libc-build/nis:/home/rmmuth/proj/Arm23/libc-build/rt:/
# home/rmmuth/proj/Arm23/libc-build/resolv:/home/rmmuth/proj/Arm23/libc-bu
# ild/crypt:/home/rmmuth/proj/Arm23/libc-build/linuxthreads -o
#/home/rmmuth/proj/Arm23/libc-build/libc.so -T
#/home/rmmuth/proj/Arm23/libc-build/shlib.lds
#/home/rmmuth/proj/Arm23/libc-build/csu/abi-note.o
# /home/rmmuth/proj/Arm23/libc-build/elf/soinit.os
# /home/rmmuth/proj/Arm23/libc-build/libc_pic.os
# /home/rmmuth/proj/Arm23/libc-build/elf/sofini.os
# /home/rmmuth/proj/Arm23/libc-build/elf/interp.os
# /home/rmmuth/proj/Arm23/libc-build/elf/ld.so -lgcc -lgcc_eh
#
#/home/rmmuth/proj/Arm23/libc-build/libc_pic.os(.text+0x142ec): In
#function `__modf':
#
# ../sysdeps/ieee754/dbl-64/s_modf.c:77: undefined reference to `__subdf3'
#
# /home/rmmuth/proj/Arm23/libc-build/libc_pic.os(.text+0x143fc): In
# function `__scalbn':
#
# ../sysdeps/ieee754/dbl-64/s_scalbn.c:49: undefined reference to
# `__muldf3'
#
# /home/rmmuth/proj/Arm23/libc-build/libc_pic.os(.text+0x14464):../sysdeps
# /ieee754/dbl-64/s_scalbn.c:56: undefined reference to `__muldf3'


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