Gentoo Archives: gentoo-user

From: "François-Xavier Carton" <fx.carton@×××××.fr>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Cannot emerge 32 bits version of gnome libraries
Date: Thu, 24 Dec 2020 14:25:43
Message-Id: X+Sk2gZTCeS5KUOV@reblochon
1 Hi,
2
3 I have build failures for various gnome libraries. The errors happen
4 when compiling the 32 bits versions, and seems to be due to "-m32" not
5 being used for the C compiler. The errors are either the linker
6 complaining about architecture mismatch, or glib static assertion errors
7 about pointer sizes.
8
9 I can see from the build log that the "-m32" option is missing. In
10 particular, in the prepare phase, I see the following:
11
12 C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 9.3.0 "x86_64-pc-linux-gnu-gcc (Gentoo 9.3.0-r1 p3) 9.3.0")
13 C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.34
14 C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ -m32 (gcc 9.3.0 "x86_64-pc-linux-gnu-g++ (Gentoo 9.3.0-r1 p3) 9.3.0")
15 C++ linker for the host machine: x86_64-pc-linux-gnu-g++ -m32 ld.bfd 2.34
16
17 So strangely it's present for C++ but not for C.
18
19 Also, I can emerge other non-gnome multilib packages just fine.
20
21 Has anyone encountered this before? Any tips for debugging that?
22
23 Thanks,
24 François-Xavier