Open GoogleCodeExporter opened 8 years ago
Are you sure your LLVMOBJDIR variable is defined correctly?
Original comment by mattgilb...@gmail.com
on 5 Nov 2007 at 5:22
I'm having similar problem on Fedora, I completed every step but this one. Is
there
some way to verify whether LLVMOBJDIR points to right location? The error says
that -
-enable-llvm should be pointing to LLVM tree, i tried replacing
--enable-llvm=`llvm-
config --obj-root` with --enable-llvm=$LLVMOBJDIR and leaving it there and
appending
another --enable-llvm=$LLVMOBJDIR to the end of the command but neither of this
worked. Could you post list of files or at least directories we have to find in
LLVMOBJDIR?
Original comment by rame...@gmail.com
on 6 Nov 2007 at 12:49
I also assume the error occures because dsymutil cannot be located i tried
finding
it on entire filesystem but it wasn't found
Original comment by rame...@gmail.com
on 6 Nov 2007 at 12:59
[deleted comment]
As per the instructions, I set the LLVMOBJDIR as follows:
LLVMOBJDIR=`pwd`
And here's the console output to double check:
[dkgamez@localhost llvm-gcc-4.0-iphone]$ $LLVMOBJDIR
bash: /home/dkgamez/iphone/llvm-svn: is a directory
The same error is still displayed.
Original comment by darak...@gmail.com
on 6 Nov 2007 at 9:06
The issue was resolved with the following instruction from the wiki comments:
---------
Comment by macosxman, Nov 08 (3 days ago)
dkgamez and simerjots:
instead of:
../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --obj-root` \
--enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin
--enable-sjlj-exceptions \
--with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \
--with-ld=/usr/local/bin/arm-apple-darwin-ld
try:
../../llvm-gcc-4.0-iphone/configure --enable-llvm=$LLVMOBJDIR \
--enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin
--enable-sjlj-exceptions \
--with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \
--with-ld=/usr/local/bin/arm-apple-darwin-ld
That seemed to fix that problem for me.
Original comment by dkga...@gmail.com
on 12 Nov 2007 at 8:17
Another issue for me was the fact that what $LLVMOBJDIR evaluates to changes
when I switch directories. Instead
of assigning it to 'pwd', I specifically assigned it to the absolute path of
the directory where I installed llvm-svn,
and that worked.
This is on OS X 10.4
Original comment by allen...@gmail.com
on 26 Apr 2008 at 6:37
Same for me, no it works!!
Original comment by m.mchir...@gmail.com
on 27 Mar 2009 at 3:21
I had this problem too. Type the following into terminal:
$ `llvm-config --obj-root`
(NOTE: these are /NOT/ single quotes. This symbol is on the key right below
escape)
Input the directory returned into where `llvm-config --obj-root` used to be in
the
configure command.
Done.
Original comment by sudo.adam.carruthers@gmail.com
on 23 Dec 2009 at 1:59
I got the same problem in Cygwin, even use --enable-llvm=$LLVMOBJDIR instead of
--enable-llvm=`llvm-config --obj-root`
echo $LLVMOBJDIR
/home/iphone/llvm-svn
`llvm-config --obj-root`
/home/iphone/llvm-svn
and I can't found dsymutil on cygwin's filesystem
LLVM svn r125563
Original comment by rmusique
on 16 Feb 2011 at 1:29
My problem in Cygwin :
/usr/local/include/.... :error expected .....before.....
../../../llvm-gcc-4.0-iphone/libiberty/regex.c:... error: ..... has no member
named ..
make[1]:***[regex.o]Error 1
make:***[all-libiberty] Error 2
Original comment by jjjccc...@gmail.com
on 20 Mar 2011 at 2:52
Original issue reported on code.google.com by
dkga...@gmail.com
on 5 Nov 2007 at 3:46Attachments: