Date: Wed, 12 Aug 2020 22:19:48 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 248635] lang/spidermonkey68: fix build on GCC architectures Message-ID: <bug-248635-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248635 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@freebsd.org Reporter: pkubaj@FreeBSD.org Assignee: tcberner@freebsd.org Flags: maintainer-feedback?(tcberner@freebsd.org) Created attachment 217181 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D217181&action= =3Dedit patch Don't unconditionally use clang, it breaks build where clang is not availab= le. 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): reloca= tion 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= =3D0 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248635-7788>