Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2022 19:14:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 264258] Target: x86_64-unknown-freebsd13.0, fails to compile LLVM
Message-ID:  <bug-264258-227-DatpwhmUuy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264258-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

Brooks Davis <brooks@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brooks@FreeBSD.org

--- Comment #2 from Brooks Davis <brooks@FreeBSD.org> ---
This is quite an old CURRENT to upgrade from in one go (you have LLVM 6.0.1,
but FreeVSD 13.0 shipped with 11.0.0 and even FreeBSD 11.4 has LLVM 10.0.0). I
don't have any way to test 6.0.1 and there aren't going to be fixes for it. You
may need to do this upgrade in multiple steps.

A few other thoughts:

clang just reporting "Killed" often means out of memory. Check dmesg or logs to
see if that might have happened.

If you have a newer llvm installed by ports you may be able to use it with
CROSS_TOOLCHAIN=llvm##, however if your ports are old enough you may need a to
install one of the xtoolchain-llvm## ports (now obsolete) to make that work or
do the equivalent by hand (see an example below):

/usr/local/share/toolchains/llvm13.mk:
XCC=/usr/local/bin/clang13
XCXX=/usr/local/bin/clang++13
XCPP=/usr/local/bin/clang-cpp13
XLD=/usr/local/bin/ld.lld13
CROSS_BINUTILS_PREFIX=/var/empty
X_COMPILER_TYPE=clang

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264258-227-DatpwhmUuy>