[Bug 248635] lang/spidermonkey68: fix build on GCC architectures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 12 22:19:49 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248635
Bug ID: 248635
Summary: lang/spidermonkey68: fix build on GCC architectures
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: tcberner at freebsd.org
Reporter: pkubaj at FreeBSD.org
Assignee: tcberner at freebsd.org
Flags: maintainer-feedback?(tcberner at freebsd.org)
Created attachment 217181
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217181&action=edit
patch
Don't unconditionally use clang, it breaks build where clang is not available.
configure: error: compiler is incompatible with sanitize options
DEBUG: <truncated - see config.log for full output>
DEBUG: ld: error: /usr/src/lib/csu/powerpc64/crt1.c:96:(.text+0xDE): relocation
R_PPC64_TOC16_DS out of range: -32848 is not in [-32768, 32767]
DEBUG: ld: error: /usr/src/lib/csu/powerpc64/crt1.c:96:(.text+0x10A):
relocation R_PPC64_TOC16_DS out of range: -32840 is not in [-32768, 32767]
DEBUG: ld: error: /usr/src/lib/csu/powerpc64/crt1.c:88:(.text+0x12E):
relocation R_PPC64_TOC16_DS out of range: -32904 is not in [-32768, 32767]
DEBUG: ld: error: /usr/src/lib/csu/common/ignore_init.c:114:(.text+0x14E):
relocation R_PPC64_TOC16_DS out of range: -32912 is not in [-32768, 32767]
DEBUG: ld: error: /usr/src/lib/csu/common/ignore_init.c:114:(.text+0x152):
relocation R_PPC64_TOC16_DS out of range: -32896 is not in [-32768, 32767]
DEBUG: ld: error: /usr/src/lib/csu/common/ignore_init.c:116:(.text+0x16E):
relocation R_PPC64_TOC16_DS out of range: -32888 is not in [-32768, 32767]
DEBUG: ld: error: /usr/src/lib/csu/common/ignore_init.c:116:(.text+0x172):
relocation R_PPC64_TOC16_DS out of range: -32880 is not in [-32768, 32767]
DEBUG: ld: error: /usr/src/lib/csu/common/ignore_init.c:122:(.text+0x1D2):
relocation R_PPC64_TOC16_DS out of range: -32872 is not in [-32768, 32767]
DEBUG: ld: error: /usr/src/lib/csu/common/ignore_init.c:123:(.text+0x1F2):
relocation R_PPC64_TOC16_DS out of range: -32864 is not in [-32768, 32767]
DEBUG: ld: error: /usr/src/lib/csu/common/ignore_init.c:123:(.text+0x1F6):
relocation R_PPC64_TOC16_DS out of range: -32856 is not in [-32768, 32767]
DEBUG: ld: error: too many errors emitted, stopping now (use -error-limit=0 to
see all errors)
DEBUG: clang-9: error: linker command failed with exit code 1 (use -v to see
invocation)
Instead, use GCC from ports there.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list