Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] TeXlive-core failed to build
Date: Mon, 13 Mar 2017 18:27:31
Message-Id: 9CD2080E-B7DD-4DF3-8FF5-8669D50E6A8D@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] Re: TeXlive-core failed to build by tuxic@posteo.de
1 > On 13 Mar 2017, at 16:27, tuxic@××××××.de wrote:
2 > On 03/13 08:06, Martin Vaeth wrote:
3 >> You appear to have experimental CFLAGS. Try without these.
4 >>
5 > Could you specify, what parts of that settings are experimental,
6 > so that I will remove the correct ones?
7
8 Your flags are:
9
10 CFLAGS=-march=native -O2 -pipe -ffast-math -fopenmp -fprefetch-loop-arrays -ftree-parallelize-loops=12 -funroll-all-loops -fwhole-program -mtune=amdfam10
11
12 Google each one of them, see what they do. There's probably a gcc manual that explains them.
13
14 "funroll-loops" has long been a joke about Gentoo ricing. https://fun.irq.dk/funroll-loops.org/
15
16 I would guess you'd take that out and -ftree-parallelize-loops for a start.
17
18 If you want to use the program, compile it with just `CFLAGS=-march=native -O2 -pipe` - I'm sure that will work. Then you can go back and see what options you can add without crashing the compile. These options often do not actually make things faster.
19
20 Stroller.

Replies

Subject Author
Re: [gentoo-user] TeXlive-core failed to build tuxic@××××××.de