<html>
    <head>
      <base href="http://bugs.llvm.org/">
    </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 - llvm-dsymutils fails on FSF gcc binaries"
   href="http://bugs.llvm.org/show_bug.cgi?id=32104">32104</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-dsymutils fails on FSF gcc binaries
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>4.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </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>howarth.mailing.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The llvm-dsymutils from the llvm 3.7.1, llvm-3.8.1. llvm-3.9.1 and llvm-4.0svn
releases all fail to process the lto1. cc1, f951, cc1obj, cc1plus and
cc1objplus binaries from a FSF gcc 7.0svn build. The failures are slightly
different and using the attached FSF gcc 7.0svn build binaries with the
llvm-dsymutils from the Macports llvm-3.7, llvm-3.8, llvm-3.9 and llvm-4.0
packages appears as....

[Mac-Pro:gcc7-7.0.1-1/darwin_objdir/gcc] root#
/opt/local/libexec/llvm-3.7/bin/llvm-dsymutil lto1
0  libLLVM-3.7.dylib        0x000000010eb46529
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 57
1  libLLVM-3.7.dylib        0x000000010eb46ae6 SignalHandler(int) + 216
2  libsystem_platform.dylib 0x00007fff8f61cb3a _sigtramp + 26
3  libsystem_platform.dylib 0x0000000000000002 _sigtramp + 1889416418
4  llvm-dsymutil            0x000000010df5e03a llvm::dsymutil::(anonymous
namespace)::DwarfLinker::cloneDIE(llvm::DWARFDebugInfoEntryMinimal const&,
llvm::dsymutil::(anonymous namespace)::CompileUnit&, long long, unsigned int) +
5852
5  llvm-dsymutil            0x000000010df5e27f llvm::dsymutil::(anonymous
namespace)::DwarfLinker::cloneDIE(llvm::DWARFDebugInfoEntryMinimal const&,
llvm::dsymutil::(anonymous namespace)::CompileUnit&, long long, unsigned int) +
6433
6  llvm-dsymutil            0x000000010df58f97 llvm::dsymutil::(anonymous
namespace)::DwarfLinker::link(llvm::dsymutil::DebugMap const&) + 10025
7  llvm-dsymutil            0x000000010df56374
llvm::dsymutil::linkDwarf(llvm::StringRef, llvm::dsymutil::DebugMap const&,
llvm::dsymutil::LinkOptions const&) + 724
8  llvm-dsymutil            0x000000010df66c82 main + 1082
9  libdyld.dylib            0x00007fff8f40d235 start + 1
10 libdyld.dylib            0x0000000000000002 start + 1891577294
Stack dump:
0.      Program arguments: /opt/local/libexec/llvm-3.7/bin/llvm-dsymutil lto1 
Segmentation fault

[Mac-Pro:gcc7-7.0.1-1/darwin_objdir/gcc] root#
/opt/local/libexec/llvm-3.8/bin/llvm-dsymutil lto1
0  libLLVM.dylib            0x0000000107457670
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 43
1  libLLVM.dylib            0x0000000107456ebe llvm::sys::RunSignalHandlers() +
44
2  libLLVM.dylib            0x0000000107457a3e SignalHandler(int) + 153
3  libsystem_platform.dylib 0x00007fff8f61cb3a _sigtramp + 26
4  libLLVM.dylib            0x0000000107416992
llvm::FoldingSetNodeID::AddInteger(unsigned int) + 20
5  llvm-dsymutil            0x00000001073c6325 llvm::dsymutil::(anonymous
namespace)::DwarfLinker::DIECloner::cloneDIE(llvm::DWARFDebugInfoEntryMinimal
const&, llvm::dsymutil::(anonymous namespace)::CompileUnit&, long long,
unsigned int, unsigned int) + 6477
6  llvm-dsymutil            0x00000001073c65e5 llvm::dsymutil::(anonymous
namespace)::DwarfLinker::DIECloner::cloneDIE(llvm::DWARFDebugInfoEntryMinimal
const&, llvm::dsymutil::(anonymous namespace)::CompileUnit&, long long,
unsigned int, unsigned int) + 7181
7  llvm-dsymutil            0x00000001073bd682 llvm::dsymutil::(anonymous
namespace)::DwarfLinker::DIECloner::cloneAllCompileUnits(llvm::DWARFContextInMemory&)
+ 2080
8  llvm-dsymutil            0x00000001073b96dc
llvm::dsymutil::linkDwarf(llvm::StringRef, llvm::dsymutil::DebugMap const&,
llvm::dsymutil::LinkOptions const&) + 7848
9  llvm-dsymutil            0x00000001073aeb18 main + 1810
10 libdyld.dylib            0x00007fff8f40d235 start + 1
11 libdyld.dylib            0x0000000000000002 start + 1891577294
Stack dump:
0.      Program arguments: /opt/local/libexec/llvm-3.8/bin/llvm-dsymutil lto1 
Segmentation fault

