1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/*/gmp/hotfix.patch.m68k
5 # Copyright (C) 2021 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 /tmp/libgmp.so.10.4.1.b2WdWL.ltrans0.ltrans.o: in function `__gmp_default_allocate':
18 <artificial>:(.text+0x476): relocation truncated to fit: R_68K_GOT16 against symbol `_GLOBAL_OFFSET_TABLE_' defined in .got. ..
19 /tmp/libgmp.so.10.4.1.b2WdWL.ltrans0.ltrans.o: in function `__gmp_default_reallocate':
20 <artificial>:(.text+0x4ae): additional relocation overflows omitted from the output
22 --- gmp-6.1.2/configure.vanilla 2019-05-02 13:46:36.000000000 +0000
23 +++ gmp-6.1.2/configure 2019-05-02 13:48:20.000000000 +0000
25 # gcc 2.95 adds -mcpu32, -m68060.
26 # FIXME: Maybe "-m68020 -mnobitfield" would suit cpu32 on 2.7.2.
28 + host_cpu=m$SDECFG_M68K_OPT
30 m68020) gcc_cflags_arch="-m68020" ;;
31 m68030) gcc_cflags_arch="-m68030" ;;