[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-bugs
Subject: [Bug 243740] Linker error: unrecognized reloc 8
From: bugzilla-noreply () freebsd ! org
Date: 2020-01-30 19:43:36
Message-ID: bug-243740-227 () https ! bugs ! freebsd ! org/bugzilla/
[Download RAW message or body]
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243740
Bug ID: 243740
Summary: Linker error: unrecognized reloc 8
Product: Base System
Version: 12.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: arrowd@FreeBSD.org
I'm facing a problem with bootstrap GHC (Haskell compiler).
The bootstrap compiler is built on amd64 11.3-RELEASE and is located here:
http://arrowd.name/ghc-8.6.3-boot-amd64-freebsd.tar.xz
Now, I'm trying to use it to build GHC on 12.0-RELEASE, however it turns out
that it doesn't work on FreeBSD 12. Compiling even simple hello world
application results in
/usr/bin/ld.lld: error: OSMem.c:(.SUNW_dof+0x160): unrecognized reloc 8
error.
Steps to reproduce. On FreeBSD 12 amd64 do:
fetch http://arrowd.name/ghc-8.6.3-boot-amd64-freebsd.tar.xz
tar -xvf ghc-8.6.3-boot-amd64-freebsd.tar.xz
cd ghc-8.6.3-boot
./configure --prefix=<someprefix>
gmake install
echo main=print 123 > test.hs
<someprefix>/bin/ghc -v test.hs
Making GHC use ld from binutils package makes the problem go away.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic