musllvm icon indicating copy to clipboard operation
musllvm copied to clipboard

The latest version does some funkyness.

Open ianamason opened this issue 6 years ago • 1 comments

Both extract-bc and get-bc seem to be fooled by the build process.

Warning: Failed to find the file /vagrant/musllvm/obj/src/ldso/.dlopen.o.bc

because it isn't called o but rather lo:

 ls -la obj/src/ldso/.dlopen*
-rw-r--r-- 1 vagrant vagrant 1868 Apr 18 13:25 obj/src/ldso/.dlopen.lo.bc

Not sure why lo and o are different (in the reverse way):

ls -la obj/src/ldso/dlopen*
-rw-r--r-- 1 vagrant vagrant 1424 Apr 18 13:25 obj/src/ldso/dlopen.lo
-rw-r--r-- 1 vagrant vagrant 1392 Apr 18 13:23 obj/src/ldso/dlopen.o

ianamason avatar Apr 18 '18 14:04 ianamason

The reason is that *.lo files are Libtool object files, whereas *.o files are ELF/PE/Mach-O object files. *.lo files are plain text documents that provide some info for the object file.

JL2210 avatar Feb 04 '19 19:02 JL2210