From: "T. P. Saravanan" <sara@procsys.com>
To: linux-mips@linux-mips.org
Subject: Re: mips linux glibc-2.3.3 build - linker errors
Date: Fri, 08 Oct 2004 15:43:50 +0530 [thread overview]
Message-ID: <4166685E.7030001@procsys.com> (raw)
In-Reply-To: <416663B2.5010006@procsys.com>
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.
prev parent reply other threads:[~2004-10-08 10:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-08 9:29 mips linux glibc-2.3.3 build - linker errors T. P. Saravanan
2004-10-08 9:53 ` T. P. Saravanan
2004-10-08 10:13 ` T. P. Saravanan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4166685E.7030001@procsys.com \
--to=sara@procsys.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox