Gentoo Archives: gentoo-dev

From: Sergei Trofimovich <slyfox@g.o>
To: James Le Cuirot <chewi@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: We only support little-endian Alpha
Date: Sat, 01 Jul 2017 11:52:45
Message-Id: 20170701125233.1a95a6fa@sf
In Reply to: [gentoo-dev] [PATCH] toolchain-funcs.eclass: We only support little-endian Alpha by James Le Cuirot
1 On Sat, 1 Jul 2017 09:55:29 +0100
2 James Le Cuirot <chewi@g.o> wrote:
3
4 > Funny that no one noticed this for 10 years. :) Thanks to klausman for
5 > clearing this up.
6 > ---
7 > eclass/toolchain-funcs.eclass | 2 +-
8 > 1 file changed, 1 insertion(+), 1 deletion(-)
9 >
10 > diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
11 > index 121db46e62b5..777fce905f3e 100644
12 > --- a/eclass/toolchain-funcs.eclass
13 > +++ b/eclass/toolchain-funcs.eclass
14 > @@ -572,7 +572,7 @@ tc-endian() {
15 > case ${host} in
16 > aarch64*be) echo big;;
17 > aarch64) echo little;;
18 > - alpha*) echo big;;
19 > + alpha*) echo little;;
20 > arm*b*) echo big;;
21 > arm*) echo little;;
22 > cris*) echo little;;
23 > --
24 > 2.13.1
25 >
26 >
27 Looks good.
28
29 $ alpha-unknown-linux-gnu-gcc -dM -E - </dev/null | grep __BYTE_ORDER__
30 #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
31
32 [for both physical host and a crosscompiled generated by crossdev]
33
34 --
35
36 Sergei