search for: ranlib

Displaying 20 results from an estimated 890 matches for "ranlib".

2012 Jan 01
1
Compiling 64-bit libFLAC/libFLAC++ on OS X Lion, anyone successful?
...ing trouble debugging the issue. Basically, in the root folder of the FLAC bundle, even if I use the flags specifying 64-bit like so: CC="gcc -m64" CXX="g++ -m64" ./configure make still fails with the following output: [...lots of output with seemingly no errors...] /usr/bin/ranlib: archive member: .libs/libFLAC.a(bitreader_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match) /usr/bin/ranlib: archive member: .libs/libFLAC.a(cpu_asm.o) cputype (7) does not match previous archive members cputype (16777223) (all members must matc...
2019 Apr 23
2
configure script issue with -flto with recent gcc and system ar/ranlib
Hi, there can be an issue with recent gcc where the system-installed "ar" and "ranlib" commands cannot handle LTO binaries. On compilation, this manifests itself with error messages claiming that they need extra plugins. This can be fixed by using the command line $ AR=gcc-ar RANLIB=gcc-ranlib ./configure --enable-lto so it is not a big issue, but it would still be nicer if...
2010 Mar 10
4
[LLVMdev] glod plugin use
...mysql, apache etc. When I compile using llvm-gcc, everything works fine. But, when I followed the instructions on http://llvm.org/docs/GoldPlugin.html#build to use gold plugin, I got errors like: /home/vadve/ssahoo2/local/bin/ld: error: modules/standard/libstandard.a: no archive symbol table (run ranlib) /home/vadve/ssahoo2/local/bin/ld: error: modules/extra/libextra.a: no archive symbol table (run ranlib) /home/vadve/ssahoo2/local/bin/ld: error: main/libmain.a: no archive symbol table (run ranlib) .... I tried ranlib/llvm-ranlib, but it didn't work. Can someone help me, if I am doing anythin...
2005 May 25
5
[LLVMdev] LLVM Cygwin Run Errors
...source in cygwin successfully using GCC3.4.3 and binutils2.15 (as in makefiles do not complain errors except some warnings). However when I do this, there are some errors like, *************************************************************** u0201201 at 9nnvf2ay /home/cfrontend/install/lib $ llvm-ranlib libiberty.a llvm-ranlib: Error opening archive file: libiberty.a **************************************************************** This happens to llvm-ranlib libiberty.a, llvm-ranlib libstdc++.a, llvm-ranlib libsupc++.a too. May I know what is the cause and how to solve it? (I saw a post similar t...
2004 Nov 14
2
[LLVMdev] IMPORTANT: llvm-ar requirements
...an LLVM symbol table in them. This happens automatically for the crtend.a library, but not for the runtime libraries produced by the C/C++ Front End. In order to get your programs to link again, you *must* do the following *after* rebuilding with the latest CVS sources: cd $CFEINSTALL cd lib llvm-ranlib libiberty.a llvm-ranlib libstdc++.a llvm-ranlib libsupc++.a llvm-ranlib gcc/*/*/libgcc.a llvm-ranlib gcc/*/*/libgcov.a This will ensure that the archives built by CFE will have LLVM style bytecode symbol tables in them. Reid. -------------- next part -------------- A non-text attachment was scrub...
2010 Mar 11
0
[LLVMdev] glod plugin use
...pache etc. When I compile using llvm-gcc, everything works fine. But, when I followed the instructions on http://llvm.org/docs/GoldPlugin.html#build to use gold plugin, I got errors like: > > /home/vadve/ssahoo2/local/bin/ld: error: modules/standard/libstandard.a: no archive symbol table (run ranlib) > /home/vadve/ssahoo2/local/bin/ld: error: modules/extra/libextra.a: no archive symbol table (run ranlib) > /home/vadve/ssahoo2/local/bin/ld: error: main/libmain.a: no archive symbol table (run ranlib) > .... > > I tried ranlib/llvm-ranlib, but it didn't work. Can someone help m...
2019 Apr 25
1
configure script issue with -flto with recent gcc and system ar/ranlib
Hi Tomas, > On 4/23/19 2:59 PM, Thomas K?nig wrote: >> Hi, >> >> there can be an issue with recent gcc where the system-installed "ar" >> and "ranlib" commands cannot handle LTO binaries.? On compilation, this >> manifests itself with error messages claiming that they need extra >> plugins. > Thanks for the report. What was the version of binutils on the system > with this problem? On my Ubuntu 18.04 I can use the binuti...
2018 Mar 21
0
LTO, llvm-(nm, ar, ranlib)
Hello, gcc-ar/gcc-nm/gcc-ranlib compared to ar/nm/ranlib provide an implicit --plugin argument, so that the former can work with LTO objects, even when the gcc-lto plugin is not in ${libdir}/bfd-plugins. Do llvm-ar, llvm-ranlib and llvm-nm also imply a --plugin argument, compared to ar/ranlib/nm concerning LTO? Also https://llv...
2012 Sep 26
3
[LLVMdev] CLang/LLVM SVN for today no longer works on OS X 10.7.4
Ran into this today -- rebuilt the SVN Trunk for this morning of LLVM+CLANG. Now every time my builds try and make a library from .o files, ranlib complains about 'malformed object' files. This is with OS X 10.7.4, and the binary tools from XCode 4.4.1 ld -v @(#)PROGRAM:ld PROJECT:ld64-127.2 llvm version 3.0svn, from Apple Clang 3.0 (build 211.12) ranlib doesn't tell you what version it is
2019 Apr 25
0
configure script issue with -flto with recent gcc and system ar/ranlib
On 4/23/19 2:59 PM, Thomas K?nig wrote: > Hi, > > there can be an issue with recent gcc where the system-installed "ar" > and "ranlib" commands cannot handle LTO binaries.? On compilation, this > manifests itself with error messages claiming that they need extra > plugins. > > This can be fixed by using the command line > > $ AR=gcc-ar RANLIB=gcc-ranlib ./configure --enable-lto > > so it is not a big...
2005 May 19
0
[LLVMdev] [Cygwin] llvm-ranlib and 'make check' errors
>Okay, that file checks out just fine using llvm-ranlib and llvm-ar on >Linux, so the file is not the problem, llvm-ranlib on cygwin is. I don't >know what the issue could be. If you feel like gdbing llvm-ranlib while >it tries to process that file and get some info on why it can't read the >file, that would be useful. This isn't...
2012 Sep 26
0
[LLVMdev] CLang/LLVM SVN for today no longer works on OS X 10.7.4
Hi Kent, My guess is you are getting some new bit of info in your object files and your ranlib(1) is older and doesn't know about it. If you can send me the .o file or the output of otool(1) with the -hlv options on your object file I can take a look. Kev P.S. you can find out the version of ranlib(1) you have by running strings(1) on it and grep(1)'ing for the string "cctool...
2005 May 19
3
[LLVMdev] [Cygwin] llvm 'make install' build errors
Am back to the same llvm 'make install' errors as I had before :- Two trivial ones, of uncreated directories :- llvm[2]: Installing Debug /usr/llvm/bin/llvm-ranlib /usr/bin/install: target `/usr/llvm/bin/llvm-ranlib' is not a directory make[2]: *** [/usr/llvm/bin/llvm-ranlib] Error 1 make[2]: Leaving directory `/usr/build/llvm/tools/llvm-ranlib' make[1]: *** [llvm-ranlib/.makeinstall] Error 2 make[1]: Leaving directory `/usr/build/llvm/tools' make...
2004 Nov 15
0
[LLVMdev] IMPORTANT: llvm-ar requirements
...ens > automatically for the crtend.a library, but not for the runtime > libraries produced by the C/C++ Front End. In order to get your programs > to link again, you *must* do the following *after* rebuilding with the > latest CVS sources: > > cd $CFEINSTALL > cd lib > llvm-ranlib libiberty.a > llvm-ranlib libstdc++.a > llvm-ranlib libsupc++.a > llvm-ranlib gcc/*/*/libgcc.a > llvm-ranlib gcc/*/*/libgcov.a > > This will ensure that the archives built by CFE will have LLVM style > bytecode symbol tables in them. > > Reid. > > _______________...
2011 Aug 09
2
[LLVMdev] llvm-gcc with static libraries
Hello, While linking programs against static libraries built using llvm-ar and llvm-ranlib, I see an error message: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status Using either /usr/bin/nm or llvm-nm (depending on the use of --emit-llvm flag to llvm-gcc), one of them is able to list the symbols in the archive file. However, the lin...
2005 May 25
0
[LLVMdev] LLVM Cygwin Run Errors
...ing GCC3.4.3 and binutils2.15 (as in makefiles do not > complain errors except some warnings). > > However when I do this, there are some errors like, > > *************************************************************** > u0201201 at 9nnvf2ay /home/cfrontend/install/lib > $ llvm-ranlib libiberty.a > llvm-ranlib: Error opening archive file: libiberty.a > > **************************************************************** > This happens to llvm-ranlib libiberty.a, llvm-ranlib libstdc++.a, > llvm-ranlib libsupc++.a too. May I know what is the cause and how to > solv...
2013 Feb 09
1
OSX rpcgen problem
Trying to build the virtualbox-4.2 branch from git://pipo.sk/pipo/libvirt.git under OSX 10.7, I get the following build error: ... CC timegm.lo CC vasnprintf.lo CCLD libgnu.la /usr/bin/ranlib: file: .libs/libgnu.a(fd-hook.o) has no symbols /usr/bin/ranlib: file: .libs/libgnu.a(threadlib.o) has no symbols ranlib: file: .libs/libgnu.a(fd-hook.o) has no symbols ranlib: file: .libs/libgnu.a(threadlib.o) has no symbols GEN charset.alias GEN ref-add.sed GEN ref-del.sed Ma...
2009 Oct 18
3
[LLVMdev] strace for whole-program bitcodes
...hole-program bc file. When we want to build a whole-program bc file by a general solution(I meant that we can use such a method for all kinds of build system),we need not only a gold-plugin to do what llvm-ld does,but also some mechanisms,not a simple trick to modify the env variables,to run ar,ld,ranlib's llvm-counterparts when building. A wrapper which can wraps cc1,ld,ar,ranlib may archieve it.. Nan
2005 May 19
2
[LLVMdev] Building LLVM cfrontend
...as checking for i686-pc-cygwin-dlltool... no checking for dlltool... (cached) dlltool checking for i686-pc-cygwin-ld... (cached) c:/mingw/bin/../lib/gcc-lib/mingw32/3 .2.3/../../../../mingw32/bin/ld.exe checking for i686-pc-cygwin-nm... no checking for nm... (cached) nm checking for i686-pc-cygwin-ranlib... no checking for ranlib... (cached) ranlib checking for i686-pc-cygwin-windres... no checking for windres... (cached) windres checking for i686-pc-cygwin-objcopy... no checking for objcopy... (cached) objcopy checking for i686-pc-cygwin-objdump... no checking for objdump... (cached) objdump check...
2010 Mar 15
1
host cross-compile patch
...c + gcc_ok = $(shell tmpf=gcc_ok.$$$$.tmp; \ if $(CC) $(GCCOPT) $(1) -c $(topdir)/dummy.c \ -o $$tmpf 2>/dev/null ; \ then echo '$(1)'; else echo '$(2)'; fi; \ rm -f $$tmpf) -LD = ld -OBJDUMP = objdump -OBJCOPY = objcopy -AR = ar -NM = nm -RANLIB = ranlib +LD = $(CROSS_COMPILE)ld +OBJDUMP = $(CROSS_COMPILE)objdump +OBJCOPY = $(CROSS_COMPILE)objcopy +AR = $(CROSS_COMPILE)ar +NM = $(CROSS_COMPILE)nm +RANLIB = $(CROSS_COMPILE)ranlib GZIPPROG = gzip PNGTOPNM = pngtopnm MCOPY = mcopy -------------- next part ------------...