Gentoo Archives: gentoo-alt

From: Philip <philip.luescher@×××.net>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Bootstrapping failed: llvm-c/lto.h file not found
Date: Sun, 26 Jun 2016 15:01:01
Message-Id: 8D6CB632-9DAA-4ECF-8A5B-15E9B9192546@gmx.net
1 Hi,
2
3 I have a problem with bootstrapping on OS X 10.11.5 with Command Line Tools 7.3.1.
4 bootstrap-prefix.sh fails during the stage 2 when it tries to emerge sys-devel/binutils-apple-7.2:
5
6 clang++ -m64 -march=native -O2 -pipe -Wno-invalid-offsetof -std=c++0x -stdlib=libc++ -I/gentoo/tmp/usr/include -DNDEBUG -DSUPPORT_SNAPSHOTS -Iinclude -Iabstraction -Ild -Ild/parsers -Iother -I. -c -o ld/ld.o ld/ld.cpp
7 clang++ -m64 -march=native -O2 -pipe -Wno-invalid-offsetof -std=c++0x -stdlib=libc++ -I/gentoo/tmp/usr/include -DNDEBUG -DSUPPORT_SNAPSHOTS -Iinclude -Iabstraction -Ild -Ild/parsers -Iother -I. -c -o ld/passes/bitcode_bundle.o ld/passes/bitcode_bundle.cpp
8 ld/passes/bitcode_bundle.cpp:36:10: fatal error: 'llvm-c/lto.h' file not found
9 #include "llvm-c/lto.h"
10 ^
11 1 error generated.
12 make: *** [ld/passes/bitcode_bundle.o] Error 1
13 make: *** Waiting for unfinished jobs....
14 * ERROR: sys-devel/binutils-apple-7.2::gentoo_prefix failed (compile phase):
15
16 Any idea what I am doing wrong?
17
18 Thanks, Philip

Replies

Subject Author
Re: [gentoo-alt] Bootstrapping failed: llvm-c/lto.h file not found Michael Weiser <michael@×××××××××××××××.net>