As you can see from attachment putty.txt, I have successfully built a static version of ffmpeg 4.4 as I need the libraries for Migrate Vn 0.9 (all about adding transcoding subtitles : including non-graphical forms). Slightly off topic : I offered my DVD language metadata enhancements to ffmpeg on ticket #9158 and it went down like the proverbial lead balloon.
I wondered if it was possible to build the shared libraries from the static objects I had i.e. no other dependencies e.g. libx264, libx265, … Or to put it another way no dependencies outside ffmpeg’s DSOs (Dynamic Shared Object also known as shared library). Building a DSO from purely static parts is a generic linux “black art”.
As you can see from attachment Errors.txt, I have made DSOs that the “on box” GCC is happy to link against. The .7z of the .tar used is 11.7 MB (12,316,672 bytes) so is probably bigger than I can attach. My “silly question” is am I missing a package for the llrint(f) errors? I know these functions are not part of ulibc, but I have only installed the basic gcc bundle.
As you can see from attachment SimulatorError.txt, my next problem is dynamic link loading TLS (Thread-Local Storage) data. As the native hardware and the simulator have almost identical linux kernels, the native ld.so is likely to have the same reaction to the DSOs. This is a very similar problem to the one that resulted in ld-linux.so.2 for early x86 pc’s, so I am going to try that approach for my own intellectual curiosity.
I wondered if it was possible to build the shared libraries from the static objects I had i.e. no other dependencies e.g. libx264, libx265, … Or to put it another way no dependencies outside ffmpeg’s DSOs (Dynamic Shared Object also known as shared library). Building a DSO from purely static parts is a generic linux “black art”.
As you can see from attachment Errors.txt, I have made DSOs that the “on box” GCC is happy to link against. The .7z of the .tar used is 11.7 MB (12,316,672 bytes) so is probably bigger than I can attach. My “silly question” is am I missing a package for the llrint(f) errors? I know these functions are not part of ulibc, but I have only installed the basic gcc bundle.
As you can see from attachment SimulatorError.txt, my next problem is dynamic link loading TLS (Thread-Local Storage) data. As the native hardware and the simulator have almost identical linux kernels, the native ld.so is likely to have the same reaction to the DSOs. This is a very similar problem to the one that resulted in ld-linux.so.2 for early x86 pc’s, so I am going to try that approach for my own intellectual curiosity.