<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 - LLVM ERROR: malformed uleb128, extends past end"
href="https://bugs.llvm.org/show_bug.cgi?id=46657">46657</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLVM ERROR: malformed uleb128, extends past end
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</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>wasm
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Maverick@protocomplete.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, sbc@chromium.org
</td>
</tr></table>
<p>
<div>
<pre>(note: I am on Windows 10 not NT)
At the final step in my build script, I cannot compile two files together which
both have the same input flags. One is a custom port of RakNet and the other is
a simple C++ program that uses it. Both compile by themselves but I cannot put
them together to generate an HTML output.
LLVM ERROR: malformed uleb128, extends past end
PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace.
Stack dump:
0. Program arguments: X:/Big_Code/emsdk/upstream/bin\wasm-ld.exe -o
C:\Users\Proto\AppData\Local\Temp\emscripten_temp_kzpnb07t\SocksClient.wasm
Output/Raknet/RakNet.bc ./SocksClient.bc
-LX:\Big_Code\emsdk\upstream\emscripten\system\local\lib
-LX:\Big_Code\emsdk\upstream\emscripten\cache\wasm
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libc-mt.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libcompiler_rt.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libc-wasm.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libc++-mt-noexcept.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libc++abi-mt-noexcept.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libdlmalloc-mt.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libpthread-mt.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libc_rt_wasm.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libsockets_proxy-mt.a -mllvm
-combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm
-disable-lsr --allow-undefined --import-memory --import-table --shared-memory
--strip-debug --export main --export malloc --export free --export stackSave
--export stackRestore --export stackAlloc --export __data_end --export
__wasm_call_ctors --export fflush --export __errno_location --export
emscripten_get_global_libc --export __pthread_tsd_run_dtors --export
pthread_self --export __emscripten_pthread_data_constructor --export
emscripten_futex_wake --export memalign --export proxy_main --export htonl
--export htons --export ntohs -z stack-size=5242880 --initial-memory=16777216
--no-entry --max-memory=16777216 --global-base=1024
#0 0x00007ff704a60fe6 (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x30fe6)
#1 0x00007ff9b3d8cb7d (C:\WINDOWS\System32\ucrtbase.dll+0x6cb7d)
#2 0x00007ff9b3d8db81 (C:\WINDOWS\System32\ucrtbase.dll+0x6db81)
#3 0x00007ff704a63972 (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x33972)
#4 0x00007ff704a63777 (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x33777)
#5 0x00007ff7064cf18c (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x1a9f18c)
#6 0x00007ff7064cb313 (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x1a9b313)
#7 0x00007ff7064cb07a (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x1a9b07a)
#8 0x00007ff7064caeff (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x1a9aeff)
#9 0x00007ff7064ca725 (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x1a9a725)
#10 0x00007ff7064f111a (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x1ac111a)
#11 0x00007ff7064f9447 (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x1ac9447)
#12 0x00007ff7064bb446 (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x1a8b446)
#13 0x00007ff704d46e89 (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x316e89)
#14 0x00007ff704d38f02 (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x308f02)
#15 0x00007ff704d36bea (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x306bea)
#16 0x00007ff704d33803 (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x303803)
#17 0x00007ff704a31746 (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x1746)
#18 0x00007ff706894f08 (X:\Big_Code\emsdk\upstream\bin\wasm-ld.exe+0x1e64f08)
#19 0x00007ff9b58b7bd4 (C:\WINDOWS\System32\KERNEL32.DLL+0x17bd4)
#20 0x00007ff9b636ce51 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x6ce51)
emcc: error: 'X:/Big_Code/emsdk/upstream/bin\wasm-ld.exe -o
C:\Users\Proto\AppData\Local\Temp\emscripten_temp_kzpnb07t\SocksClient.wasm
Output/Raknet/RakNet.bc ./SocksClient.bc
-LX:\Big_Code\emsdk\upstream\emscripten\system\local\lib
-LX:\Big_Code\emsdk\upstream\emscripten\cache\wasm
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libc-mt.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libcompiler_rt.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libc-wasm.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libc++-mt-noexcept.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libc++abi-mt-noexcept.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libdlmalloc-mt.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libpthread-mt.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libc_rt_wasm.a
X:\Big_Code\emsdk\upstream\emscripten\cache\wasm\libsockets_proxy-mt.a -mllvm
-combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm
-disable-lsr --allow-undefined --import-memory --import-table --shared-memory
--strip-debug --export main --export malloc --export free --export stackSave
--export stackRestore --export stackAlloc --export __data_end --export
__wasm_call_ctors --export fflush --export __errno_location --export
emscripten_get_global_libc --export __pthread_tsd_run_dtors --export
pthread_self --export __emscripten_pthread_data_constructor --export
emscripten_futex_wake --export memalign --export proxy_main --export htonl
--export htons --export ntohs -z stack-size=5242880 --initial-memory=16777216
--no-entry --max-memory=16777216 --global-base=1024' failed (3221225501)</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>