Date: Sat, 28 Apr 2018 00:06:53 -0700 From: =?UTF-8?B?RsSBbmctcnXDrCBTw7JuZw==?= <emacsray@gmail.com> To: emaste@freebsd.org Cc: freebsd-toolchain@freebsd.org Subject: Re: Heads-up: linker (lld) changes for amd64 coming soon Message-ID: <CAN30aBFcLDxES6z74BRRXJNXFvgMVrKOiaQPuiwfAPXz4hQ_ig@mail.gmail.com> In-Reply-To: <CAN30aBFVroppgo1VdO0jrF=Retdmmh_NvEvoiBwG3mm4%2BRT8Dg@mail.gmail.com> References: <CAN30aBFVroppgo1VdO0jrF=Retdmmh_NvEvoiBwG3mm4%2BRT8Dg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Another question is how do you build ports with local lld (say ~/Dev/llvm/release/bin/ld.lld), clang, or whatever toolchain executable Change jails/12amd64/usr/bin/ld.lld to a script #!/bin/sh /home/ray/Dev/llvm/release/bin/ld.lld --warn-backrefs -fatal-warnings "$@" But in the jail used by poudriere bulk -j 12amd64 -p local -z workstation -f pkglist , the path (/home/ray) is not exposed. I asked in #freebsd@freenode and people suggested there were no hooks I can use to mount_nullfs /home into the jail. On Thu, Apr 26, 2018 at 8:07 PM, F=C4=81ng-ru=C3=AC S=C3=B2ng <emacsray@gma= il.com> wrote: > Hi Ed, > > > I'd like to experiment with LLD --warn-backrefs, which keeps compatibilit= y > with GNU linkers (bfd, gold) in terms of handling of LazyArchive and > LazyObject (see > http://lists.llvm.org/pipermail/llvm-dev/2018-April/122383.html for > details). > > I think a few representative FreeBSD packages may be a great playground t= o > try --warn-backrefs > > Do you have some pointers on how I can build these packages locally with > --warn-backrefs ? > > > (BTW, I have some limited experience with the GHC build system but I'm no= t > sure if I can help with it) > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN30aBFcLDxES6z74BRRXJNXFvgMVrKOiaQPuiwfAPXz4hQ_ig>