Wasm compiler_builtins rlib includes objects for host architecture(x86_64)
Description:
The compiler_builtins rlib for wasm targets includes object files for host architecture:
For example, for wasm32-wasip2: /usr/lib/rustlib/wasm32-wasip2/lib/libcompiler_builtins-fbc2432990e9c4f9.rlib
$ mkdir tmp && cd tmp
$ ar x /usr/lib/rustlib/wasm32-wasip2/lib/libcompiler_builtins-fbc2432990e9c4f9.rlib
$ file *.o
1f2fa5af64c4f33c-absvdi2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-absvsi2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-absvti2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-addvdi3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-addvsi3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-addvti3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-cmpdi2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-cmpti2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-divdc3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-divsc3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-ffsti2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-int_util.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-muldc3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-mulsc3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-mulvdi3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-mulvsi3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-mulvti3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-negdf2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-negdi2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-negsf2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-negti2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-negvdi2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-negvsi2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-negvti2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-paritydi2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-paritysi2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-parityti2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-popcountdi2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-popcountsi2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-popcountti2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-subvdi3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-subvsi3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-subvti3.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-ucmpdi2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
1f2fa5af64c4f33c-ucmpti2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.000.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.001.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.002.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.003.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.004.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.005.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.006.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.007.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.008.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.009.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.010.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.011.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.012.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.013.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.014.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.015.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.016.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.017.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.018.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.019.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.020.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.021.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.022.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.023.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-fbc2432990e9c4f9.compiler_builtins.822046d1e7a35bdc-cgu.024.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
...
Official binary distributed through rustup does not have this problem (~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasip2/lib/libcompiler_builtins-ebc7929af1c29611.rlib
):
$ file *.o
45c91108d938afe8-absvdi2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-absvsi2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-absvti2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-addvdi3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-addvsi3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-addvti3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-cmpdi2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-cmpti2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-divdc3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-divsc3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-ffsti2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-int_util.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-muldc3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-mulsc3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-mulvdi3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-mulvsi3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-mulvti3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-negdf2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-negdi2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-negsf2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-negti2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-negvdi2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-negvsi2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-negvti2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-paritydi2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-paritysi2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-parityti2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-popcountdi2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-popcountsi2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-popcountti2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-subvdi3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-subvsi3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-subvti3.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-ucmpdi2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
45c91108d938afe8-ucmpti2.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-ebc7929af1c29611.compiler_builtins.109002555134773c-cgu.000.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-ebc7929af1c29611.compiler_builtins.109002555134773c-cgu.001.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-ebc7929af1c29611.compiler_builtins.109002555134773c-cgu.002.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-ebc7929af1c29611.compiler_builtins.109002555134773c-cgu.003.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-ebc7929af1c29611.compiler_builtins.109002555134773c-cgu.004.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-ebc7929af1c29611.compiler_builtins.109002555134773c-cgu.005.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-ebc7929af1c29611.compiler_builtins.109002555134773c-cgu.006.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
compiler_builtins-ebc7929af1c29611.compiler_builtins.109002555134773c-cgu.007.rcgu.o: WebAssembly (wasm) binary module version 0x1 (MVP)
Additional info:
- package version(s): 1:1.82.0-1
- config and/or log files:
- link to upstream bug report, if any:
Steps to reproduce:
See Description section.