comp.lang.ada
 help / color / mirror / Atom feed
From: gshapovalov@gmail.com
Subject: Re: Multi-arch
Date: 18 May 2006 09:34:34 -0700
Date: 2006-05-18T09:34:34-07:00	[thread overview]
Message-ID: <1147970074.739192.32410@i39g2000cwa.googlegroups.com> (raw)
In-Reply-To: 1147952398.152997.147430@j55g2000cwa.googlegroups.com

Ludovic Brenta wrote:
> only guess, but it seems to me that the current infrastructure means
> that each source package builds several binary packages, one for each
> arch, on the machine where you build.  So, for example, if you have an
> amd64 machine, you'd get two binaries, i386 and amd64. Furthermore, the
That sums up the principle pretty well. Of course there is also a lot
of glue code to hold it all together and make it "just work"..

> i386 package would install libraries in /usr/lib32, whereas the same
> package built on a i386 machine would install libraries in /usr/lib, so
> the two packages would be slightly different, and incompatible, even
> though built for the same architecture. Debian is currently in a
Yes, that would have made them (incompatible) if we were distributing
binary packages. As it is, everything is built locally against
installed libs. So this is not an issue in our case.

> In the proposal, a source package would only produce one binary package
> for the machine doing the build; thus your amd64 box would only produce
> the amd64 binary. Then, if you want to install the i386 binary as well,
> you'd take the package built by the i386 autobuilder, modify it on the
> fly (this is one of the proposed changes to dpkg), and install it
> alongside your amd64 package.
This is actually quite similar to what is happening in Gentoo, as it
does not make sense to make two versions of *every* package. Only the
principal libs (parts of glibc and gcc rts) plus compatibility libs (of
these actually only the ones that are dependencies of requested
packages) are produced "by default". Then user is free to mix and match
in a usual fashion, although most people just stick with defaults of
course :).

[skipping this part, as you rightly point out, most of these issues do
not apply in our case]
> - Gentoo users seem to like system administration :)
> - Gentoo package maintainers seem to like difficult problems :)
:).
Although many people claim that their system administration efforts
were reduced after switching to Gentoo :). Well, as usual, this is an
issue of how you think and what tools you like I guess..

> The proposal also hints at the LSB. I think it would be necessary to
> standardise the library paths across all distros. The current /usr/lib,
> /usr/lib32, and /usr/lib64 directories are not general enough. Consider
> that some HP processors can run i386, amd64, ia64, hppa *and* hppa64
> binaries on the same machine :) And what about Cell processors and
> other future asymmetric multiprocessors? What about binaries intended
> to run on GPUs or other coprocessors?
Definitely, this will have to be done. Unfortunately I do not see it
happening *just yet* - having seen how much it takes to organize
anything on a large scale :). However in 2-3 years and when we can
persuade LSB people that Linux/BSD/FOSS is not limited to Red Hat..
(admittedly they are getting better at that lately). But we can start
by having a discussion among Gentoo and Debian toolchain people (or
what gcc/glibc "subproject" is called in Debian?)

George

PS
Does anybody know of a public newsserver that would allow to post? I
would really like to do all my email/messaging from one place (a trusty
kontact :)), rather than having to browse to google groups just to post
the reply..




  reply	other threads:[~2006-05-18 16:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-17  9:22 Multi-arch Ludovic Brenta
2006-05-17  9:45 ` Multi-arch Georg Bauhaus
2006-05-17 20:31 ` Multi-arch gshapovalov
2006-05-18 11:39   ` Multi-arch Ludovic Brenta
2006-05-18 16:34     ` gshapovalov [this message]
2006-05-18 21:24 ` Multi-arch Björn Persson
2006-05-19  7:23   ` Multi-arch Ludovic Brenta
2006-05-19 21:16     ` Multi-arch Björn Persson
2006-05-20 11:18       ` Multi-arch Ludovic Brenta
2006-05-20 17:51         ` Multi-arch Björn Persson
2006-05-21 16:03   ` Multi-arch Dr. Adrian Wrigley
2006-05-21 13:05 ` Multi-arch Dr. Adrian Wrigley
2006-05-21 13:41   ` Multi-arch Ludovic Brenta
2006-05-21 16:07     ` Multi-arch Dr. Adrian Wrigley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox