Displaying 20 results from an estimated 60000 matches similar to: "[LLVMdev] Disable Compression option for gccld"
2005 Mar 01
3
[LLVMdev] question about gccld and external libraries
hi,
I'm really new to llvm. I've successfully bootstrapped llvm-14 on my
system and am able to successfully compile c code to llvm.
the problem is now that gccld is complaining that it can't find the
libraries, like "c" or "crtend". [1]
all is fine, if I just use intrinsified functions like printf and
friends, but I want to use the clock_gettime function and
2005 Aug 01
2
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
gccld passes -shared through if it's generating a shared library, but
if you're compiling a program that needs to have its symbols
externally accessible, it doesn't pass -export-dynamic through to gcc
for the final link.
The attached patch fixes this. I've tested with a small test case I
sent Chris, and with Python; both seem to work.
I also fixed some inaccurate comments in
2004 Dec 21
1
[LLVMdev] Cygwin port
Hi all,
> Please try it out, if it doesn't work, please tell us what's
> wrong, or, better yet, submit a patch. :)
Alright, here are the results of building the latest llvm from CVS under
cygwin:
lib\Debugger\SourceFile.cpp
needs #include <assert.h> when building with gcc 3.3.3
tools\gccld\gccld.cpp line 128
tools\llvm-ld\llvm-ld line 318
need
2005 Mar 01
2
[LLVMdev] Re: question about gccld and external libraries
Misha Brukman wrote:
> Hey, Jakob --
>
> On Tue, Mar 01, 2005 at 05:55:07PM +0100, Jakob Praher wrote:
>
>>I'm really new to llvm. I've successfully bootstrapped llvm-14 on my
>>system and am able to successfully compile c code to llvm.
>>
>>the problem is now that gccld is complaining that it can't find the
>>libraries, like "c" or
2003 Dec 07
2
[LLVMdev] Can you hint on solution to following problem
gccld: Cannot find linker input file 'crtend.o
I have set the LLVM_LIB_SEARCH_PATH
ls -l $LLVM_LIB_SEARCH_PATH
total 104
-rw-r--r-- 1 muj20 muj20 12788 Dec 7 17:05 crtend.o
-rw-r--r-- 1 muj20 muj20 1984 Dec 7 17:05 libc.bc
-rw-r--r-- 1 muj20 muj20 120 Dec 7 17:05 libcurses.bc
2004 Apr 01
2
[LLVMdev] spec95
Ok, I am trying to configure llvm to compile benchmarks as suggested by
John, and after running configure, I get the following error while
running make in the /test/Programs/External/SPEC
----
make[1]: Entering directory
`/home/llvm/llvm/test/Programs/External/SPEC/CINT95'
make[2]: Entering directory
`/home/llvm/llvm/test/Programs/External/SPEC/CINT95/099.go'
2005 Mar 01
2
[LLVMdev] Re: question about gccld and external libraries
Chris Lattner wrote:
> On Tue, 1 Mar 2005, Jakob Praher wrote:
>
>> thanks for the pointer. Yes I've done that, but in the new shell
>> session I apparently forgot to set the LLVM_LIB_SEARCH_PATH.
>>
>> now gccld isn't complaining anymore but the interpreter doesn't seem
>> to like it still:
>
>
> It looks like the jit doesn't find
2004 Apr 01
0
[LLVMdev] spec95
Vinay S. Belgaumkar wrote:
> Ok, I am trying to configure llvm to compile benchmarks as suggested by
> John, and after running configure, I get the following error while
> running make in the /test/Programs/External/SPEC
Hmmm. It sounds like the Makefiles are not creating the gccld command
line correctly.
Some questions:
1) Can you send us your Makefile.config?
2) Can you tell us
2004 Nov 02
5
[LLVMdev] LLVM tools sufficient to build the cfrontend for windows from MinGW?
Hi,
I'm able to build the llvm tools on the MinGW platform: burg, fpcmp, tblgen,
llvm-as, llvm-dis, opt, gccas, llc, llvm-link, lli, gccld, llvm-stub,
analyze and extract.
I wonder if these tools are sufficient to start build the cfrontend?
Henrik.
_________________________________________________________________
Undg� pop-ups med MSN Toolbar - http://toolbar.msn.dk hent den gratis!
2006 Mar 06
2
[LLVMdev] Selectively Disable Inlining for Functions
Dear All,
I was wondering if there is a standard way of specifying a list of
functions that *should not* be inlined by the -inline pass.
I'm currently working with an experimental analysis pass that checks for
calls to memory allocation functions; inlining and dead code elimination
might make the pass more stable, but we don't want to inline the calls
to the memory allocation
2005 Jul 07
0
[LLVMdev] Compile a linux kernel with LLVM?
ymxia at nudt.edu.cn wrote:
> Hi,
>
> I want to check some properties of linux kernel with llvm, but I don't know how to compile a
>
> linux kernel to an llvm's .bc file. I have let llvm's gcc front-end ignore inline assembly by
>
> modifying cfrontend/src/gcc/llvm-expand.c, and replace CC/as/ar in the Makefile of the kernel
>
> with
2006 Mar 06
0
[LLVMdev] Selectively Disable Inlining for Functions
On Mon, 6 Mar 2006, John Criswell wrote:
> I was wondering if there is a standard way of specifying a list of functions
> that *should not* be inlined by the -inline pass.
Nope, but you could hack something into gccas/gccld if you want. Of
course, you can disable inlining completely with the -disable-inlining
flag.
> I'm currently working with an experimental analysis pass that
2005 Jul 11
2
[LLVMdev] Does the gcc frontend do inlining or deadcode elimination ?
This didn't work as I tried with 197.parser. it works without
"-Wl,-disable-opt" switch though.
[197.parser]$ llvm-gcc analyze-linkage.c and.c build-disjuncts.c
extract-links.c fast-match.c idiom.c main.c massage.c parse.c
post-process.c print.c prune.c read-dict.c utilities.c xalloc.c
word-file.c strncasecmp.c -Wa,-disable-opt -Wl,-disable-opt -lm -o
llvm_parser
[197.parser]$
2005 Aug 02
0
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
On Mon, Aug 01, 2005 at 05:13:15PM -0500, Nicholas Riley wrote:
> The attached patch fixes this.
...but had tabs in it. Misha kindly reminded me off-list that this
was bad. Try this one instead.
--
Nicholas Riley <njriley at uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
-------------- next part --------------
Index: tools/gccld/GenerateCode.cpp
2004 Dec 21
1
[LLVMdev] Cygwin port
Hi Reid,
> I've been doing a Cygwin build today too. All these problems
> have been updated in the current CVS. Please update your tree
> and give it another try.
Alright, this time everything works quite a bit better. However:
tools\llvm-ld\llvm-ld.cpp
needs the CopyFile() invocation fix identical to gccld.cpp
Also, it turns out gcc 3.3.3 in cygwin is buggy and it's unable
2005 Mar 01
0
[LLVMdev] question about gccld and external libraries
Hey, Jakob --
On Tue, Mar 01, 2005 at 05:55:07PM +0100, Jakob Praher wrote:
> I'm really new to llvm. I've successfully bootstrapped llvm-14 on my
> system and am able to successfully compile c code to llvm.
>
> the problem is now that gccld is complaining that it can't find the
> libraries, like "c" or "crtend". [1]
Did you install the bytecode
2005 Mar 01
0
[LLVMdev] Re: question about gccld and external libraries
On Tue, 1 Mar 2005, Jakob Praher wrote:
> thanks for the pointer. Yes I've done that, but in the new shell session I
> apparently forgot to set the LLVM_LIB_SEARCH_PATH.
>
> now gccld isn't complaining anymore but the interpreter doesn't seem to like
> it still:
It looks like the jit doesn't find these because they are located in
librt. Try this (or adapt to
2004 May 14
2
[LLVMdev] Can I disable the optimizaiton for llvmgcc?
Hi all LLVMor,
I just tried to compile a simple code and analyze the number of the basic blocks. But after compile, what I got, the bytecode is seems to be optimized bytecode. So the information of basic blocks is not what I expected. I want ot use the code as example to see how some of code optimization methods work. However, after compiling file using llvm test.c -o test, bytecode file
2004 May 01
0
[LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
On Sat, 1 May 2004, [koi8-r] "Valery A.Khamenya[koi8-r] " wrote:
> there are two issues concerning invoking optimizations:
>
> 1.
> this document:
> http://llvm.cs.uiuc.edu/docs/GettingStarted.html
> is very nice, it would be good though to add in a section
>
> An Example Using the LLVM Tool Chain
>
> examples on optimization step.
That's an
2006 Oct 30
2
[LLVMdev] Multisource Test Failures?
Hi all,
Is anyone else seeing tests in the Multisource/Applications directory
failing with something looking like this:
/Users/wendling/llvm/llvm.obj/Debug/bin/gccld -L/Users/wendling/llvm/
llvm-gcc4.install/lib/gcc/powerpc-apple-darwin8.8.0/3.4-llvm -L/
Users/wendling/llvm/llvm-gcc4.install/lib Output/siod.linked.bc -lc
-lpthread -lltdl -lm -o Output/siod.llvm
gccld: warning: Cannot