Displaying 19 results from an estimated 19 matches for "llvm_obj".
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...sesOfWithOnConstant’
C->replaceUsesOfWithOnConstant(F, CEnew,
ReplaceWorklist[index]);
^
llvm[4]: Compiling PoolOptimize.cpp for Release+Asserts build
llvm[4]: Compiling RunTimeAssociate.cpp for Release+Asserts build
/usr/bin/rm: cannot remove
‘/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.d.tmp’:
No such file or directory
/home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:1521: recipe for target
'/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.o'
failed
make[4]: ***...
2015 Jul 29
0
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...C->replaceUsesOfWithOnConstant(F, CEnew,
> ReplaceWorklist[index]);
> ^
> llvm[4]: Compiling PoolOptimize.cpp for Release+Asserts build
> llvm[4]: Compiling RunTimeAssociate.cpp for Release+Asserts build
> /usr/bin/rm: cannot remove
> ‘/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.d.tmp’:
> No such file or directory
> /home/NIKHILREDDY/WORK/LLVM_SRC/Makefile.rules:1521: recipe for target
> '/home/NIKHILREDDY/WORK/LLVM_OBJ/projects/poolalloc/lib/PoolAllocate/Release+Asserts/PoolAllocate.o'
&g...
2011 Oct 24
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
...th.cpp:299:
/home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc: In member function ‘bool llvm::sys::Path::eraseFromDisk(bool, std::string*) const’:
/home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc:714: error: ‘unlink’ was not declared in this scope
make[1]: *** [/home/janarbek/Work/llvm/llvm_obj/lib/Support/Release+Asserts/Path.o] Error 1
make[1]: Leaving directory `/home/janarbek/Work/llvm/llvm_obj/lib/Support'
make: *** [all] Error 1
janarbek at ubuntu:~/Work/llvm/llvm_obj$ vi ../llvm/lib/Support/Path.cpp
-------------- next part --------------
An HTML attachment was scrubbed...
U...
2008 Apr 15
1
[LLVMdev] Linking to LLVM libs from new project
...lvmsrc],[Location of LLVM
Source Code]),AC_SUBST(LLVM_SRC,[$withval]),AC_SUBST(LLVM_SRC,[`cd
${srcdir}/../..; pwd`]))
AC_CONFIG_COMMANDS([llvm_src],[],[llvm_src=$LLVM_SRC])
dnl Location of LLVM object code
AC_ARG_WITH(llvmobj,AS_HELP_STRING([--with-llvmobj],[Location of LLVM
Object Code]),AC_SUBST(LLVM_OBJ,[$withval]),AC_SUBST(LLVM_OBJ,[`cd
../..; pwd`]))
AC_CONFIG_COMMANDS([llvm_obj],[],[llvm_obj=$LLVM_OBJ])
Since I'm trying to use the Module class, I also tried adding this
line to tools/sample/Makefile:
LINK_COMPONENTS = llvmcore
After making those changes, the linking still fails.
$ make...
2011 Oct 24
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
...; /home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc: In member function ‘bool llvm::sys::Path::eraseFromDisk(bool, std::string*) const’:
> /home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc:714: error: ‘unlink’ was not declared in this scope
> make[1]: *** [/home/janarbek/Work/llvm/llvm_obj/lib/Support/Release+Asserts/Path.o] Error 1
> make[1]: Leaving directory `/home/janarbek/Work/llvm/llvm_obj/lib/Support'
> make: *** [all] Error 1
> janarbek at ubuntu:~/Work/llvm/llvm_obj$ vi ../llvm/lib/Support/Path.cpp
Does the attached patch help?
Does this issue show up with 3.0...
2015 Jul 22
2
[LLVMdev] (no subject)
...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
'/home/uidr7475/Work/LLVM_SRC/projects/safecode/tools/clang/lib/Makefile':
No such file or directory
make[5]: Entering directory
'/home/uidr7475/Work/LLVM_OBJ/projects/safecode/tools/clang/lib'
make[5]: *** No rule...
2006 Dec 10
3
[LLVMdev] Building llvm-gcc4 on amd64
...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, the build script calls c++, but by default, gcc
installs g++, and (at least 4.0.3 on my machine) doesn't create
c++ alias, so create one if you don't already have it:
ln -s /usr/bin/g++ /usr/bin/c++
5) cd...
2011 Oct 24
3
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
...; /home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc: In member function ‘bool llvm::sys::Path::eraseFromDisk(bool, std::string*) const’:
> /home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc:714: error: ‘unlink’ was not declared in this scope
> make[1]: *** [/home/janarbek/Work/llvm/llvm_obj/lib/Support/Release+Asserts/Path.o] Error 1
> make[1]: Leaving directory `/home/janarbek/Work/llvm/llvm_obj/lib/Support'
> make: *** [all] Error 1
> janarbek at ubuntu:~/Work/llvm/llvm_obj$ vi ../llvm/lib/Support/Path.cpp
Does the attached patch help?
Does this issue show up with 3.0...
2006 Dec 20
0
[LLVMdev] Building llvm-gcc4 on amd64
...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, the build script calls c++, but by default, gcc
> installs g++, and (at least 4.0.3 on my machine) doesn't create
> c++ alias, so create one if you don't already have it:
> ln -s /usr/b...
2008 Apr 14
1
[LLVMdev] LLVM for crosscompiling?
...lchain as a backend (feeding it the "llc
-march c" output), so I'm a bit confused. I'm not looking for a target
independent IR, either...
Regarding building LLVM as a cross compiler, I assume it should be pretty much
identical to building gcc as a cross compiler? (sans adding the LLVM_OBJ
directory when configuring).
--
Sunjae Park
MS. Georgia Tech College of Computing
2011 Oct 24
0
[LLVMdev] Question about local variables
On 24 October 2011 15:50, Ryan Taylor <ryta1203 at gmail.com> wrote:
> Nick,
>
> Oh, sorry. So there are lots of "void" operations, I basically just want
> to print out the operation name, it's dest operands and source operands,
What's a dest operand? The term "operand" in LLVM always refers to the
inputs (ie., an add has two operands).
>
2008 Apr 11
0
[LLVMdev] Setting up new project
On Fri, Apr 11, 2008 at 9:39 AM, Lane Schwartz <dowobeha at gmail.com> wrote:
> Hi,
>
> I am attempting to set up a new frontend project based on the sample
> project (I'm following the instructions at
> http://llvm.org/docs/Projects.html). In doing so, I hit a problem with
> AutoRegen.sh which I worked around, and hit a problem with configure
> that I don't
2008 Apr 11
4
[LLVMdev] Setting up new project
Hi,
I am attempting to set up a new frontend project based on the sample
project (I'm following the instructions at
http://llvm.org/docs/Projects.html). In doing so, I hit a problem with
AutoRegen.sh which I worked around, and hit a problem with configure
that I don't know how to work around.
Below is what happens when I attempt to autoconf and configure the
sample project that ships
2015 Jul 29
0
[LLVMdev] ConfigStatusScript Confusion
...xist, even though I’ve made sure to correctly reference the needed file. In LLVM_SRC/Makefile.rules, lines 183 and 184 reference the variable ConfigStatusScript, which is defined as $(PROJ_OBJ_ROOT)/config.status. Given the way PROJ_OBJ_ROOT is defined, this means ConfigStatusScript is defined as LLVM_OBJ/config.status. However, lines 183 and 184 appear to searching for the file “config.status” in LLVM_SRC/projects/safecode/tools/clang. Here is some text from the command line that illustrates the problem:
Peters-MacBook-Pro:clang peterfinn$ make VERBOSE=1
llvm[0]: Reconfiguring with /Users/peter...
2008 Dec 13
2
[LLVMdev] internal compiler error problem in build llvm-gcc
...../llvm/configure --prefix=/home/cllou/LLVM/llvm-2.4-dir/llvm_install/
--enable-optimized
2. make ENABLE_OPTIMIZED=1
and build the LLVM successfully.
3. ../llvm-gcc/configure
--prefix=/home/cllou/LLVM/llvm-2.4-dir/llvm_gcc_install/
--program-prefix=llvm- --enable-llvm=/home/cllou/LLVM/llvm-2.4-dir/llvm_obj/
--enable-languages=c,c++
4. make
and got the "../../llvm-gcc4.2-2.4.source/gcc/libgcc2.c:809: internal
compiler error: Aborted"
my environment is following:
OS: fedora8-32
gcc: gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)
Are anyone could help me to fix the problem? I am the beginner...
2011 Oct 22
9
[LLVMdev] Question about local variables
Nick,
Unfortunately this doesn't answer my question I don't think. It seems
that -instnamer, as you mention, names the instructions but still does not
name the local variables.
So there really is no way to do this shy of creating (or basically
copying) the API from AsmWriter (seems very dedundant to me)? This seems
like a large failing?
On Fri, Oct 21, 2011 at 7:03 PM, Nick
2005 Nov 08
2
[LLVMdev] llvm-test configure problem
...=''
F95_LIB=''
FFLAGS='-g -O2'
FLEX='flex'
FPGROWTH_ROOT=''
HAVE_RE_COMP=''
LDFLAGS=''
LEX='flex'
LEXLIB='-ll'
LEX_OUTPUT_ROOT='lex.yy'
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/mklib'
LLVM_OBJ='/mounts/seraph/disks/1/tbrethou/llvm'
LLVM_SRC='/mounts/seraph/disks/1/tbrethou/llvm'
LN_S='ln -s'
LTLIBOBJS=''
NAMD_ROOT=''
OBJEXT='o'
PACKAGE_BUGREPORT='llvmbugs at cs.uiuc.edu'
PACKAGE_NAME='LLVM-TEST'
PACKAGE_STRING='LLVM-TEST...
2005 Nov 08
0
[LLVMdev] llvm-test configure problem
What's the config.log from this run?
-bw
On 11/3/05, Tanya Lattner <tonic at nondot.org> wrote:
>
> Following the instructions here:
> http://llvm.cs.uiuc.edu/docs/TestingGuide.html#run
>
> I get an error running configure in the llvm-test directory.
>
> ./configure
> --with-llvmgccdir=/localhome/tbrethou/cfrontend/sparc/llvm-gcc/
>
2005 Nov 03
4
[LLVMdev] llvm-test configure problem
Following the instructions here:
http://llvm.cs.uiuc.edu/docs/TestingGuide.html#run
I get an error running configure in the llvm-test directory.
./configure
--with-llvmgccdir=/localhome/tbrethou/cfrontend/sparc/llvm-gcc/
--with-f2c=/home/vadve/shared/localtools/sparc
--with-llvmsrc=/localhome/tbrethou/llvm
--with-llvmobj=/localhome/tbrethou/llvm
Error:
[cut lots of config output]
checking