1 |
Steven Trogdon <strogdon@×××××.edu> writes: |
2 |
|
3 |
> My build system has changed since I initially tested RAP. The OS has been |
4 |
> "upgraded" and I now have to deal with Debian 7 and multiarch! I do have a |
5 |
> native glibc installed on Debian 7 that uses |
6 |
> |
7 |
> https://github.com/redlizard/gentoo-prefix-libc |
8 |
> |
9 |
> with numerous nasty patches that works around the passwd/group issue (your |
10 |
> approach is much more comprehensive). |
11 |
|
12 |
We are going to merge the two repos together, just a matter of time. |
13 |
|
14 |
> But that prefix injects rpath/runpath variables into runtime libraries |
15 |
> and your patched glibc fails the preinst phase with |
16 |
> |
17 |
> Inconsistency detected by ld.so: get-dynamic-info.h: 133: elf_get_dynamic_info: |
18 |
> Assertion `info[29] == ((void *)0)' failed! |
19 |
> |
20 |
> because rpath/runpath are also injected into ld.so. I presume a proper RAP |
21 |
> install (which I don't have) will not have this issue. To that end I |
22 |
> have tried |
23 |
|
24 |
What gcc/binutils are you using when compiling glibc? If they are from a |
25 |
Prefix-rpath installation, you need to do it manually, |
26 |
|
27 |
ln -sf $BPREFIX/usr/$(portageq envvar CHOST)/{binutils-bin/2.23,bin}/ld |
28 |
|
29 |
as documented in https://wiki.gentoo.org/wiki/Prefix/libc#sys-libs.2Fglibc |
30 |
|
31 |
> [1.] |
32 |
> http://dev.gentoo.org/~heroxbd/bootstrap-rap.sh |
33 |
> |
34 |
> and mpc-1.0.1 fails to find gmp.h |
35 |
> |
36 |
> checking for gmp.h... no |
37 |
> configure: error: gmp.h cannot be found or is unusable. |
38 |
> |
39 |
> At this point gmp.h is present in $EPREFIX/usr/include. |
40 |
|
41 |
So you go all the way to mpc and mpfr builds without a problem? |
42 |
|
43 |
> This same mpc does build in my Debian prefix with native glibc. |
44 |
|
45 |
What's "Debian prefix with native glibc"? Do you mean that it can be |
46 |
built against the host Debian? |
47 |
|
48 |
> I have also tried |
49 |
> |
50 |
> [2.] |
51 |
> https://github.com/redlizard/prefix-libc/blob/master/scripts/bootstrap-prefix.sh |
52 |
> |
53 |
> but after installing prefix-portage-2.2.01.22124 I get |
54 |
|
55 |
This is quite old, not sure what happended. Ruud, could you comment on |
56 |
this? |
57 |
|
58 |
> * ready to bootstrap stage3 |
59 |
> !!! Invalid PORTDIR_OVERLAY (not a dir):'/storage/gentoo-glibc/tmp/usr/local/portage' |
60 |
> !!! Invalid PORTDIR_OVERLAY (not a dir):'/storage/gentoo-glibc/tmp/usr/local/portage' |
61 |
> !!! Invalid host triple , giving up. |
62 |
> !!! Invalid PORTDIR_OVERLAY (not a dir):'/storage/gentoo-glibc/usr/local/portage' |
63 |
> !!! Invalid PORTDIR_OVERLAY (not a dir):'/storage/gentoo-glibc/tmp/usr/local/portage' |
64 |
> !!! Invalid PORTDIR_OVERLAY (not a dir):'/storage/gentoo-glibc/usr/local/portage' |
65 |
> !!! Invalid PORTDIR_OVERLAY (not a dir):'/storage/gentoo-glibc/tmp/usr/local/portage' |
66 |
> |
67 |
> and the directories have not been created. |