[parisc-linux] Building from scratch.

Matthew Wilcox willy@debian.org
Tue, 28 Aug 2001 21:47:29 +0100


On Tue, Aug 28, 2001 at 04:36:39PM -0400, Carlos O'Donell Jr. wrote:
> What are the major differences? Crosscompiling vs. Crossbuild?
> Better yet, where can I learn about those difference?

I don't think the differences between cross and native builds are
documented anywhere.

> So the native build of zic barfs. I'm not even sure if zic runs when
> you compile glibc by hand? Hrm... zic.c is 52,000 loc.. eww.

I would say it dies in the dynamic linker before zic is entered.

> Question:
> In theory since those patches are changes that haven't been merged upstream,
> should the only requirements be:
> 
> - Have 2.2.4 Original
> - Carry out any one of the dpatch's since they are dif'd against 2.2.4 Original
> - Then carry out the 2.2.4-1 patch

No.  The 2.2.4-1 patch adds the debian-specific patches to the tarball.
There's nowhere to get the hppa patch from if you don't apply the
2.2.4-1 patch.

> Quesiton:
> If the pool has the hppa changes commented out in the 0list file, does
> that mean that glibc2.2.4 is not available for hppa yet? (Since it fails to 
> compile? The first error probably being the Elf32_Addr* problem with
> that '& 3' fixed by a cast to (unsigned int)).

glibc 2.2.4 is indeed not yet available for hppa.  As it says in the
release announcement.

> > 
> > That's changing all the testandset to trylock.
> >
> 
> Why would that be in the hppa dpatch?

Because we can't implement testandset atomically & efficiently on hppa.
The places which use testandset actually just need trylock.

-- 
Revolutions do not require corporate support.