Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] who is in charge of the gold plugin"
2010 Oct 05
3
[LLVMdev] problems configuring LLVM with gold plugin
When I build LLVM 2.6 after configuring it with the
--with-binutils-include option so it points to the gold plugin
src/include directory, I get the errors below. I used "cvs -z 9 -d
:pserver:anoncvs at sourceware.org:/cvs/src co src" to check out the
gold-plugin, as is documented on llvm.org.
--------------------------
make[2]: Entering directory
2011 Mar 22
2
[LLVMdev] gold plugin example
Hi all,
I got an error from the gold plugin example in the following link:
http://llvm.org/docs/GoldPlugin.html#example1
Here is the error message:
sangmin at sangmin-desktop:/tmp$ llvm-gcc -use-gold-plugin a.a b.o -o main
/usr/bin/ld: error: a.a: no archive symbol table (run ranlib)
/usr/bin/ld: /usr/lib/crt1.o:(.text+0x18): error: undefined reference to
'main'
/usr/bin/ld: b.o: in
2016 Jul 21
3
[llvm-toolchain v3.8.1] LTO: Linking clang hangs with ld.gold and LLVMgold.so plugin
Hi,
unfortunately, my build somehow hangs when linking clang binary and my
system is in an unusable state.
My toolchain is clang-3.8, gold-1.11 and LLVMgold.so from binutils
v2.26.1 (both selfmade) and LTO-flag is enabled.
My buildsystem uses cmake-3.6.0 and ninja-1.7.1 (both prebuilt).
I have 52 last steps left in my 3rd build.
My Linux-kernel is v3.13.0-92 from official Ubuntu repositories.
2010 Oct 05
1
[LLVMdev] questions about gold plugin
I am a bit confused by the documentation of the gold plugin
(http://llvm.org/docs/GoldPlugin.html). I want to use the gold plugin
on my Linux system so I can run "llvm-gcc -use-gold-plugin." In the
documentation it talks about building gold with plugin support (which
involves running "make gold-all") and building the LLVMgold plugin
(which involves configuring LLVM with
2011 Mar 22
0
[LLVMdev] gold plugin example
Hi,
I fixed error by using different version of ld with LLVM 2.7.
I used ld.gold that comes with Ubuntu 10.04.
Here is the version info:
sangmin at sangmin-desktop:/tmp$ ld -v
GNU gold (GNU Binutils for Ubuntu 2.20.1-system.20100303) 1.9
My experience of gold plugin is as follows:
LLVM 2.7 (with libLLVMgold.so) + ld 2.20.1 (from Ubuntu 10.04) : O
LLVM 2.7 (with libLLVMgold.so) + ld 2.21.51
2011 Jun 15
2
[LLVMdev] Difficulties in using gold plugin. ("ar" not working properly)
Dear all,
I'm trying to use the gold plugin to make it easier to generate LLVM bitcode
from complex applications. I did the steps mentioned on
"http://llvm.org/docs/GoldPlugin.html". Both linking and LLVM generation seem to
work properly, however when using the tool ar, the symbol table is lost. "no
archive symbol table (run ranlib)".
I'm using LLVM 2.9, Ubuntu 10.10,
2016 Jul 23
2
[llvm-toolchain v3.8.1] LTO: Linking clang hangs with ld.gold and LLVMgold.so plugin
How big is your project?
LTO eats RAM even faster than chrome. For example linking clang with LTO
could take 16GB of ram.
Have you tried using LTO on your project on that machine, or is it your
first time?
Piotr
On Sat, Jul 23, 2016 at 2:42 AM, Sedat Dilek via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> On Thu, Jul 21, 2016 at 12:01 PM, Sedat Dilek <sedat.dilek at
2011 Mar 22
2
[LLVMdev] gold plugin example
On 11-03-21 10:35 PM, Sangmin Park wrote:
> Hi,
>
> I fixed error by using different version of ld with LLVM 2.7.
> I used ld.gold that comes with Ubuntu 10.04.
> Here is the version info:
>
> sangmin at sangmin-desktop:/tmp$ ld -v
> GNU gold (GNU Binutils for Ubuntu 2.20.1-system.20100303) 1.9
>
> My experience of gold plugin is as follows:
>
> LLVM 2.7 (with
2016 Jul 23
3
[llvm-toolchain v3.8.1] LTO: Linking clang hangs with ld.gold and LLVMgold.so plugin
> On Jul 23, 2016, at 1:53 PM, Sedat Dilek via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
> On Sat, Jul 23, 2016 at 7:48 PM, Piotr Padlewski <prazek at google.com <mailto:prazek at google.com>> wrote:
>> How big is your project?
>> LTO eats RAM even faster than chrome. For example linking clang with LTO
>>
2011 Oct 22
2
[LLVMdev] Problems with llvm-gcc and gold plugin
Hi everyone,
I'm new to LLVM and I'm still trying to learn how to get everything up
and running. I'm trying to use llvm-gcc with the gold plugin and it
complains that it can't find LLVMgold.so. As a simple test case I
wrote a very basic C file:
--- main.c ---
int main () {
return 0;
}
------
and compiled it with:
$ llvm-gcc -use-gold-plugin main.c
llvm-gcc:
2011 Oct 25
0
[LLVMdev] Problems with llvm-gcc and gold plugin
On 10/22/2011 01:12 AM, Luis D. Pedrosa wrote:
> Hi everyone,
>
> I'm new to LLVM and I'm still trying to learn how to get everything up
> and running. I'm trying to use llvm-gcc with the gold plugin and it
> complains that it can't find LLVMgold.so. As a simple test case I
> wrote a very basic C file:
> --- main.c ---
> int main () {
> return
2015 Jun 22
2
[LLVMdev] Enabling the gold linker on freebsd
I have been trying to enable the gold linker on FreeBSD to use the link
time optimizations. I made gold from the binutils under /usr/ports. After
building binutils using make -k install clean i got ld under /usr/bin and
in the directory /usr/local/bin i got ld, ld.gold and ld.bfd.
Now while trying to use link time optimization for the simple example
programs
2010 Mar 11
3
[LLVMdev] gold plugin use
>
>> Yes, ar and nm actually take -plugin option and if I pass this option, then I don't get these errors. But, llvm-gcc doesn't automatically pass this option to ar.
>
>You probably just need to copy the gold plugin to
>$PREFIX/lib/bfd-plugins. Let me know if that works. If not I will
>check if there is a bug in the plugin search in binutils.
There is no problem in
2015 Jun 23
3
[LLVMdev] Enabling the gold linker on freebsd
the symlink ld is already pointing to /usr/bin/ld. Also -fuse-ld=gold does
not works on clang in freebsd. I am not sure where is the problem?should I
remove /usr/bin/ld and create a new symlink to /usr/local/bin/ld.gold?
Regards
Aditya Verma
Junior Undergraduate
IDD Computer Sc & Engg
IIT(BHU), Varanasi(UP)
On Mon, Jun 22, 2015 at 5:25 AM, Rafael Espíndola <
rafael.espindola at
2010 Aug 31
1
[LLVMdev] gold-plugin compilation error
Hi all,
I tried to build the LLVMgold plugin. Something weird happened. Here is
the error message:
gold-plugin.cpp:45: error: âld_plugin_set_extra_library_pathâ does not
name a type
gold-plugin.cpp: In function âld_plugin_status onload(ld_plugin_tv*)â:
gold-plugin.cpp:141: error: âLDPT_OUTPUT_NAMEâ was not declared in this
scope
gold-plugin.cpp:199: error: âLDPT_SET_EXTRA_LIBRARY_PATHâ was
2012 May 01
2
[LLVMdev] Gold plugin and LLVM tools documentation
Hi,
I've been following the instructions on how to use the LLVM Gold
plugin at http://llvm.org/docs/GoldPlugin.html while building an
multiple versions of WebKit. The documentation hasn't been updated
since 2010 and hasn't really matched my experiences, so I'd like to
ask if I'm doing these steps incorrectly. What I'm trying to do is
force all compilation steps to
2018 Mar 23
2
LLVM gold plugin do not add llvm instrinsics symbols to the linker symbol table
Dear community,
Recently I discovered that llvm gold linker plugin (LLVMgold.so) doesn't add llvm instrinsics symbols to the linker symbol table. I do not claim that something is necessary wrong, just want to share my observations with the community.
Brief summary
If I create a static library with a custom version of 'exp()' math function and link it as follows:
$
2009 Oct 05
4
[LLVMdev] getting gold plugin to work?
Attached is the start of a patch to make the gold plugin work on
Darwin for use as a cross-compiler. There needs to be a build step
somewhere in llvm-gcc that copies it into libexec/<gcc
poop>/libLLVMgold.so, but I've been doing that manually for now.
It doesn't seem that simple use of -O4 results in the plugin learning
what subtarget is desired. I presume that the llvm-gcc driver
2012 Aug 02
3
[LLVMdev] LLVM LTO
Hi,
I am trying to use LLVM LTO. I read http://llvm.org/docs/GoldPlugin.html and have some questions. Could anyone help?
1. Can LLVMgold.so work with BFD LD instead of gold? In the description of changes in binutils 2.20, "* The plugin target has been added to bfd. It can load the same shared objects
used by gold and uses them to provide basic support for new file formats.".
2016 Oct 02
3
(Thin)LTO llvm build
bfd linker 2.26 works fine with LLVMgold.so. As I mentioned in a previous
email, 2.26 ar and ranlib also works fine as long as LLVMgold.so is put in
a path binutils know about : $(bindir)/../lib/bfd-plugins/
David
On Sun, Oct 2, 2016 at 3:59 AM, Carsten Mattner <carstenmattner at gmail.com>
wrote:
> On Sun, Oct 2, 2016 at 6:52 AM, Teresa Johnson <tejohnson at google.com>
>