summaryrefslogtreecommitdiff
path: root/scripts/build/cc
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2020-07-10 20:38:09 (GMT)
committerAlexey Brodkin <abrodkin@synopsys.com>2020-12-23 15:34:08 (GMT)
commit1a65041dc0fa4f4737957f964473bdc0630ffb38 (patch)
tree717d7adce7d900404e3607213dfddb880d848b63 /scripts/build/cc
parent4ae7ed0113910ff175b0c8e00df0ffb2b4ac8735 (diff)
libgmp: Fix cross-canadian build for macOS
Currently when building cross-canadian toolchain for macOS the folowing error happens when GCC is configured: |ld: illegal text-relocation to '___gmp_binvert_limb_table' in |... /.build/... /buildtools/complibs-host/lib/libgmp.a(mp_minv_tab.o) from '___gmpn_divexact_1' in |... /.build/... /buildtools/complibs-host/lib/libgmp.a(dive_1.o) |collect2: error: ld returned 1 exit status Apparently this might be solved with GMP configured with "--with-pic", even though we're talking about static library here. That solution was found here: https://github.com/Homebrew/homebrew-core/pull/25470 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'scripts/build/cc')
0 files changed, 0 insertions, 0 deletions