[LLVMbugs] [Bug 1225] NEW: installed llvm-config tries to enter build directory
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Feb 25 09:54:17 PST 2007
http://llvm.org/bugs/show_bug.cgi?id=1225
Summary: installed llvm-config tries to enter build directory
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: me22.ca at gmail.com
This seems like another bug having to do with tools assuming that llvm is left
in its build directory and never installed. ( Like
http://llvm.org/bugs/show_bug.cgi?id=1106 )
Even after install, llvm-config references the build directory, and not the
prefix. For example:
$ llvm-config --src-root
sh: line 0: cd: /var/tmp/portage/dev-lang/llvm-9999-r20070224/work/llvm/: No
such file or directory
This seems like it prevents llvm-gcc from building:
config.status: executing default commands
sh: line 0: cd: /var/tmp/portage/dev-lang/llvm-9999-r20070224/work/llvm/: No
such file or directory
llvm-config: unknown component name: transforms
echo '/*WARNING: This file is automatically generated!*/' >tmp-c-parse.y
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../llvm-gcc4-1.9.source/gcc/mkconfig.sh config.h
sed -e "/^@@ifobjc.*/,/^@@end_ifobjc.*/d" \
-e "/^@@ifc.*/d" -e "/^@@end_ifc.*/d"
../llvm-gcc4-1.9.source/gcc/c-parse.in >>tmp-c-parse.y
/bin/sh ../llvm-gcc4-1.9.source/gcc/../move-if-change tmp-c-parse.y c-parse.y
# APPLE LOCAL mainline rewrite
touch c-parse.y
TARGET_CPU_DEFAULT="" \
HEADERS="config/i386/i386.h config/i386/unix.h config/i386/att.h
config/dbxelf.h config/elfos.h config/svr4.h config/linux.h config/i386/linux.h
defaults.h" DEFINES="" \
/bin/sh ../llvm-gcc4-1.9.source/gcc/mkconfig.sh tm.h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../llvm-gcc4-1.9.source/gcc/mkconfig.sh bconfig.h
make: *** No rule to make target
`../build-i686-pc-linux-gnu/libiberty/libiberty.a', needed by `build/genmodes'.
Stop.
make: *** Waiting for unfinished jobs....
This will probably also cause problems for resolving
http://llvm.org/bugs/show_bug.cgi?id=1106
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list