[Mac-Pro:gcc7-7.0.1-1/darwin_objdir/gcc] root#
/opt/local/libexec/llvm-3.9/bin/llvm-dsymutil lto1
Stack dump:
0.      Program arguments: /opt/local/libexec/llvm-3.9/bin/llvm-dsymutil lto1 
Segmentation fault

[Mac-Pro:gcc7-7.0.1-1/darwin_objdir/gcc] root#
/opt/local/libexec/llvm-4.0/bin/llvm-dsymutil lto1
0  libLLVM.dylib            0x000000010f28ee83
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1  libLLVM.dylib            0x000000010f28e4e3 llvm::sys::RunSignalHandlers() +
83
2  libLLVM.dylib            0x000000010f28f28b SignalHandler(int) + 183
3  libsystem_platform.dylib 0x00007fff8f61cb3a _sigtramp + 26
4  libsystem_platform.dylib 0x000000010e36f440 _sigtramp + 2127898912
5  libLLVM.dylib            0x000000010f2200b5 void
llvm::SmallVectorImpl<char>::append<char const*>(char const*, char const*) + 85
6  llvm-dsymutil            0x000000010e071d6d llvm::dsymutil::(anonymous
namespace)::DwarfStreamer::emitPubSectionForUnit(llvm::MCSection*,
llvm::StringRef, llvm::dsymutil::(anonymous namespace)::CompileUnit const&,
std::__1::vector<llvm::dsymutil::(anonymous namespace)::CompileUnit::AccelInfo,
std::__1::allocator<llvm::dsymutil::(anonymous
namespace)::CompileUnit::AccelInfo> > const&) + 899
7  llvm-dsymutil            0x000000010e068769 llvm::dsymutil::(anonymous
namespace)::DwarfLinker::DIECloner::cloneAllCompileUnits(llvm::DWARFContextInMemory&)
+ 6979
8  llvm-dsymutil            0x000000010e063367
llvm::dsymutil::linkDwarf(llvm::StringRef, llvm::dsymutil::DebugMap const&,
llvm::dsymutil::LinkOptions const&) + 8622
9  llvm-dsymutil            0x000000010e057341 main + 1910
10 libdyld.dylib            0x00007fff8f40d235 start + 1
11 libdyld.dylib            0x0000000000000002 start + 1891577294
Stack dump:
0.      Program arguments: /opt/local/libexec/llvm-4.0/bin/llvm-dsymutil lto1 
Segmentation fault

Note that the llvm-dsymutils from Xcode 8.2.1 works fine but that that from the
Xcode 8.3 beta releases fails in yet a different manner on the FSF gcc
binaries...

cd /
sudo tar -jxvf sw.tar.bz2
cd /sw/src/fink.build/gcc7-7.0.1-1/darwin_objdir/gcc
sudo dsymutil lto1

with an 'Illegal instruction' error. The Xcode 8.3 regression is filed on radar
as 30613458 titled "dsymutil regression in Xcode 8.3 betas".</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>