From: "Carlos O'Donell Jr." <carlos@megatonmonkey.net>
To: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] Building from scratch.
Date: Sun, 26 Aug 2001 16:27:54 -0400 [thread overview]
Message-ID: <20010826162754.A10072@megatonmonkey.net> (raw)
Parisc'ers,
I was recently trying to build the toolchain from scractch on
an x86 box.
I've run into the following stumbling block:
a) glibc configure requires that I use "--enable-hacker-mode"
This really isn't documented, but It's not uncommon and I got around
it very quickly ;)
The second issue was:
b) Some strange asm problem while building glibc.
gcc ../sysdeps/unix/sysv/linux/hppa/sysdep.c -c -O2 -Wall -Winline -Wstrict=
-prototypes -Wwrite-strings -g -I../include -I. -I/mnt/fatty/palinux/b=
uild/glibc/csu -I.. -I../libio -I/mnt/fatty/palinux/build/glibc -I../sysde=
ps/hppa/elf -I../linuxthreads/sysdeps/unix/sysv/linux/hppa -I../linuxthread=
s/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../linuxthrea=
ds/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysde=
ps/hppa -I../sysdeps/unix/sysv/linux/hppa -I../sysdeps/unix/sysv/linux -I..=
/sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/u=
nix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix -I../s=
ysdeps/hppa/hppa1.1 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I=
../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/hppa/f=
pu -I../sysdeps/hppa -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sys=
deps/generic -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DH=
AVE_INITFINI -o /mnt/fatty/palinux/build/glibc/csu/sysdep.o
=2E./sysdeps/unix/sysv/linux/hppa/sysdep.c: In function `syscall':
=2E./sysdeps/unix/sysv/linux/hppa/sysdep.c:43: invalid register name `r28' =
for register variable
=2E./sysdeps/unix/sysv/linux/hppa/sysdep.c:44: invalid register name `r21' =
for register variable
=2E./sysdeps/unix/sysv/linux/hppa/sysdep.c:44: invalid register name `r22' =
for register variable
=2E./sysdeps/unix/sysv/linux/hppa/sysdep.c:44: invalid register name `r23' =
for register variable
=2E./sysdeps/unix/sysv/linux/hppa/sysdep.c:44: invalid register name `r24' =
for register variable
=2E./sysdeps/unix/sysv/linux/hppa/sysdep.c:44: invalid register name `r25' =
for register variable
=2E./sysdeps/unix/sysv/linux/hppa/sysdep.c:44: invalid register name `r26' =
for register variable
=2E./sysdeps/unix/sysv/linux/hppa/sysdep.c:45: Can't find a register in cla=
ss `GENERAL_REGS' while reloading `asm'.
make[2]: *** [/mnt/fatty/palinux/build/glibc/csu/sysdep.o] Error 1
make[2]: Leaving directory `/mnt/fatty/palinux/src/glibc/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/fatty/palinux/src/glibc'
make: *** [all] Error 2
Background:
I started by building the tools, as per the instructions on the website.
- Built binutils
- Partially build gcc
- Unpack and configure kernel
- Build glibc...
At which I'm stuck. My hppa bin directory has the following built tools:
(and is on my path)
gccbug hppa-linux-cpp hppa-linux-objdump
gcov hppa-linux-gasp hppa-linux-ranlib
hppa-linux-addr2line hppa-linux-gcc hppa-linux-readelf
hppa-linux-ar hppa-linux-ld hppa-linux-size
hppa-linux-as hppa-linux-nm hppa-linux-strings
hppa-linux-c++filt hppa-linux-objcopy hppa-linux-strip
The configure for glibc does complain about:
[snip]
checking for hppa-linux-mig... (cached) mig
configure: warning:=20
*** An auxiliary program is missing or too old;
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking whether ranlib is necessary... (cached) no
[snip]
But continues on. I've met all the requirements in INSTALL, with=20
regards to tools and their versions.
Any clues?
Cheers,
Carlos.
next reply other threads:[~2001-08-26 20:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-26 20:27 Carlos O'Donell Jr. [this message]
2001-08-27 19:38 ` [parisc-linux] Building from scratch Matthew Wilcox
2001-08-28 3:54 ` Carlos O'Donell Jr.
2001-08-28 4:39 ` Carlos O'Donell Jr.
2001-08-28 5:10 ` Matthew Wilcox
2001-08-28 11:17 ` Carlos O'Donell Jr.
2001-08-28 14:56 ` Matthew Wilcox
2001-08-28 15:29 ` Carlos O'Donell Jr.
2001-08-28 18:47 ` Matthew Wilcox
2001-08-28 19:22 ` Carlos O'Donell Jr.
2001-08-28 19:44 ` Matthew Wilcox
2001-08-28 20:36 ` Carlos O'Donell Jr.
2001-08-28 20:47 ` Matthew Wilcox
2001-08-28 15:06 ` Carlos O'Donell Jr.
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=20010826162754.A10072@megatonmonkey.net \
--to=carlos@megatonmonkey.net \
--cc=parisc-linux@lists.parisc-linux.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