<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 - r369233 breaks linking of packages in Chrome OS"
href="https://bugs.llvm.org/show_bug.cgi?id=43092">43092</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>r369233 breaks linking of packages in Chrome OS
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>maskray@google.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>manojgupta@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>george.burgess.iv@gmail.com, htmldeveloper@gmail.com, llozano@chromium.org, llvm-bugs@lists.llvm.org, manojgupta@google.com, zhizhouy@google.com
</td>
</tr></table>
<p>
<div>
<pre>Post r369233: [MC] Don't emit .symver redirected symbols to the symbol table
(<a href="https://reviews.llvm.org/rL369233">https://reviews.llvm.org/rL369233</a>), some packages in Chrome OS fail to link
with gold linker.
<a href="https://ci.chromium.org/p/chromeos/builders/general/Try/b8904712082539323888">https://ci.chromium.org/p/chromeos/builders/general/Try/b8904712082539323888</a>
Some error logs:
alsa-lib-1.1.6-r3: libtool: link: armv7a-cros-linux-gnueabihf-clang -shared
-fPIC -DPIC .libs/conf.o .libs/confmisc.o .libs/input.o .libs/output.o
.libs/async.o .libs/error.o .libs/dlmisc.o .libs/socket.o .libs/shmarea.o
.libs/userfile.o .libs/names.o -Wl,--whole-archive control/.libs/libcontrol.a
mixer/.libs/libmixer.a pcm/.libs/libpcm.a timer/.libs/libtimer.a
rawmidi/.libs/librawmidi.a hwdep/.libs/libhwdep.a seq/.libs/libseq.a
ucm/.libs/libucm.a topology/.libs/libtopology.a -Wl,--no-whole-archive
-Wl,--as-needed -lm -ldl -lpthread -lrt -O2 -march=armv8-a+crc
-mtune=cortex-a57.cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -g
-Wl,--version-script=Versions -Wl,--no-undefined -Wl,-O2 -Wl,-soname
-Wl,libasound.so.2 -o .libs/libasound.so.2.0.0
alsa-lib-1.1.6-r3: ../../../alsa-lib-1.1.6/src/mixer/simple_abst.c:130: error:
undefined reference to '__snd_dlopen'
alsa-lib-1.1.6-r3: ../../../alsa-lib-1.1.6/src/pcm/pcm_params.c:2335: error:
undefined reference to '__snd_pcm_hw_params_get_access'
alsa-lib-1.1.6-r3: ../../../alsa-lib-1.1.6/src/pcm/pcm_params.c:2336: error:
undefined reference to '__snd_pcm_hw_params_get_format'
fuse-common-3.2.6-r2: [44/64] armv7a-cros-linux-gnueabihf-clang -o
lib/libfuse3.so.3.2.6 'lib/76b5a35@@fuse3@sha/fuse.c.o'
'lib/76b5a35@@fuse3@sha/fuse_loop.c.o'
'lib/76b5a35@@fuse3@sha/fuse_loop_mt.c.o'
'lib/76b5a35@@fuse3@sha/fuse_lowlevel.c.o'
'lib/76b5a35@@fuse3@sha/fuse_opt.c.o' 'lib/76b5a35@@fuse3@sha/fuse_signals.c.o'
'lib/76b5a35@@fuse3@sha/buffer.c.o' 'lib/76b5a35@@fuse3@sha/cuse_lowlevel.c.o'
'lib/76b5a35@@fuse3@sha/helper.c.o' 'lib/76b5a35@@fuse3@sha/modules_subdir.c.o'
'lib/76b5a35@@fuse3@sha/mount.c.o' 'lib/76b5a35@@fuse3@sha/mount_util.c.o'
'lib/76b5a35@@fuse3@sha/modules_iconv.c.o' -Wl,--no-undefined -Wl,--as-needed
-shared -fPIC -Wl,--start-group -Wl,-soname,libfuse3.so.3
-Wl,--version-script,/build/kevin/tmp/portage/sys-fs/fuse-common-3.2.6-r2/work/fuse-3.2.6/lib/fuse_versionscript
-ldl -lrt -Wl,--end-group -pthread -O2 -pipe -march=armv8-a+crc
-mtune=cortex-a57.cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -g
-fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wl,-O2
-Wl,--as-needed
fuse-common-3.2.6-r2: FAILED: lib/libfuse3.so.3.2.6
fuse-common-3.2.6-r2: armv7a-cros-linux-gnueabihf-clang -o
lib/libfuse3.so.3.2.6 'lib/76b5a35@@fuse3@sha/fuse.c.o'
'lib/76b5a35@@fuse3@sha/fuse_loop.c.o'
'lib/76b5a35@@fuse3@sha/fuse_loop_mt.c.o'
'lib/76b5a35@@fuse3@sha/fuse_lowlevel.c.o'
'lib/76b5a35@@fuse3@sha/fuse_opt.c.o' 'lib/76b5a35@@fuse3@sha/fuse_signals.c.o'
'lib/76b5a35@@fuse3@sha/buffer.c.o' 'lib/76b5a35@@fuse3@sha/cuse_lowlevel.c.o'
'lib/76b5a35@@fuse3@sha/helper.c.o' 'lib/76b5a35@@fuse3@sha/modules_subdir.c.o'
'lib/76b5a35@@fuse3@sha/mount.c.o' 'lib/76b5a35@@fuse3@sha/mount_util.c.o'
'lib/76b5a35@@fuse3@sha/modules_iconv.c.o' -Wl,--no-undefined -Wl,--as-needed
-shared -fPIC -Wl,--start-group -Wl,-soname,libfuse3.so.3
-Wl,--version-script,/build/kevin/tmp/portage/sys-fs/fuse-common-3.2.6-r2/work/fuse-3.2.6/lib/fuse_versionscript
-ldl -lrt -Wl,--end-group -pthread -O2 -pipe -march=armv8-a+crc
-mtune=cortex-a57.cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -g
-fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wl,-O2
-Wl,--as-needed
fuse-common-3.2.6-r2: ../fuse-3.2.6/lib/cuse_lowlevel.c:356: error: undefined
reference to 'fuse_session_loop_mt_32'
fuse-common-3.2.6-r2: ../fuse-3.2.6/lib/helper.c:311: error: undefined
reference to 'fuse_new_31'
fuse-common-3.2.6-r2: ../fuse-3.2.6/lib/helper.c:339: error: undefined
reference to 'fuse_loop_mt_32'
The working build logs with source files/old objects are at
<a href="https://drive.google.com/drive/folders/1qD5uxkiCHCsh3GJG9M7ADCzHekaUkyrk?usp=sharing">https://drive.google.com/drive/folders/1qD5uxkiCHCsh3GJG9M7ADCzHekaUkyrk?usp=sharing</a></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>