# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/gmp/hotfix.patch.m68k # Copyright (C) 2021 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- /tmp/libgmp.so.10.4.1.b2WdWL.ltrans0.ltrans.o: in function `__gmp_default_allocate': :(.text+0x476): relocation truncated to fit: R_68K_GOT16 against symbol `_GLOBAL_OFFSET_TABLE_' defined in .got. .. /tmp/libgmp.so.10.4.1.b2WdWL.ltrans0.ltrans.o: in function `__gmp_default_reallocate': :(.text+0x4ae): additional relocation overflows omitted from the output --- gmp-6.1.2/configure.vanilla 2019-05-02 13:46:36.000000000 +0000 +++ gmp-6.1.2/configure 2019-05-02 13:48:20.000000000 +0000 @@ -4606,6 +4606,7 @@ # gcc 2.95 adds -mcpu32, -m68060. # FIXME: Maybe "-m68020 -mnobitfield" would suit cpu32 on 2.7.2. # + host_cpu=m$SDECFG_M68K_OPT case $host_cpu in m68020) gcc_cflags_arch="-m68020" ;; m68030) gcc_cflags_arch="-m68030" ;;