Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Issues updating world on new install (gmp symptom)
Date: Mon, 07 Aug 2017 21:54:56
Message-Id: d636e319-ae69-b566-4af8-84908fe4428d@gmail.com
In Reply to: [gentoo-user] Issues updating world on new install (gmp symptom) by Jigme Datse Rasku
1 On 07/08/2017 23:47, Jigme Datse Rasku wrote:
2 > I have been working with trying to get a new system installed, and the
3 > first problem I run into is that it fails on the configure stage of gmp.
4 >
5
6 [snip]
7
8 > # emerge -pqv '=dev-libs/gmp-6.1.2::gentoo'
9 > [ebuild U ] dev-libs/gmp-6.1.2 [6.1.0] USE="asm cxx -doc -pgo
10 > -static-libs" ABI_X86="(64) -32 (-x32*)"
11
12 In the two attachments, the build log says it's a FLAGS/ABI error.
13 Your env file has this:
14 using ABI="64"
15 CC="x86_64-pc-linux-gnux32-gcc"
16 CFLAGS="-march=native -O2 -pipe"
17 CPPFLAGS=""
18 CXX="x86_64-pc-linux-gnux32-g++"
19 CXXFLAGS="-march=native -O2 -pipe"
20 MPN_PATH=" x86_64/k8 x86_64 generic"
21
22 emerge output above says ABI_X86="x32" is switched OFF.
23
24 You need to switch it on.
25 ABI_X86 config is covered in detail at wiki.gentoo.org.
26
27 --
28 Alan McKinnon
29 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Issues updating world on new install (gmp symptom) Jigme Datse Yli-RAsku <jigme.datse@×××××××××××××××.com>