Debian Developers - i386-uclibc debian

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > October 2006 > i386-uclibc debian





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author i386-uclibc debian
Alex King

2005-10-26, 2:50 am

How is the effort going
(http://lists.debian.org/debian-deve...9/msg01362.html)?

I am very interested in this project and have a little bit of time to
help out if needed.

Let me know what I can do.

Cheers,

Alex


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Nikita V. Youshchenko

2005-10-26, 2:50 am

Hello

> How is the effort going
> (http://lists.debian.org/debian-deve...9/msg01362.html)?


Pity I've read about this only now

Making support for such additional 'archs', targeting mainly uclibc archs,
is *the* direction where I was going to move with dpkg-cross and debian
cross-toolchain (I'm the current maintainer of those).

Unfortunatly, I have bad times regadring to free time last months...
But I'll be happy to see any needed support added to dpkg-cross and debian
cross-toolchain patches; I'll do my best to support any related effort.

Nikita

P.S.
Long-promised dpkg-cross upload is 85%-ready and in CVS, the only thing not
coded yet is additional provides-depends to avoid collisions between old
and new cross-compiling trees that I've explained in previous mails.


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Wartan Hachaturow

2005-10-26, 7:55 am

On 10/26/05, Nikita V. Youshchenko <yoush@cs.msu.su> wrote:

> Making support for such additional 'archs', targeting mainly uclibc archs=

,
> is *the* direction where I was going to move with dpkg-cross and debian
> cross-toolchain (I'm the current maintainer of those).


This is also a way we're currently moving in our version of embedded Debian=
..
We used to use a regular-dpkg-arch-depending-on-uclibc approach, but met lo=
ts
of problems with it, and got away to new dpkg architectures.

--
Regards, Wartan.
Bill Gatliff

2005-10-26, 7:55 am

Guys:


Regarding this:

http://lists.debian.org/debian-deve...9/msg01362.html

I would be very interested in mips and arm-el ports. I have dedicated
build hardware available for both. PLEASE let me know what else I can
do to help!

(I've tinkered with dpkg in the past, but I'm no guru. Hardly even a
noob, in fact).


Thanks!


b.g.

--
Bill Gatliff
bgat@billgatliff.com


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Daniel Ruoso

2005-10-26, 6:02 pm

Em Qua, 2005-10-26 ās 07:40 -0500, Bill Gatliff escreveu:
> I would be very interested in mips and arm-el ports. I have dedicated
> build hardware available for both. PLEASE let me know what else I can
> do to help!


Well I do think i386-uclibc will help another subarches, like arm-uclibc
armeb-uclibc, mips-uclibc and so on...

One thing I failed was building a toolchain for a subarch inside my own
system (without chrooting)... This would help everybody to get the base
+build-essential packages faster.

I'm just moving because I gave up on this and started using
gentoo-embedded as a start. If someone could solve this, it would be
really nice...

daniel


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Daniel Ruoso

2005-10-26, 6:02 pm

Em Qua, 2005-10-26 ās 11:31 +0400, Wartan Hachaturow escreveu:
> On 10/26/05, Nikita V. Youshchenko <yoush@cs.msu.su> wrote:
> This is also a way we're currently moving in our version of embedded Debian.
> We used to use a regular-dpkg-arch-depending-on-uclibc approach, but met lots
> of problems with it, and got away to new dpkg architectures.


Well,

This is exactly what i386-uclibc is all about...

I had a hard time building a toolchain inside debian for i386-uclibc, so
I gave up and now I'm using gentoo-embedded as a seed to this new arch.

Enerv is working on a move from gentoo stage1 to 3 again because they
choosed to make the architecture i386-gentoo-linux-uclibc instead of
i386-pc-linux-uclibc. But besides that problem, I made dpkg understands
the i386-uclibc architecture, in a not-so-good way... but it seems to
work (only with dpkg 1.13).

BTW, this is what I have now inside my gentoo-embedded chroot...

kariri:~# dpkg --print-architecture
i386-uclibc
kariri:~# dpkg --print-installation-architecture
i386-uclibc
kariri:~# dpkg-architecture
DEB_BUILD_ARCH=i386-uclibc
DEB_BUILD_ARCH_OS=linux-uclibc
DEB_BUILD_ARCH_CPU=i386
DEB_BUILD_GNU_CPU=i486
DEB_BUILD_GNU_SYSTEM=linux-uclibc
DEB_BUILD_GNU_TYPE=i486-linux-uclibc
DEB_HOST_ARCH=i386-uclibc
DEB_HOST_ARCH_OS=linux-uclibc
DEB_HOST_ARCH_CPU=i386
DEB_HOST_GNU_CPU=i486
DEB_HOST_GNU_SYSTEM=linux-uclibc
DEB_HOST_GNU_TYPE=i486-linux-uclibc


I needed to patch dpkg in some ways (including configure) to support
sub-arches. It's working, but I really would like to see a better
solution.

What I made was... If it's a linux-uclibc os, sticks to $cpu-uclibc...

I'm now working on discovering the best order to build the 87 needed
source packages to get a base+buildessential set for debootstrap.

Follows the patches I made on dpkg...

--- configure.ori 2005-10-26 01:10:45 +0000
+++ configure 2005-10-26 01:11:13 +0000
@@ -1550,8 +1550,10 @@
echo $ECHO_N "checking dpkg architecture name... $ECHO_C" >&6
if test "x$os_type" = "xlinux"; then
dpkg_arch=$cpu_type
+elif test "x$os_type" = "xlinux-uclibc"; then
+ dpkg_arch="$cpu_type-uclibc"
else
- dpkg_arch="$os_type-$cpu_type"
+ dpkg_arch="$os_type-$cpu_type"
fi
echo "$as_me:$LINENO: result: $dpkg_arch" >&5
echo "${ECHO_T}$dpkg_arch" >&6

--- cputable.ori 2005-10-26 01:10:54 +0000
+++ cputable 2005-10-26 01:11:20 +0000
@@ -13,6 +13,7 @@
# CPU part of the output of the GNU config.guess script.
#
# <Debian name> <GNU name> <config.guess regex>
+i386-uclibc i386 (i[3456]86|pentium)-.*linux-uclibc
i386 i486 (i[3456]86|pentium)
ia64 ia64 ia64
alpha alpha alpha.*

--- ostable.ori 2005-10-26 01:10:50 +0000
+++ ostable 2005-10-26 01:11:17 +0000
@@ -13,6 +13,7 @@
# system part of the output of the GNU config.guess script.
#
# <Debian name> <GNU name> <config.guess regex>
+linux-uclibc linux-uclibc linux-uclibc
linux linux-gnu linux[^-]*(-gnu.*)?
darwin darwin darwin[^-]*
freebsd freebsd freebsd[^-]*

@@ -81,7 +81,9 @@
sub split_debian {
local ($_) = @_;

- if (/^([^-]*)-(.*)/) {
+ if (/^(.*)-uclibc$/) {
+ return ("linux-uclibc", $1)
+ } elsif (/^([^-]*)-(.*)/) {
return ($1, $2);
} else {
return ("linux", $_);
@@ -126,6 +128,8 @@
return undef if !defined($cpu) || !defined($os);
if ($os eq "linux") {
return $cpu;
+ } elsif ($os eq "linux-uclibc") {
+ return "$cpu-uclibc";
} else {
return "$os-$cpu";
}
@@ -140,6 +144,8 @@
foreach $cpu (@cpu) {
if ($os eq "linux") {
print "$cpu\n"
+ } elsif ($os eq "linux-uclibc") {
+ print "$cpu-uclibc\n"
} else {
print "$os-$cpu\n";
}




--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Daniel Ruoso

2005-10-26, 6:02 pm

Em Qua, 2005-10-26 ās 16:43 +1300, Alex King escreveu:
> How is the effort going
> (http://lists.debian.org/debian-deve...9/msg01362.html)?


Please see the other posts I made in this thread for more info. I just
wanted to point that I'm almost all the time (when working on this) on
#debian-devel #gentoo-embedded and #uclibc and making regular questions
in these channels ;). look for ruoso and you'll find me.

daniel


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Nikita V. Youshchenko

2005-10-26, 6:03 pm

> I'm now working on discovering the best order to build the 87 needed
> source packages to get a base+buildessential set for debootstrap.


I believe this should be done on normal debian host, using dpkg-cross's
'dpkg-buildpackage -a'. As of it's current state, it won't work. But it
could be made to .

To make it work, at least following is needed:
- dpkg-architecture should know about the arch (as far as I understood, you
have a version that does?)
- there are some arch tables in dpkg-cross tools (probably some of them
should be killed, in flavour of a howto about adding new archs to
dpkg-architecture); i386-uclibc should be added there;
- i386-linux-uclibc-{gcc,ld,as,...} should be availbale
- dpkg-cross'ed build depends should be installed
- maybe start with something that does not have other build-deps than
libc, which should be satisfied by uclibc
- can debian uclibc packages be just dpkg-cross'ed? or a hand-made
libuclibc{0,dev}-i386-uclibc-cross is needed?

Probably these thoughts are incomplete...

Nikita


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Alex de Oliveira Silva

2005-11-18, 2:49 am

Subscribe to i386-uclibc and join #debian-i386-uclibc channel. The
uclibc-pc-linux-uclibc and binutils-pc-linux-uclibc are already done. Now we
are working on gcc-pc-linux-uclibc package.

https://alioth.debian.org/projects/i386-uclibc/

>Guys:
>
>
>Regarding this:
>
>http://lists.debian.org/debian-deve...9/msg01362.html
>
>I would be very interested in mips and arm-el ports. I have dedicated build
>hardware available for both. PLEASE let me know what else I can do to help!
>
>(I've tinkered with dpkg in the past, but I'm no guru. Hardly even a noob, in

fact).
>
>
>Thanks!
>
>
>b.g.
>
>--
>Bill Gatliff
>bgat@billgatliff.com



"enerv" / Alex de Oliveira Silva



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Ralf Buhlrich

2006-10-29, 7:23 pm

Hi List

Have a look at http://buildroot.org

Best Regards


Ralf Buhlrich


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com