freebsd-ports/devel/freebsd-sysroot
Tobias Kortkamp 3dd789ff4a
devel/freebsd-sysroot: Add -mno-relax to the riscv64 wrapper scripts
$ FREEBSD_SYSROOT_CC=clang13 /usr/local/freebsd-sysroot/riscv64/bin/cc test.c
ld: error: test.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax

On riscv64 base clang defaults to -mno-relax (per D25210). This
patch has not been applied to ports LLVM. In the wrapper scripts
pass -mno-relax explicitly to make it work as expected when
FREEBSD_SYSROOT_CC is set to ports clang.
2021-11-13 10:08:42 +01:00
..
files devel/freebsd-sysroot: Add -mno-relax to the riscv64 wrapper scripts 2021-11-13 10:08:42 +01:00
distinfo
Makefile devel/freebsd-sysroot: Add -mno-relax to the riscv64 wrapper scripts 2021-11-13 10:08:42 +01:00
pkg-descr
pkg-plist.aarch64
pkg-plist.amd64
pkg-plist.armv6
pkg-plist.armv7
pkg-plist.i386
pkg-plist.powerpc
pkg-plist.powerpc64_elfv1
pkg-plist.powerpc64_elfv2
pkg-plist.powerpc64le
pkg-plist.riscv64