Re: mips linux glibc-2.3.3 build - linker errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



T. P. Saravanan wrote:

ar -d lib_pic.a strtold.os

got me be beyond this point. (If somebody knows that this is not the way to do it - let me know.)

-Sa.

Further liker errors:

sara@eyeore: [over] ~/build/glibc/objdir6$ make
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.3.3 objdir=`pwd` all
make[1]: Entering directory `/home/sara/build/glibc/glibc-2.3.3'
make -C csu subdir_lib
.
.
.
make[4]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3/time'
make[3]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3/elf'
make[2]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3/elf'
gcc -mabi=32 -nostdlib -nostartfiles -r -o /home/sara/build/glibc/objdir6/libc_pic.os \
-Wl,-d -Wl,--whole-archive /home/sara/build/glibc/objdir6/libc_pic.a
gcc -mabi=32 -shared -Wl,-O1 \
-nostdlib -nostartfiles \
-Wl,-dynamic-linker=/home/sara/usr/local/lib/ld.so.1 \
-Wl,--verbose 2>&1 | \
sed > /home/sara/build/glibc/objdir6/shlib.ldsT \
-e '/^=========/,/^=========/!d;/^=========/d' \
-e 's/^.*\.hash[ ]*:.*$/ .note.ABI-tag : { *(.note.ABI-tag) } &/' \
-e 's/^.*\*(\.dynbss).*$/& \
PROVIDE(__start___libc_freeres_ptrs = .); \
*(__libc_freeres_ptrs) \
PROVIDE(__stop___libc_freeres_ptrs = .);/'
mv -f /home/sara/build/glibc/objdir6/shlib.ldsT /home/sara/build/glibc/objdir6/shlib.lds
gcc -mabi=32 -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/home/sara/usr/local/lib/ld.so.1 -B/home/sara/build/glibc/objdir6/csu/ -Wl,--version-script=/home/sara/build/glibc/objdir6/libc.map -Wl,-soname=libc.so.6 -nostdlib -nostartfiles -e __libc_main -L/home/sara/build/glibc/objdir6 -L/home/sara/build/glibc/objdir6/math -L/home/sara/build/glibc/objdir6/elf -L/home/sara/build/glibc/objdir6/dlfcn -L/home/sara/build/glibc/objdir6/nss -L/home/sara/build/glibc/objdir6/nis -L/home/sara/build/glibc/objdir6/rt -L/home/sara/build/glibc/objdir6/resolv -L/home/sara/build/glibc/objdir6/crypt -L/home/sara/build/glibc/objdir6/linuxthreads -Wl,-rpath-link=/home/sara/build/glibc/objdir6:/home/sara/build/glibc/objdir6/math:/home/sara/build/glibc/objdir6/elf:/home/sara/build/glibc/objdir6/dlfcn:/home/sara/build/glibc/objdir6/nss:/home/sara/build/glibc/objdir6/nis:/home/sara/build/glibc/objdir6/rt:/home/sara/build/glibc/objdir6/resolv:/home/sara/build/glibc/objdir6/crypt:/home/sara/build/glibc/objdir6/linuxthreads -o /home/sara/build/glibc/objdir6/libc.so -T /home/sara/build/glibc/objdir6/shlib.lds /home/sara/build/glibc/objdir6/csu/abi-note.o /home/sara/build/glibc/objdir6/elf/soinit.os /home/sara/build/glibc/objdir6/libc_pic.os /home/sara/build/glibc/objdir6/elf/sofini.os /home/sara/build/glibc/objdir6/elf/interp.os /home/sara/build/glibc/objdir6/elf/ld.so -lgcc -lgcc_eh
/home/sara/build/glibc/objdir6/libc_pic.os(.text+0x88f3c): In function `round_and_return':
../stdlib/strtod.c:296: undefined reference to `__mpn_construct_long_double'
/home/sara/build/glibc/objdir6/libc_pic.os(.text+0x920bc):../stdlib/strtod.c:296: undefined reference to `__mpn_construct_long_double'
collect2: ld returned 1 exit status
make[1]: *** [/home/sara/build/glibc/objdir6/libc.so] Error 1
make[1]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3'
make: *** [all] Error 2


Anybody knows how to fix this?

-Sa.



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux