Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] llvm-test failures on FreeBSD"
2005 Apr 16
0
[LLVMdev] libstdc++.a with current CVS version
On Sat, 16 Apr 2005, Markus F.X.J. Oberhumer wrote:
> I have troubles with a freshly built CVS toolchain when linking a C++ program
> with -Wl,-native:
>
> gccld: error: Cannot link in module
> '/media/sda3/opt/cc-i386-linux/llvm/llvm-1.4.20050416-i386-linux/cfrontend/bin/../lib/gcc/i386-pc-linux-gnu/3.4-llvm/../../../libstdc++.a(allocator-inst.o)':
> Linking globals
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 May 25
5
[LLVMdev] LLVM Cygwin Run Errors
Hi,
I installed the cfrontend 1.5 and LLVM 1.5 from 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
2006 Sep 14
1
[LLVMdev] use LLVM to convert C++ code to C code
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
I am newbie to llvm.<br>
<br>
I am unable to generate
2005 May 25
0
[LLVMdev] LLVM Cygwin Run Errors
> I installed the cfrontend 1.5 and LLVM 1.5 from 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
2006 Aug 21
1
[LLVMdev] stdlib.h
Thank you, Reid,
I tried llvm-gcc -lcrtend ary3.c -o ary3, but I get
gccld: warning: Cannot find library 'crtend'
gccld: warning: Cannot find library 'c'
I have the libraries in my llvm directory:
llvm/runtime/GCCLibraries/crtend
Well, how do I link this to the LLVM runtime stuff? Before building from
the source, I had copied all the .h from my old gcc 4.0 to
2007 Dec 07
2
Problems compiling xapian-core to run omega, SunOS
Hello xapian users,
The server I'm compiling on is a little odd. SunOS on a sun4
architecture.
Fails when linking, gives the following,
memcpy 0x10
/usr/local/gcc-3.3.2/lib/./libstdc++.a(ctype.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error:
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
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
2006 Sep 18
2
[LLVMdev] llvm-g++: Internal error
Hi,
i used CVS to checkout the source of llvm and llvm-gcc, compiled and built
them on my machine successfully.
i tried a c-language hello program, it was OK.
But when i tried a c++-language hello program, i got:
~/project/llvm/examples$ llvm-g++ t3.cc -o t3
gccld:
/developer/zsth/project/llvm/src/llvm/lib/Analysis/IPA/CallGraph.cpp:277:
void
2006 Oct 30
0
[LLVMdev] Multisource Test Failures?
On Sun, 29 Oct 2006, Bill Wendling wrote:
> Is there a way to make bugpoint use gccld (or the equivalent with llc
> flags)?
In a multisource/external dir, use 'make bugpoint-gccld'. In
singlesource, use 'make Output/progname.bugpoint-gccld'.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
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 May 25
2
[LLVMdev] LLVM Cygwin Run Errors
Hi,
I am wondering whether the bytecode generated by my llvm-gcc is correct?
When I run
$ llvm-gcc hello.c -o hello
What I get is hello.exe.bc, and hello.exe (I can actually llvm-dis the
bytecode file which is hello.exe.bc).
However, I do not get a shell script(named hello) as stated in the
documentation...
Best Regards,
Kiat
On 5/25/05, Aaron Gray <angray at beeb.net> wrote:
>
2005 Jun 28
3
[LLVMdev] LLVM 1.5 C Front-End Binaries for FreeBSD?
Might anyone have a FreeBSD binary or suggested modifications to the
source to compile one?
Thanks,
Sean
2004 Dec 23
2
[LLVMdev] Undefined reference to `llvm::sys::CopyFile(llvm::sys::Path const&, llvm::sys::P
Hi,
Can anyone tell me why CopyFile is the only undefined reference from
Path.cpp?
---------------
llvm[2]: Linking Debug executable gccld
c:/projects/build/MinGW/llvm-1-1/tools/gccld/Debug/gccld.o(.text+0x439): In
function `Z15EmitShellScriptPPc':
c:/projects/src/llvm-1/llvm/tools/gccld/gccld.cpp:127: undefined reference
to `llvm::sys::CopyFile(llvm::sys::Path const&, llvm::sys::Path
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 May 19
2
[LLVMdev] Cygwin Compile Fails for me too.
It seems awfully tricky to get llvm working on a windows machine.
I just want to use the tools, since I want to write my own front end.
Here's where I get stuck
llvm[2]: Linking Debug executable burg
/usr/lib/gcc/i686-pc-cygwin/3.4.1/../../../libstdc++.a: could not read
symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
make[2]: ***
2004 Jul 06
1
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
Hi guys
Is some one able to explain me, why these errors emerge:
gmake[2]: Entering directory `/usr/local/src/llvm/lib/VMCore'
Compiling AsmWriter.cpp
AsmWriter.cpp: In function `void WriteConstantInt(std::ostream&, const
llvm::Constant*, bool, std::map<const llvm::Type*, std::string,
std::less<const llvm::Type*>, std::allocator<std::pair<const llvm::Type*
const,
2005 Aug 08
2
[LLVMdev] cfrontend building
Hallo,
I'm trying to write an gentoo ebuild for the c frontend. When make runs
libstdc++/configure I get some problems:
configure tries to determine the object extensionbut fails. This is the
output:
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... checking for perl... perl
checking build system type...
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