similar to: [LLVMdev] Is -O4 supposed to work on linux ?

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Is -O4 supposed to work on linux ?"

2010 Aug 12
1
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
I got this one fixed by rebuilding llvm Debug (oups). I had an old version. I now seem to have a classical message: version GLIBCXX_3.4.14 not found. I am indeed building llvm-gcc using gcc4.5. Is this the problem ? The fix to this problem indicated in README.LLVM does not help .. Thanks Romain On Thu, Aug 12, 2010 at 6:43 PM, Romain Pechayre <rpechayr at gmail.com> wrote: > Thanks.
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
On Thu, Aug 12, 2010 at 6:56 PM, Romain Pechayre <rpechayr at gmail.com> wrote: > Ok. Thank you for your input. New questions :) : > - Is the dev package basically the source code of gcc 4.2 ? Isn't it > already fully included in llvm-gcc code base ? > AFAIR, you need to have the set of headers, gcc-dev.( Some one else may provide you with this information) > - How
2010 Aug 12
0
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
Thanks. It worked for a few more compilation lines. I now get the following linker error: undefined reference to llvm::MemoryBuffer::getNewMemBuffer(unsigned long, llvm::StringRef) I am surprised since the linker compile line already links with a whole bunch of llvm libraries ... Thanks for your help Romain On Thu, Aug 12, 2010 at 4:03 PM, Rajika Kumarasiri <rajika at wso2.com> wrote:
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
I need to add, also you'll need bison+flex. Rajika On Thu, Aug 12, 2010 at 6:41 PM, Rajika Kumarasiri <rajika at wso2.com> wrote: > You'll need to install the dev packages for gcc 4.2. > > Rajika > > On Thu, Aug 12, 2010 at 1:27 PM, Romain Pechayre <rpechayr at gmail.com>wrote: > >> Hello all, >> >> I am trying to build the latest version
2010 Aug 12
0
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
Ok. Thank you for your input. New questions :) : - Is the dev package basically the source code of gcc 4.2 ? Isn't it already fully included in llvm-gcc code base ? - How should I include bison+flex when I have installed Do I need to put additional flags to configure script ? Cheers, Romain On Thu, Aug 12, 2010 at 3:13 PM, Rajika Kumarasiri <rajika at wso2.com> wrote: > I need to
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
Hello all, I am trying to build the latest version of llvm-gcc on a x86_64 architecture running a Linux distribution. Using the READM.LLVM I have managed to run ./configure using appropriate options, but when I try to build using make, it shows the following error message after a few seconds: ../../llvm-gcc/gcc/gengtype-lex.l:31:27: fatal error: gengtype-yacc.h: No such file or directory. This
2010 Aug 12
0
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
You'll need to install the dev packages for gcc 4.2. Rajika On Thu, Aug 12, 2010 at 1:27 PM, Romain Pechayre <rpechayr at gmail.com> wrote: > Hello all, > > I am trying to build the latest version of llvm-gcc on a x86_64 > architecture running a Linux distribution. Using the READM.LLVM I have > managed to run ./configure using appropriate options, but when I try to >
2005 Sep 23
2
winbindd exceeding 200 client connections
OS: RHE 3, kernal 2.4.21-32.0.1EL Samba version: samba-3.0.20 Removed RHE version of samba and compiled/installed samba-3.0.20. After running about 30-60 minutes, I get the following syslog msg: "winbindd: Exceeding 200 client connections, no idle connection found" Eventually this grinds the whole system to a halt, and remote & console logins become impossible while samba is
2011 Jan 27
0
[LLVMdev] recreate optimized clang output
On Jan 27, 2011, at 12:02 PM, Hendrix_ at gmx.net wrote: > OK, I am looking for "LTO"/global optimization. So the function definition will remain "somewhere else" (externally), and the optimizer will find in some other module to possibly inline it later on. > > I am planning to concat all the *.ll (eg "link" the files) and pass them to the
2010 Mar 14
4
[LLVMdev] Problem linking with llvm on mac os 10.6
Hello all, I am trying to build the kaleidoscope sample code on Mac os (10.6). What I have done to get llvm libraries : 1) Downloaded llvm-2.6 source code 2) ./configure 3)make 4) make intall Then I tried to build kaleidoscope as described in the tutorial: g++ -g -O3 toy.cpp `llvm-config --cppflags --ldflags --libs core` -o toy I get typical link time errors (undefined symbols: ...) as if the
2010 Mar 14
1
[LLVMdev] Problem linking with llvm on mac os 10.6
Indeed it works. Thanks ! Is LLVM built with m32 by default ? Cheers, Romain On Mar 14, 2010, at 5:42 PM, Chris Lattner wrote: > > On Mar 14, 2010, at 8:00 AM, Romain Pechayre wrote: > >> Hello all, >> >> I am trying to build the kaleidoscope sample code on Mac os (10.6). >> What I have done to get llvm libraries : >> >> 1) Downloaded llvm-2.6
2013 Jan 17
1
[LLVMdev] Migrate Project Build system to LLVM BitCode
Hi Duncan, > 4.gcc -g -O2 -o .libs/mergedexe .libs/mergedbc.s -pthread > -Wl,--export-dynamic .libs/lib1.a -lssl -lcrypto -ldl -pthread .libs/lib2.so >if you pass -O4 rather than -O2 to clang I think it will in essence do this all >for you already. It might even do the link time optimization for you at -O2 >even, I'm not sure. No, if I use clang for producing
2009 Dec 23
2
[LLVMdev] Problem while compling SPEC2000 with llvm-gcc
Hi, all I use llvm-gcc -O4 to compile SPEC 2000, some benchmarks can't be built successfully, such as 164.gzip, 175.vpr etc. The error messages are as follows. .. zh.o unlzw.o unpack.o unzip.o util.o zip.o -o gzip bits.o: file not recognized: File format not recognized collect2: ld returned 1 exit status specmake: *** [gzip] Error 1 specmake options 2> options.err |
2009 Dec 23
0
[LLVMdev] Problem while compling SPEC2000 with llvm-gcc
On 2009-12-23 08:22, Li Shengmei wrote: > > Hi, all > > I use llvm-gcc –O4 to compile SPEC 2000, some benchmarks > can’t be built successfully, such as 164.gzip, 175.vpr etc. > > The error messages are as follows. > > > > …… > > zh.o unlzw.o unpack.o unzip.o util.o zip.o -o gzip > > bits.o: file not recognized: File format not recognized
2011 Jan 27
2
[LLVMdev] recreate optimized clang output
On 27.01.2011, at 21:12, Devang Patel wrote: > > On Jan 27, 2011, at 12:02 PM, Hendrix_ at gmx.net wrote: > >> OK, I am looking for "LTO"/global optimization. So the function definition will remain "somewhere else" (externally), and the optimizer will find in some other module to possibly inline it later on. >> >> I am planning to concat all the
2011 Mar 24
2
[LLVMdev] Instrumentation with liblto and gold
Hi, I need advice in instrumenting programs using liblto and gold plugin. Specifically, I added my pass in tools/lto/LTOCodeGenerator.cpp. My pass inserts functions (myLoad and myStore) for some load and store instructions. The functions exist in a library file. I found that the approach works for the example in the link: http://llvm.org/docs/GoldPlugin.html $ llvm-gcc -flto a.c -c -o a.o $ ar q
2011 Jan 27
4
[LLVMdev] recreate optimized clang output
On 26.01.2011, at 04:39, John McCall wrote: > On Jan 24, 2011, at 10:36 AM, Hendrix_ at gmx.net wrote: >> I was using "clang -O3 -S -emit-llvm" got some very optimized output. >> >> Then I did "clang -S -emit-llvm" (without optimization) and wanted to optimized the code in a >> separate pass. The llvm program "opt" did not do anything.
2013 Jan 17
4
[LLVMdev] Migrate Project Build system to LLVM BitCode
Hi All, I am migrating a build system of an existing project from 'Object files' based executable generation to 'LLVM Bitcode' files based exe generation and applying OPT pass to LLVM Bitcode. I found out the following 4 step procedure. Please let me know if this is the right procedure or is there any other easy way of doing it. I need to modify 'Makefile' accordingly. I
2002 Jun 26
2
change column name in a function
Hi, I have the following function: TEST <- cbind(Pox0t30.stone.1990.2000, sqrt(apply(Pox0t30.stone.1990.2000[,2:11], 1, var))) In rhe resulting Object TEST the added column is titled: sqrt(apply(Pox0t30.stone.1990.2000[,2:11], 1, var) I would like to change it to a sensible variable name like PoxMean. How can I incorporate this into the above function? Ulrich --
2009 Jan 24
0
[LLVMdev] -O4 limitations in llvm/llvm-gcc-4.2 2.5?
Chris, Thanks for the hint. Moving over the libLTO.dylib from llvm 2.5 solved all of the linkage errors. I was able to completely build xplor-nih at -O4 now. The core xplor and xplor-tcl testsuite show no regressions. I do get 7 testcases in the xplor-python testsuite failing with bus errors now. The xplor-tcl and xplor-python tests are all run by tcl and python respectively loading their