Gentoo Archives: gentoo-alt

From: Michael Weiser <michael@×××××××××××××××.net>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Bootstrapping failed: llvm-c/lto.h file not found
Date: Mon, 04 Jul 2016 20:00:32
Message-Id: 20160704191340.GA11959@weiser.dinsnail.net
In Reply to: Re: [gentoo-alt] Bootstrapping failed: llvm-c/lto.h file not found by "Philip Lüscher"
1 Good news everyone! :)
2
3 On Sat, Jul 02, 2016 at 10:47:06AM +0200, Philip Lüscher wrote:
4
5 > i have tested your new builds and I was able to bootstrap when I mask
6 > net-misc/wget-1.18 and add "=app-arch/xar-1.6.1 **” to
7 > package.keywords later on.
8
9 I realised later on that I had forgotten to restore the xar dependency
10 to being conditional on LTO. I have updated ebuilds floating around
11 already.
12
13 Then I got caught up in updating to 7.3 and 7.3.1 where I found funny
14 other problems like otool being relinked upon install without
15 -Wl,-rpath, breaking LTO/LLVM support in the process. Im ironing out
16 some final details right now and will then update the bug with some
17 shiny new ebuilds.
18
19 Happy prefixing,
20 Micha
21
22 > > On 30 Jun 2016, at 23:35, Michael Weiser <michael@×××××××××××××××.net> wrote:
23 > >
24 > > Hi Philip,
25 > >
26 > > On Thu, Jun 30, 2016 at 07:23:12PM +0200, Michael Weiser wrote:
27 > >>> 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
28 > >>> ld/passes/bitcode_bundle.cpp:36:10: fatal error: 'llvm-c/lto.h' file not found
29 > >> I didn't
30 > >> consider bootstrapping when updating the binutils-apple package. I had
31 > >> dropped support for disabling LTO support because it can't be done
32 > >> completely without serious pains.
33 > >
34 > > You can now also try these updated ebuilds:
35 > > https://bugs.gentoo.org/show_bug.cgi?id=587622.
36 > > --
37 > > Thanks,
38 > > Michael
39 > >
40
41
42 --
43 tschoe, Micha
44 > A: Yes.
45 >> Q: Are you sure?
46 >>> A: Because it reverses the logical flow of conversation.
47 >>>> Q: Why is top posting frowned upon?