Displaying 5 results from an estimated 5 matches for "binutils_incdir".
2016 Sep 16
2
(Thin)LTO llvm build
On Fri, Sep 16, 2016 at 2:54 PM, Carsten Mattner via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> On Fri, Sep 16, 2016 at 11:28 PM, Mehdi Amini <mehdi.amini at apple.com>
> wrote:
>
> > You probably missed -DLLVM_BINUTILS_INCDIR.
> >
> > See: http://llvm.org/docs/GoldPlugin.html
>
> plugin-api.h is in /usr/include, so I'd expect it to be found, but I
> can explicitly set BINUTILS_INCDIR and re-bootstrap with gcc 6.2.1.
>
> I have ld.gold, but I'm not sure if /usr/bin/ld uses it, though I&...
2016 Sep 16
6
(Thin)LTO llvm build
...rote:
>>
>> On Fri, Sep 16, 2016 at 2:54 PM, Carsten Mattner via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>>
>>> On Fri, Sep 16, 2016 at 11:28 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>>>
>>>> You probably missed -DLLVM_BINUTILS_INCDIR.
>>>>
>>>> See: http://llvm.org/docs/GoldPlugin.html
>>>
>>> plugin-api.h is in /usr/include, so I'd expect it to be found, but I
>>> can explicitly set BINUTILS_INCDIR and re-bootstrap with gcc 6.2.1.
>>>
>>> I have ld.gol...
2016 Sep 16
2
(Thin)LTO llvm build
...talled right?
> It seems that when you built the stage1 clang, it didn’t find Gold installed, and then didn’t build the plugin.
> So you need to go back to the first build (not the ThinLTO one, the one with the system compiler), and make sure that CMake finds gold.
You probably missed -DLLVM_BINUTILS_INCDIR.
See: http://llvm.org/docs/GoldPlugin.html
—
Mehdi
>
>
>>
>> I have two questions here:
>>
>> Is there anything I might have missed when configuring the gcc-built
>> llvm install for it to be incomplete in the linker department? I mean,
>> the syst...
2016 Sep 17
2
(Thin)LTO llvm build
...n at google.com>
> wrote:
>
>
> On Fri, Sep 16, 2016 at 2:54 PM, Carsten Mattner via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>
> On Fri, Sep 16, 2016 at 11:28 PM, Mehdi Amini <mehdi.amini at apple.com>
> wrote:
>
> You probably missed -DLLVM_BINUTILS_INCDIR.
>
> See: http://llvm.org/docs/GoldPlugin.html
>
>
> plugin-api.h is in /usr/include, so I'd expect it to be found, but I
> can explicitly set BINUTILS_INCDIR and re-bootstrap with gcc 6.2.1.
>
> I have ld.gold, but I'm not sure if /usr/bin/ld uses it, though I'd...
2011 Nov 16
1
[LLVMdev] Wrong path to libLTO.so in LLVMgold.so on Linux
The path to libLTO.so in LLVMgold.so points to the build
directory on my machine:
% ldd /usr/local/lib/LLVMgold.so
linux-vdso.so.1 (0x00007fff3d795000)
/var/tmp/build_llvm_clang/Release+Asserts/lib/libLTO.so => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1703983000)
...
I have configured clang with:
../llvm/configure --enable-optimized