From: "Benjamin Menküc" <benmen@gmx.de>
To: linux-mips@linux-mips.org
Subject: Re: compiling glibc
Date: Sat, 10 May 2003 13:21:21 +0200 [thread overview]
Message-ID: <200305101321.21232.benmen@gmx.de> (raw)
In-Reply-To: <200305101156.08254.benmen@gmx.de>
Okay, I fixed this problem by adding --disable-profile:
[benmen@linuxpc1 mipsel-glibc] LD_LIBRARY_PATH="" CFLAGS="-O2 -g
-finline-limit=10000" CC="mipsel-linux-gcc" AS="mipsel-linux-as"
../glibc-2.3.2/configure --build=i686-linux --host=mipsel-linux
--enable-add-ons --prefix=/home/benmen/mipsel
--with-headers=/home/benmen/mips/kernel/mips-2.4.20/include --disable-profile
...
Now I can compile until this comes:
[benmen@linuxpc1 mipsel-glibc] BUILD_CC=gcc CC=mipsel-linux-gcc ma
...
make[3]: Leaving directory `/home/benmen/mips/glibc-2.3.2/elf'
mipsel-linux-gcc -nostdlib -nostartfiles -r -o
/home/benmen/mips/mipsel-glibc/elf/librtld.os '-Wl,-('
/home/benmen/mips/mipsel-glibc/elf/dl-allobjs.os
/home/benmen/mips/mipsel-glibc/elf/rtld-libc.a -lgcc '-Wl,-)'
mipsel-linux-gcc -nostdlib -nostartfiles -shared \
-Wl,-z,defs -Wl,--verbose 2>&1 | \
sed -e '/^=========/,/^=========/!d;/^=========/d' \
-e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/'
\
> /home/benmen/mips/mipsel-glibc/elf/ld.so.lds
mipsel-linux-gcc -nostdlib -nostartfiles -shared -o
/home/benmen/mips/mipsel-glibc/elf/ld.so \
-Wl,-z,defs \
/home/benmen/mips/mipsel-glibc/elf/librtld.os
-Wl,--version-script=/home/benmen/mips/mipsel-glibc/ld.map \
-Wl,-soname=ld.so.1 -T /home/benmen/mips/mipsel-glibc/elf/ld.so.lds
/home/benmen/mips/mipsel-glibc/elf/librtld.os: In function
`_dl_resolve_conflicts':
/home/benmen/mips/glibc-2.3.2/elf/dl-conflict.c:65: undefined reference to
`elf_machine_rela.7'
collect2: ld returned 1 exit status
make[2]: *** [/home/benmen/mips/mipsel-glibc/elf/ld.so] Fehler 1
make[2]: Leaving directory `/home/benmen/mips/glibc-2.3.2/elf'
make[1]: *** [elf/subdir_lib] Fehler 2
make[1]: Leaving directory `/home/benmen/mips/glibc-2.3.2'
make: *** [all] Fehler 2
Verzeichnis: ~/mips/mipsel-glibc
[benmen@linuxpc1 mipsel-glibc]
regards,
Ben
next prev parent reply other threads:[~2003-05-10 11:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-09 19:45 compiling glibc Benjamin Menküc
2003-05-09 21:45 ` Thiemo Seufer
2003-05-10 1:03 ` Benjamin Menküc
2003-05-10 4:25 ` Daniel Jacobowitz
2003-05-10 9:56 ` Benjamin Menküc
2003-05-10 11:21 ` Benjamin Menküc [this message]
2003-05-10 19:43 ` Daniel Jacobowitz
2003-05-11 0:35 ` Benjamin Menküc
2003-05-11 9:28 ` Guido Guenther
2003-05-11 10:52 ` Benjamin Menküc
2003-05-11 11:00 ` Benjamin Menküc
2003-05-11 21:48 ` Guido Guenther
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=200305101321.21232.benmen@gmx.de \
--to=benmen@gmx.de \
--cc=linux-mips@linux-mips.org \
--cc=menkuec@auto-intern.com \
/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