Gentoo Archives: gentoo-alt

From: Benda Xu <heroxbd@g.o>
To: gentoo-alt@l.g.o
Cc: "François Bissey" <francois.bissey@×××××××××××××.nz>
Subject: Re: [gentoo-alt] rap experiments
Date: Fri, 20 Jan 2017 05:52:49
Message-Id: 87poji6zx3.fsf@gentoo.org
In Reply to: [gentoo-alt] rap experiments by "François Bissey"
1 Hi François,
2
3 François Bissey <francois.bissey@×××××××××××××.nz> writes:
4
5 > I have been experimenting putting RAP on
6 > a fresh SLES11SP1 install on ppc64...
7
8 Is it SUSE 11.1? Is the closest community distribution OpenSUSE-11.1?
9
10 We have only tested on OpenSUSE-42.1[1]. It is nice to have another test
11 environment.
12
13 https://en.wikipedia.org/wiki/SUSE_Linux_distributions
14
15 > Yes it is not supported by default I realised
16 > pretty fast. After generating a profile that
17 > looked OK I moved on the various stages.
18
19 No problem, that means we have new things to play with :)
20
21 The profile is relatived to the gcc failure below. Could you please
22 show in detail the profile you created?
23
24 > My first real issue was building sed in stage 1.
25 > I had to compile xz and link to /usr/bin for
26 > the latest sed to unpack without error.
27 > There should probably be some dependency there
28 > since `xz` was merged a few minutes later.
29 >
30 > Similarly bison initially failed because I didn't
31 > have help2man installed on the host system.
32 >
33 > I had to keyword baselayout-prefix ~ppc64.
34 >
35 > But all those are quite minor overall,
36
37 Yeah. Let's upstream them for a better ppc64 support in the future.
38
39 > so I am now in stage 3 and gcc-5.4.0-r2 fails to build. It fails
40 > during its own "stage 2" with: build/genmatch --gimple
41 > /shared/work_no_backup/ppc64-prefix/tmp/var/tmp/portage/sys-devel/gcc-5.4.0-r2/work/gcc-5.4.0/gcc/match.pd
42 > \
43 > > tmp-gimple-match.c
44 > build/genmatch: /lib64/ld64.so.1: version `GLIBC_2.22' not found
45 > (required by build/genmatch)
46
47 The compiled elf does not have interpreter field prefixed. It should be
48
49 $EPREFIX/lib64/ld64.so.1 (gentoo glibc) instead of /lib64/ld64.so.1 (host glibc)
50
51 > make[3]: *** [s-match] Error 1
52
53 > so it didn't look for my RAP glibc are there
54 > any RAP specific patches that are applied to
55 > gcc?
56
57 The hack are in
58
59 https://gitweb.gentoo.org/repo/gentoo.git/tree/profiles/prefix/linux-standalone/profile.bashrc
60
61 esp. line 14.
62
63 Yours,
64 Benda
65
66 1. https://wiki.gentoo.org/wiki/Prefix/libc#Tested_distributions

Replies

Subject Author
Re: [gentoo-alt] rap experiments Francois Bissey <francois.bissey@×××××××××××××.nz>
Re: [gentoo-alt] rap experiments Francois Bissey <francois.bissey@×××××××××××××.nz>