similar to: [LLVMdev] LLVM for crosscompiling?

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] LLVM for crosscompiling?"

2008 Apr 14
1
[LLVMdev] LLVM for crosscompiling?
Hi, I'm still working on this problem by first trying code without the Altivec intrinsics. I'm trying to use the cross compiler on the c code outputted by "llc -march c" and have run into this linker problem (spewed by the cross compiler): Command line : error: L0039: reference to undefined symbol .fopen64 in file /tmp/cc4tgLu5.o Command line : error: L0039: reference to
2008 Apr 06
2
[LLVMdev] LLVM for crosscompiling?
On Sunday 06 April 2008 06:53:06 am Bill Wendling wrote: > (snip) > Hi Sunjae, > > You'll need to compile llvm-gcc as a cross-compiler to get it to > accept altivec intrinsics and PPC-specific flags. > > -bw Thanks, Bill. I was afraid of that. Any pointers on how to do this? I'm able to build llvm-gcc-4.2 x86 natively, but not the powerpc version. Using
2008 Apr 05
2
[LLVMdev] LLVM for crosscompiling?
Hi, I am trying to use LLVM on x86 with some code intended for another architecture (IBM Cell). The plan is: 1. foreach $c_files llvm-gcc -emit-llvm -c -o $bc_file $c_file 2. link $bc_files 3. run my passes with 'opt' 4. llc -march=c 5. cell_cc The original code is for the Cell, and uses altivec intrinsics. However, llvm-gcc complains about not recognizing them. I read that
2008 Apr 06
0
[LLVMdev] LLVM for crosscompiling?
On Apr 5, 2008, at 3:31 PM, Sunjae Park wrote: > Hi, I am trying to use LLVM on x86 with some code intended for another > architecture (IBM Cell). The plan is: > > 1. foreach $c_files > llvm-gcc -emit-llvm -c -o $bc_file $c_file > 2. link $bc_files > 3. run my passes with 'opt' > 4. llc -march=c > 5. cell_cc > > The original code is for the Cell, and
2008 Apr 07
0
[LLVMdev] LLVM for crosscompiling?
On Apr 6, 2008, at 11:24 AM, Sunjae Park wrote: > On Sunday 06 April 2008 06:53:06 am Bill Wendling wrote: >> (snip) >> Hi Sunjae, >> >> You'll need to compile llvm-gcc as a cross-compiler to get it to >> accept altivec intrinsics and PPC-specific flags. >> >> -bw > > Thanks, Bill. I was afraid of that. > > Any pointers on how to do
2008 Apr 05
1
[LLVMdev] Will gcc 4.3.0 compile llvm 2.2?
Hi, Bernardo Fedora has a patch for LLVM 2.2 release with gcc 4.3 here: http://cvs.fedora.redhat.com/viewcvs/rpms/llvm/devel/llvm-2.2-gcc43.patch Just drop it in the llvm-2.2 directory and execute $ patch -p1 < llvm-2.2-gcc43.patch It should build cleanly afterwards. -- Sunjae Park MS. Georgia Tech College of Computing We choose to go to the moon and do the other things, not because they
2008 Sep 29
0
[LLVMdev] Can I use x-86 front end to generate .bc file for another architecture
On Sep 29, 2008, at 2:52 PM, ORC_developer wrote: > Hi. > I successfully build llvm backend2.3 for sparc/solaris, but failed > to build LLVM front end of Sparc/Solaris. > > I’m wondering if there is any option I can use with X-86 version of > llvm-gcc front end to generate .bc file for sparc backend. Suppose > I have the include files. > Sure you can, but the code
2008 Nov 12
2
[LLVMdev] Question about SPARC target status
On Nov 11, 2008, at 5:11 PM, Peter Shugalev wrote: > Owen Anderson wrote: >> What about something much simpler: memcpy'ing an array of structs >> around. The number of bytes to be memcpy'd is dependent on the >> padding >> of the struct. > > Anyway, I've got your point. sizeof() constant expression is > calculated > during wrong stage of
2008 Sep 29
0
[LLVMdev] Architecture Dependency of LLVM bitcode
On Sep 29, 2008, at 6:18 AM, Christian Plessl wrote: > On 29.09.2008, at 11:53, Jonathan S. Shapiro wrote: >> Watching this thread, it occurs to me that the "V" in "LLVM" is >> creating >> confusion. So far as I know, LLVM is the first project to use >> "virtual" >> to refer to the instruction set of the intermediate form. I >>
2011 Oct 24
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Hello All, I am getting following error on Ubuntu. My gcc is gcc version 4.4.5. Please let me know if you have any comments/suggestions. In file included from /home/janarbek/Work/llvm/llvm/lib/Support/Path.cpp:299: /home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc: In member function ‘bool llvm::sys::Path::eraseFromDisk(bool, std::string*) const’:
2008 Apr 15
1
[LLVMdev] Linking to LLVM libs from new project
Hi all, I have a new sample project set up in my llvm/projects directory, and I'd eventually like my frontend to generate an LLVM IR tree. To do so, I believe I need to link to the appropriate LLVM libraries. That's where I'm stuck. I can't seem to find any specific documentation that describes how to set up a new project to link to LLVM libraries. To get started, I added a
2011 Oct 24
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
On Mon, Oct 24, 2011 at 4:27 PM, janarbek <canarbekmatay at yahoo.com> wrote: > > Hello All, > > I am getting following error on Ubuntu. My gcc is gcc version 4.4.5. Please let me know if you have any comments/suggestions. > > In file included from /home/janarbek/Work/llvm/llvm/lib/Support/Path.cpp:299: > /home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc: In member
2008 Nov 12
0
[LLVMdev] Question about SPARC target status
Hi, Chris Lattner wrote: > Yes, not to mention stuff like: > > #ifdef __i386__ > > or: > case sizeof(foo): > > This is addressed here: > http://llvm.org/docs/tutorial/LangImpl8.html#targetindep > > Note that this doesn't affect cross compilation: you just need to > configure llvm-gcc as a proper cross compiler. This just means that > llvm
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
llvm[4]: Compiling PoolAllocate.cpp for Release+Asserts build /home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp: In member function ‘virtual bool llvm::PoolAllocate::runOnModule(llvm::Module&)’: /home/NIKHILREDDY/WORK/LLVM_SRC/projects/poolalloc/lib/PoolAllocate/PoolAllocate.cpp:403:16: error: ‘class llvm::Constant’ has no member named
2015 Jul 22
2
[LLVMdev] (no subject)
Hello, I have tried a lot fix this error but am not able to can you please find me a solution am trying to compile the SAFECode in Cygwin Environment to work for windows. used make -j4 command to make the files in cygwin i have got this error make[5]: Leaving directory '/home/uidr7475/Work/LLVM_OBJ/projects/safecode/tools/clang/include' /usr/bin/cp: cannot stat
2006 Dec 10
3
[LLVMdev] Building llvm-gcc4 on amd64
Hi all, I spent several hours today trying to compile llvm-gcc4 from svn and llvm from cvs on amd64 linux. In the case anyone else decides to try the same, this could ease your pain: 1) check out llvm, llvm-gcc 2) create llvm-obj llvm-gcc-obj export LLVM_INSTAL=<install_dir> cd llvm-obj export LLVM_OBJ=`pwd` ../llvm/configure --prefix=$LLVM_INSTALL --enable-debug-runtime 4) At one point,
2015 Jul 29
0
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
Dear Nikhil, The lib/PoolAllocate code doesn't compile with LLVM mainline, and you don't need it for SAFECode. You can remove PoolAllocate from the list of directories to compile in poolalloc/lib/Makefile. Also, are you using the code from Peter's Github repository? I think Peter made this change in his code already. Regards, John Criswell On 7/29/15 11:27 AM, Nikhil Reddy
2005 Sep 21
1
get quota command
I'm running samba 3.0.13 on a debian box, sharing out NFS filesystems from a solaris box. I know, bad idea.. file locking, etc... non-issues at the moment. I've discovered that if I make a share from a local filesystem, the PC's mounting the share see their quota (hard limit, not soft which is another matter) as their capacity and their appropriate free space... this is good.
2009 Mar 10
1
Error crosscompiling
Hi, I was trying to crosscompile dovecot, but I got some error: --with-notify=inotify don't work, as it try to run a test program to verify if inotify is supported in the building platform. Solved with --with-notify=dnotify. Ihmo, is more a hack than a solution. | checking whether posix_fallocate() works... configure: error: cannot run test program while cross compiling I can't
2004 Dec 27
0
[patch] some buildsystem fixes for crosscompiling
Hi folks, here're some quick+dirty fixes to allow sysroot'ed crosscompiling. probably not yet very clean, but seems to work. cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: contact at metux.de