* [parisc-linux] cross compiling glibc
@ 2000-04-14 14:18 Sam Creasey
2000-04-14 22:32 ` Grant Grundler
0 siblings, 1 reply; 4+ messages in thread
From: Sam Creasey @ 2000-04-14 14:18 UTC (permalink / raw)
To: parisc-linux
Ok, according to CVS, my tree is now entirely sync'd with the repository
for glibc.
And I just built glibc right "out of the box".
Hopefully this procedure will work for you:
(checkout glibc)
cd glibc
mkdir hppa1.1-linux
cd hppa1.1-linux
../configure --disable-shared --disable-profile --enable-static-nss
--build=i686-linux --host=hppa1.1-linux --disable-sanity-checks
make
(yes, the entire make should actually happen right now -- though
nss/makedb still won't compile without the binutils fix I just checked
in).
make install install_root=/raid/hp/root MAKEINFO=
This runs in install into the root for my 712's NFS mount.
The MAKEINFO= is important, it keeps it from trying to build the manuals,
which doesn't work without the addon.
Hope it goes as smoothly for anyone else.
-- Sam
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] cross compiling glibc
2000-04-14 14:18 [parisc-linux] cross compiling glibc Sam Creasey
@ 2000-04-14 22:32 ` Grant Grundler
2000-04-14 23:04 ` Grant Grundler
2000-04-15 1:24 ` willy
0 siblings, 2 replies; 4+ messages in thread
From: Grant Grundler @ 2000-04-14 22:32 UTC (permalink / raw)
To: parisc-linux
Sam Creasey wrote:
> Hopefully this procedure will work for you:
>
>
> (checkout glibc)
> cd glibc
> mkdir hppa1.1-linux
> cd hppa1.1-linux
>
> ../configure --disable-shared --disable-profile --enable-static-nss
> --build=i686-linux --host=hppa1.1-linux --disable-sanity-checks
So far so good. But since I wanted to build under HP-UX I had to change
a few things on the configure line:
../configure --disable-shared --disable-profile --enable-static-nss \
--build=hppa1.1-hpux --host=hppa1.1-linux --disable-sanity-checks \
--with-headers=/opt/puffin/include
/opt/puffin/include contains the linux headers files the Mathew Wilcox
tar'd and placed on puffin.external.hp.com.
> make
And then the make died for two different reasons:
1) can't use HP-UX sed. I pulled the sources from the
porting center and installed them under /opt/puffin/
2) perl. HP-UX 11 ships with perl 4. glibc wants perl5.
Pulled perl-5.005_03-1.hpux-11.0.depot.gz from puffin.external.hp.com
and it got quite a bit further
3) I also removed "csu" from sysd-sorted directory list.
Mathew told me to. So I did. This has to be done *after*
running ./configure script.
and then the make completed.
>
> (yes, the entire make should actually happen right now -- though
> nss/makedb still won't compile without the binutils fix I just checked
> in).
>
> make install install_root=/raid/hp/root MAKEINFO=
Since my NFS root isn't on my build machine, I used
make install install_root=/linux/root MAKEINFO=
with the plan on recursively copying that over to the nfs root.
For some reason I had to remove "csu" from sysd-sorted again.
Probably just forgot too while retrying something...
thanks Sammy!
grant
>
> This runs in install into the root for my 712's NFS mount.
> The MAKEINFO= is important, it keeps it from trying to build the manuals,
> which doesn't work without the addon.
>
> Hope it goes as smoothly for anyone else.
>
> -- Sam
Grant Grundler
Unix Development Lab
+1.408.447.7253
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] cross compiling glibc
2000-04-14 22:32 ` Grant Grundler
@ 2000-04-14 23:04 ` Grant Grundler
2000-04-15 1:24 ` willy
1 sibling, 0 replies; 4+ messages in thread
From: Grant Grundler @ 2000-04-14 23:04 UTC (permalink / raw)
To: parisc-linux
Grant Grundler wrote:
> Since my NFS root isn't on my build machine, I used
> make install install_root=/linux/root MAKEINFO=
and since I sent the mail *before* the make install completed...
It died with:
make[2]: Entering directory `/linux/grundler/glibc/setjmp'
hppa1.1-linux-gcc ../sysdeps/hppa/setjmp.S -c -I../include -I. -I/linux/grundler/glibc/hppa1.1-linux/setjmp -I.. -I../libio -I/linux/grundler/glibc/hppa1.1-linux -I../sysdeps/hppa/elf -I../sysdeps/unix/sysv/linux/hppa -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/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/fpu -I../sysdeps/hppa -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /opt/puffin/lib/gcc-lib/hppa1.1-linux/2.9-hppa-991112/include -isystem /opt/puffin/include -include ../include/libc-symbols.h -DASSEMBLER -o /linux/grundler/glibc/hppa1.1-linux/setjmp/setjmp.o
../sysdeps/hppa/setjmp.S: Assembler messages:
../sysdeps/hppa/setjmp.S:102: Error: Missing .callinfo for this procedure
make[2]: *** [/linux/grundler/glibc/hppa1.1-linux/setjmp/setjmp.o] Error 1
make[2]: Leaving directory `/linux/grundler/glibc/setjmp'
make[1]: *** [setjmp/subdir_lib] Error 2
make[1]: Leaving directory `/linux/grundler/glibc'
make: *** [install] Error 2
Using the wrong assembler? (or something else stupid like that?)
grant
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] cross compiling glibc
2000-04-14 22:32 ` Grant Grundler
2000-04-14 23:04 ` Grant Grundler
@ 2000-04-15 1:24 ` willy
1 sibling, 0 replies; 4+ messages in thread
From: willy @ 2000-04-15 1:24 UTC (permalink / raw)
To: Grant Grundler; +Cc: parisc-linux
On Fri, Apr 14, 2000 at 03:32:21PM -0700, Grant Grundler wrote:
> 3) I also removed "csu" from sysd-sorted directory list.
> Mathew told me to. So I did. This has to be done *after*
> running ./configure script.
>
> and then the make completed.
that was more a quick hack to get you to the next level than something
i'd recommend. the `missing callinfo' error indicates you're using
an old version of binutils. however, the current contents of the cvs
binutils won't build a kernel which boots. i think it's my fault and
i'm trying to fix it.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-04-15 0:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-14 14:18 [parisc-linux] cross compiling glibc Sam Creasey
2000-04-14 22:32 ` Grant Grundler
2000-04-14 23:04 ` Grant Grundler
2000-04-15 1:24 ` willy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox