How to build portable GMP & GCC in Docker? -


one of projects c++ rtos microcontrollers ( http://distortos.org/ ). project uses travis-ci build testing. project requires customized gcc toolchain (generally toolchain disabled c++ exceptions). toolchain build part of test on travis-ci. travis-ci getting slower , slower, while build timeout @ 50 minutes, builds started failing because of timeout. decided build toolchain manually, upload website , configure travis-ci download instead of building source.

i followed documentation found here - https://docs.travis-ci.com/user/common-build-problems/#troubleshooting-locally-in-a-docker-image - , compiled toolchain on own pc inside docker. toolchain fails work on docker running on travis-ci server - https://travis-ci.org/distortec/distortos/jobs/266553393#l709 . searching net lead me bug report - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71918

so seems gmp and/or gcc built inside docker not portable @ all, seems contradict main promise of docker, let's ignore now...

how should solve problem? can done somehow configuration of docker (global config? container config? image config?) or maybe have build toolchain specific cflags? other, possibly generic, solutions problem? avoid setting full virtual machine that, if best approach, i'll it.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -