Closed dslm4515 closed 5 years ago
Just checked the binary:
If working a file
binary checks itself:
$ file /usr/bin/file
/usr/bin/file: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked,
interpreter /lib/ld-musl-i386.so.1, stripped
But if I try it on the newly built one, I get:
ELF 32-bit LSB pie executable Intel 80386, version 1 (SYSV), dynamically linked,
interpreter /lib/ld-musl-i386.so.1, BuildID[sha1]=9c6f535870f528577adb4c297ee5c179725e97fc,
with debug_info, not stripped
Add "--disable-libseccomp" to configure:
./configure --prefix=/cross-tools --disable-libseccomp
Now, build succeeds!
File
will compile with errors:But I can still complete build with
make -k
andmake -k install
. If i try to use the newly builtfile
binary, it exits withBad system call
Host system is a MLFS build (stable-2.01) and it cannot seem to build
file
from source... but the system installedfile
does work. I first thought it was the introduction ofgcc-8.2.0
but host hasgcc-7.3.0
and still cannot compilefile