https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240717

Dimitry Andric <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Dimitry Andric <[email protected]> ---
It looks like you are attempting to defeat the linker detection mechanism in
/usr/share/mk/bsd.linker.mk, and succeeding. :)

If you say "building a kernel using llvm70 and llvm80", can you describe
exactly how you are doing this?  As far as I know, it is not possible to build
anything with two different compilers at the same time.

Note that symlinking /usr/bin/ld to something random might or might not work,
your mileage may vary (a lot).

I think that in your case, overriding LINKER_TYPE might be the best approach. 
E.g. if you symlink /usr/bin/ld to a ports version of lld, it is safest to put
LINKER_TYPE=lld in your environment or make.conf.

All that said, it would be much easier if you just used any of the
devel/xtoolchain-llvm[6-9]0 ports.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to