Date: Wed, 19 Aug 2020 22:15:41 +0400 From: Gleb Popov <arrowd@freebsd.org> To: toolchain@freebsd.org Subject: Undefined reference to __bswapsi2/__bswapdi2 Message-ID: <CALH631mXOLvLrrMcB3rfqQT5c%2BEEMRBnGgEBSEooHJYELOE9Fw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi toolchain@ I'm building the latest GHC on 12.1-RELEASE i386 and having almost the same problem as with atomic functions. This time the error is d: error: undefined symbol: __bswapsi2 >>> referenced by TTY.c >>> RTS.thr_p_o:(rtsSyms) in archive /wrkdirs/usr/ports/lang/ghc/work/ghc-8.10.2/rts/dist/build/libHSrts_thr_p.a ld: error: undefined symbol: __bswapdi2 >>> referenced by TTY.c >>> RTS.thr_p_o:(rtsSyms) in archive /wrkdirs/usr/ports/lang/ghc/work/ghc-8.10.2/rts/dist/build/libHSrts_thr_p.a What's wrong with that? These functions seem to be present in our compiler-rt.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631mXOLvLrrMcB3rfqQT5c%2BEEMRBnGgEBSEooHJYELOE9Fw>