<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 - wasm-ld: crash in string merging with emscripten sqlite test"
href="https://bugs.llvm.org/show_bug.cgi?id=50291">50291</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>wasm-ld: crash in string merging with emscripten sqlite test
</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>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</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>sbc@chromium.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, sbc@chromium.org
</td>
</tr></table>
<p>
<div>
<pre>test_sqlite at O2 and above is failing with:
```wasm-ld: error: /tmp/emscripten_temp_92a2xc_i/src_0.o:(.rodata..L.str.55):
offset is outside the section
emcc: error: '/usr/local/google/home/sbc/dev/wasm/llvm-build/bin/wasm-ld -o
src.wasm /tmp/emscripten_temp_92a2xc_i/src_0.o
-L/usr/local/google/home/sbc/dev/wasm/emscripten/cache/sysroot/lib/wasm32-emscripten
/usr/local/google/home/sbc/dev/wasm/emscripten/cache/sysroot/lib/wasm32-emscripten/libgl.a
/usr/local/google/home/sbc/dev/wasm/emscripten/cache/sysroot/lib/wasm32-emscripten/libal.a
/usr/local/google/home/sbc/dev/wasm/emscripten/cache/sysroot/lib/wasm32-emscripten/libhtml5.a
/usr/local/google/home/sbc/dev/wasm/emscripten/cache/sysroot/lib/wasm32-emscripten/libc.a
/usr/local/google/home/sbc/dev/wasm/emscripten/cache/sysroot/lib/wasm32-emscripten/libcompiler_rt.a
/usr/local/google/home/sbc/dev/wasm/emscripten/cache/sysroot/lib/wasm32-emscripten/libdlmalloc.a
/usr/local/google/home/sbc/dev/wasm/emscripten/cache/sysroot/lib/wasm32-emscripten/libc_rt_wasm.a
/usr/local/google/home/sbc/dev/wasm/emscripten/cache/sysroot/lib/wasm32-emscripten/libsockets.a
-mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj
-mllvm -disable-lsr --allow-undefined --strip-debug --export main --export
sqlite3_open --export sqlite3_close --export sqlite3_exec --export sqlite3_free
--export stackSave --export stackRestore --export stackAlloc --export
__wasm_call_ctors --export __errno_location --export malloc --export free
--export _get_tzname --export _get_daylight --export _get_timezone --export
memalign --export memset --export-if-defined=__start_em_asm
--export-if-defined=__stop_em_asm --export-table -z stack-size=5242880
--initial-memory=16777216 --no-entry --max-memory=16777216 --global-base=1024'
failed (1)
```
This seems to be the only occurrence of this crash in the whole test suite..
and it doesn't happen at -O0 or -O1.</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>