Skip to content

Host-side dockerfile #53

@HighW4y2H3ll

Description

@HighW4y2H3ll

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions