diff options
author | Alexey Brodkin <abrodkin@synopsys.com> | 2020-07-10 23:38:09 +0300 |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2020-12-23 18:34:08 +0300 |
commit | 1a65041dc0fa4f4737957f964473bdc0630ffb38 (patch) | |
tree | 717d7adce7d900404e3607213dfddb880d848b63 /packages/binutils/2.36.1/0005-Darwin-gold-binary-cc-include-string-not-cstring.patch | |
parent | 4ae7ed0113910ff175b0c8e00df0ffb2b4ac8735 (diff) | |
download | crosstool-ng-1a65041dc0fa4f4737957f964473bdc0630ffb38.tar.gz crosstool-ng-1a65041dc0fa4f4737957f964473bdc0630ffb38.tar.bz2 crosstool-ng-1a65041dc0fa4f4737957f964473bdc0630ffb38.zip |
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 'packages/binutils/2.36.1/0005-Darwin-gold-binary-cc-include-string-not-cstring.patch')
0 files changed, 0 insertions, 0 deletions