First Last Prev Next    No search results available
Details
: Bad path to the C/C++ frontend causes build problems
Bug#: 96
: Build scripts
: autoconf
Status: RESOLVED
Resolution: FIXED
: All
: All
: 1.0
: P2
: major
: 1.1

:
: build-problem, quality-of-implementation
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Chris Lattner <clattner@apple.com>
Assigned To: Brian R. Gaeke <gaeke+bugs@uiuc.edu>
:

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2003-11-06 15:02
This is an important usability problem with the current build scripts.  In
particular:

1. When configuring, autoconf should check whether the CFE is found (in the
   specified directory) and works.  If not, print out LOUD warnings, but do
   not set LLVMGCCPATH in the Makefile.config.

2. When building the runtime directory, don't build subdirs if the LLVMGCCPATH
   variable is not set, instead, print out another loud warning.

This is really important because this seems to be, by far, the most serious
end-user problem encountered by people.  Especially since the getting started
guide was broken in the 1.0 release.

-Chris
------- Comment #1 From Brian R. Gaeke 2003-11-06 15:20:33 -------
When fixing this, we must keep in mind the need to be able to bootstrap the
C/C++FE sanely; someone should update the CFEBuildInstrs.html document. (I can
if no one else wants to, but it will be trial and error for me....)

------- Comment #2 From Brian R. Gaeke 2003-11-16 00:53:21 -------
Item 2, above, is done. (Someone should double-check my work on that Makefile to
make sure it looks OK.)  In Chris's original comment, I think he meant LLVMGCCDIR.

------- Comment #3 From Brian R. Gaeke 2003-11-16 00:53:56 -------
Whoops, I meant to assign this to myself....
------- Comment #4 From Brian R. Gaeke 2003-11-16 12:43:07 -------
Ok, item 1 is done too. I've done some testing locally, but please feel free to
check it out.

http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031110/009551.html
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031110/009553.html
------- Comment #5 From Chris Lattner 2003-11-16 13:09:21 -------
The makefile changes look wonderful.  John, please take a look at the configure
changes to make sure you're happy with them.

Thanks Brian!!

-Chris

First Last Prev Next    No search results available