<html>
<head>
<base href="https://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 - LLVMgold.so cannot initialize LTO module when file is odd-length"
href="https://bugs.llvm.org/show_bug.cgi?id=33534">33534</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLVMgold.so cannot initialize LTO module when file is odd-length
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>4.0
</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>Linker
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>incertia@incertia.net
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Consider the following dummy object file assembled with fasm.
```
; test.s
format ELF64
section '.rodata'
msg db '00'
```
# fasm test.s test.o
flat assembler version 1.71.60 (16384 kilobytes memory)
1 passes, 395 bytes.
# nm test.o
bfd plugin: LLVM gold plugin has failed to create LTO module: Invalid data was
encountered while parsing the file
nm: test.o: no symbols
# mv /lib/LLVMgold.so ./
# nm test.o
# exit
I'm not sure if this is a problem with libLTO or LLVMgold, but ldd shows no
dependence on libLTO.so for LLVMgold.so.</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>