similar to: [LLVMdev] Problem compiling with clang + gold plugin: no archive symbol table

Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] Problem compiling with clang + gold plugin: no archive symbol table"

2012 Jun 28
0
[LLVMdev] Problem compiling with clang + gold plugin: no archive symbol table
> Does anyone have some clue on what's going on ? You don't need to pass command line options to ar and nm if the plugin is installed in the correct directories. A guess is that the build system is running ranlib on the .a files and that is destroying the index created by nm. If you put the plugins in the bfd-plugins directory nm, ar and ranlib will use them. > Thanks very much!
2012 Jun 28
2
[LLVMdev] Problem compiling with clang + gold plugin: no archive symbol table
Thanks for replying! I didn't install the new binutils to system directory in case it messes thing up. For ranlib, from the error message, it seems to be the reason. But even I export RANLIB=/bin/true, clean the code and rebuild, it still fails with the same message. I created a symlink in /usr/lib/bfd-plugins as suggested in http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-March/030101.html.
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
2005 Jul 05
0
Problem installing RMySQL_0.5-5
Dear R users I have a problem installing RMySQL_0.5-5 in that ld skips incompatible libmysqlclient as shown below. Can someone help? Thanks Einar Arnason I am on a Red Hat Enterprise Linux ES (v. 3 for AMD64/Intel EM64T) 2.4.21-15.EL #1 SMP Thu Apr 22 running mysql Ver 14.7 Distrib 4.1.12, for pc-linux-gnu (i686) using EditLine wrapper distributed under xampp (www.apachefriends.org)
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,
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
2012 May 01
0
[LLVMdev] Gold plugin and LLVM tools documentation
> First, I create libjscore.a with ar, where I've changed the command > line to load the plugin: > ar cqs --plugin > /home/tmjackso/multicompiler/llvm-3.0/release/lib/LLVMgold.so > libjscore.a <list of object files> Note that you shouldn't need to pass --plugin to ar, it searches bfd-plugins. > Then I link jsc against libjscore.a: >
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> >
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
2016 Sep 20
4
(Thin)LTO llvm build
The configuration we’re mentioning is a 2-stage bootstrap: You need first to build without LTO your own clang, and then use it for the LTO build. — Mehid > On Sep 20, 2016, at 10:17 AM, Michael Kruse <llvmdev at meinersbur.de> wrote: > > I am the author of Polly's/ISL's platform tests and could reproduce > the problem on my system with this error message: > >
2011 Mar 22
0
[LLVMdev] gold plugin example
On Tue, Mar 22, 2011 at 9:19 AM, Rafael Avila de Espindola < rafael.espindola at gmail.com> wrote: > 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
2007 Mar 20
1
RMySQL load error
I'm having trouble getting RMySQL to load. I was able to build it and install it (RMySQL_0.5-11.tar.gz). I was also able to build and install mysql-5.0.37. I've read many postings about this but have not found a mention of my particular problem (some closely related). I get the "unable to load shared library, no such file" error, but all the files do exist, RMySQL.so and
2011 Jun 15
0
[LLVMdev] Difficulties in using gold plugin. ("ar" not working properly)
On 11-06-15 09:03 AM, Istvan Haller wrote: > 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
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
2016 Oct 04
4
(Thin)LTO llvm build
On Mon, Oct 3, 2016 at 10:54 PM, Teresa Johnson <tejohnson at google.com> wrote: > > Aha - finally reproduced! The difference is using ld.bfd not > ld.gold. With that I get the same failure (using 3.9 to build 3.9 > sources): Thanks a lot! [...] > I am not sure what the official support story is for LLVMgold.so and > ld.bfd. As mentioned earlier, the LLVM site indicates
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:
2012 May 24
2
[LLVMdev] LTO for smaller memory footprint for Clang
Hi all, I was trying to use LTO facility of LLVM to reduce the footprint of Clang itself. I build the ld-gold  and LLVMgold.so as described at [1] and then set the environment as described too. However, had to add the path for plugin manually as Clang was not able pass it to ld automatically. Following is the setting I used before starting to build (small foot Clang. CXX=clang++ -flto
2016 Sep 27
2
(Thin)LTO llvm build
On Tue, Sep 27, 2016 at 11:17 PM, Teresa Johnson <tejohnson at google.com> wrote: > Sure, I will try this and let you know. Unfortunately, though, I > have another big work commitment that is going to eat up most of my > time through Thu, although I may be able to find some time to try > it. No worries, if I get around it before you do, I will :). > I think so - what is
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.