Due to a bug in the optimizer for m68k I need to disable optimization for dev-libs/gmp with the following in src_compile, somewhere before econf.... if [[ ${CHOST} == *mint* ]]; then filter-flags -O? fi Thanks.
applied to 5.0.2, thanks