panda-re/lava

Host-side dockerfile

HighW4y2H3ll opened this issue · 0 comments

I ran on a shared server, and every once in a while when I rebuild the toolchain, I'd run into building errors in fbi since some of the host building environment has changed after everything worked last time. And finally, this time I decided to try if I can build fbi inside docker, in a more stable environment.

It turns out to be harder than I thought, since the docker is specifically used for lavaTools, and all of them are built in 32 bits. When I build fbi in 32 bits, it spits out some other errors. Further more, there're abi (cxxabi11) inconsistencies across the odb libraries, and lavaTools (llvm/clang) libraries, and upstream protobuf libraries.

After some hackish patches, I bumped the whole toolchain into 64 bits. fbi seems compiling fine now . Still gotta fix some abi inconsistencies and linking issue, but it looks promising. Not sure if there will be any other problems coming up... If I'm lucky, I might be able to put everything inside one docker, or at least, move the host side environment into a docker. I'll keep this thread updated and slowly pushing up patches..