<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 --- - r229094 breaks gold-plugin"
   href="http://llvm.org/bugs/show_bug.cgi?id=22581">22581</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>r229094 breaks gold-plugin
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>hjl.tools@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>chandlerc@gmail.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On Fedora 20/x86-64, with

commit 417c5c172ce0d56105112481b1bcf0bc2fc011c2
Author: Chandler Carruth <<a href="mailto:chandlerc@gmail.com">chandlerc@gmail.com</a>>
Date:   Fri Feb 13 10:01:29 2015 +0000

    [PM] Remove the old 'PassManager.h' header file at the top level of
    LLVM's include tree and the use of using declarations to hide the
    'legacy' namespace for the old pass manager.

    This undoes the primary modules-hostile change I made to keep
    out-of-tree targets building. I sent an email inquiring about whether
    this would be reasonable to do at this phase and people seemed fine with
    it, so making it a reality. This should allow us to start bootstrapping
    with modules to a certain extent along with making it easier to mix and
    match headers in general.

    The updates to any code for users of LLVM are very mechanical. Switch
    from including "llvm/PassManager.h" to "llvm/IR/LegacyPassManager.h".
    Qualify the types which now produce compile errors with "legacy::". The
    most common ones are "PassManager", "PassManagerBase", and
    "FunctionPassManager".

I got

In file included from /export/ssd/git/llvm/tools/gold/gold-plugin.cpp:40:0:
/export/ssd/git/llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h:55:7:
note:   ‘llvm::PassManagerBuilder’
 class PassManagerBuilder {
       ^
/export/ssd/git/llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h:55:7:
note:   ‘llvm::PassManagerBuilder’
/export/ssd/git/llvm/tools/gold/gold-plugin.cpp:700:30: error: expected ‘;’
before ‘PMB’
   legacy::PassManagerBuilder PMB; 
                              ^
/export/ssd/git/llvm/tools/gold/gold-plugin.cpp:701:3: error: ‘PMB’ was not
declared in this scope
   PMB.LibraryInfo = new TargetLibraryInfoImpl(Triple(TM.getTargetTriple()));
   ^
/usr/bin/rm: cannot remove
‘/export/build/gnu/llvm-clang/build-x86_64-linux/tools/gold/Debug+Asserts/gold-plugin.d.tmp’:
No such file or directory
make[3]: ***
[/export/build/gnu/llvm-clang/build-x86_64-linux/tools/gold/Debug+Asserts/gold-plugin.o]
Error 1</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>