Bugzilla – Bug 98
[buildscripts] Building into objdir with .o in it fails
Last modified: 2003-11-08 15:25:59
You need to log in before you can comment on or make changes to this bug.
The makefiles die with this error message: make[1]: Entering directory `/proj/work/llvm.obj/lib/Target/X86' make[1]: *** No rule to make target `/proj/work/llvm.lobj/lib/Target/X86/X86GenRegisterInfo.h.inc', needed by `/proj/work/llvm.obj/lib/Target/X86/Depend/X86TargetMachine.d'. Stop. make[1]: Leaving directory `/proj/work/llvm.obj/lib/Target/X86' make: *** [all] Error 1 It is a mystery to me how this could every have worked.
Hopefully these patches will fix the problem. I'm waiting for confirmation from the user: http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031103/009175.html http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031103/009176.html -Chris
As it turns out, this was a really nasty problem with SED. Here's the fix: http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031103/009177.html
Ok, I was wrong. That fix broke automatic makefile dependency generation completely. Here's the correct fix: http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031103/009235.html -Chris