1 |
В Tue, 9 Dec 2014 17:21:22 +0100 |
2 |
Michał Górny <mgorny@g.o> пишет: |
3 |
|
4 |
> Dnia 2014-12-08, o godz. 09:56:11 |
5 |
> Alexis Ballier <aballier@g.o> napisał(a): |
6 |
> |
7 |
> > On Sun, 7 Dec 2014 11:37:57 +0100 |
8 |
> > Michał Górny <mgorny@g.o> wrote: |
9 |
> > |
10 |
> > > 1. No cross-compilation support. If the project proves being a success |
11 |
> > > it will be readded at some point. However, I will likely fork glibc |
12 |
> > > first and work on a sane crossdev alternative. |
13 |
> > |
14 |
> > Could you please elaborate on this ? |
15 |
> > How and why this broke, what is wrong in glibc, what would be a "sane |
16 |
> > crossdev alternative" and how crossdev is not. |
17 |
> |
18 |
> 1. eblits are broken in glibc. Another case of incorrect interpretation |
19 |
> of code sharing with love for breaking stable ebuilds. Plus I'd love to |
20 |
> add multilib flags to it but we'll likely doing that to main glibc as |
21 |
> well soon, if eblits don't get into our way. |
22 |
|
23 |
Yeah. Stable glibc ebuild gets broken from time to time after changes |
24 |
in eblits. |
25 |
|
26 |
> |
27 |
> 2. crossdev is broken because it creates semi-random, unmaintained |
28 |
> ebuilds in randomly chosen overlay, those ebuilds relying on |
29 |
> toolchain.eclass behavior. |
30 |
> |
31 |
> 3. I don't have any real alternative design yet. However, one |
32 |
> of the first ideas of changing crossdev is to replace copying ebuilds |
33 |
> with symlinking gcc ebuild directory. This will at least ensure proper |
34 |
> sync between real ebuilds and cross-ebuilds. |
35 |
> |
36 |
|
37 |
crossdev already works that way for a long time (see -oO option in |
38 |
help): |
39 |
|
40 |
$ ls -l /var/cache/portage/repos/crossdev/cross-armv6j-hardfloat-linux-gnueabi/ |
41 |
total 0 |
42 |
lrwxrwxrwx 1 portage portage 42 Oct 23 22:24 binutils -> /var/cache/portage/tree/sys-devel/binutils |
43 |
lrwxrwxrwx 1 portage portage 37 Oct 23 22:24 gcc -> /var/cache/portage/tree/sys-devel/gcc |
44 |
lrwxrwxrwx 1 portage portage 37 Oct 23 22:24 gdb -> /var/cache/portage/tree/sys-devel/gdb |
45 |
lrwxrwxrwx 1 portage portage 38 Oct 23 22:24 glibc -> /var/cache/portage/tree/sys-libs/glibc |
46 |
lrwxrwxrwx 1 portage portage 48 Oct 23 22:24 linux-headers -> /var/cache/portage/tree/sys-kernel/linux-headers |
47 |
|
48 |
-- |
49 |
Alexander Tsoy |