<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - In git/svn trunk, make for .../llvm fails building tools/extras"
   href="http://llvm.org/bugs/show_bug.cgi?id=21633">21633</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>In git/svn trunk, make for .../llvm  fails building tools/extras
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Makefiles
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>robfowlerhpc@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Did a git pull on llvm and clang on my Ubuntu 14.04 laptop with all current
patches so I could do some work at a conference investigating a code generation
(performance, not correctness) bug (that was present) in clang 3.4.2, i.e., to
ensure that the bug was still present.

make failed after crunching for a couple of hours with complaints about not
finding an iterator deep in the bowels of clang.  (Sorry, the sysout from make
s long gone) I then did "svn update" for both llvm and clang to (trunk 222399),
did a vanilla reconfigure, make clean, and make.  The process failed somewhere
lse with complaints about not finding some directory related to gcc.  (Sorry,
that's gone too.) At that point I uninstalled and reinstalled gcc/g+ 4.8.2
binaries from the Ubuntu repository.  I also decided to accelerate the process,
so I cut back on the  target set.  In the penultimate iteration:

----------------------------
build$ ../llvm/configure --prefix=/home/xxx --enable-targets="nvptx x86_64"

build$ make

<< lots elided >>

llvm[5]: Compiling PreprocessorTracker.cpp for Debug+Asserts build
/home/rjf/LLVM-clang/llvm/tools/clang/tools/extra/modularize/PreprocessorTracker.cpp:
In member function ‘void
Modularize::PreprocessorTrackerImpl::handleHeaderEntry(clang::Preprocessor&,
llvm::StringRef)’:
/home/rjf/LLVM-clang/llvm/tools/clang/tools/extra/modularize/PreprocessorTracker.cpp:960:24:
error: no match for ‘operator!’ (operand type is
‘std::pair<llvm::NoneType, bool>’)
       InNestedHeader = !HeadersInThisCompile.insert(H);
                        ^
/home/rjf/LLVM-clang/llvm/tools/clang/tools/extra/modularize/PreprocessorTracker.cpp:960:24:
note: candidate is:
/home/rjf/LLVM-clang/llvm/tools/clang/tools/extra/modularize/PreprocessorTracker.cpp:960:24:
note: operator!(bool) <built-in>
/home/rjf/LLVM-clang/llvm/tools/clang/tools/extra/modularize/PreprocessorTracker.cpp:960:24:
note:   no known conversion for argument 1 from
‘std::pair<llvm::NoneType, bool>’ to ‘bool’

<< make continued past this point, but eventually bails from this error.>>
-----------------------------------------

At that point I got rid of the extras directories in the distribution tree and
all was copacetic regarding subsequent make and make install of the mainline
clang, etc.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>