problem build kernel (linking kernel.debug ctfmerge -L VERSION)

andrian

Active Member

Reaction score: 6
Messages: 141

Hi, please help me.
My system "FreeBSD 10.3-RELEASE amd64".
I'm trying to build a kernel, but the process comes to a point and stops there.
1595698997921.png

please help me?
 

vigole

Active Member

Reaction score: 197
Messages: 168

  1. Did you get the latest version of the source?
  2. Did you compile the world first?
 
OP
andrian

andrian

Active Member

Reaction score: 6
Messages: 141

Earlier, it was so, I tried to collect the new kernel

Code:
make kernel KERNCONF=Core
but received such error:
Code:
/usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp:1208:10: fatal error: 'emmintrin.h' file not found
#include <emmintrin.h>
         ^
1 error generated.
mkdep: compile failed
*** Error code 1
I updated clang33 and llvm33 to clang36 and llvm36 and insert to make.cnf:
Code:
.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
After that, the problem disappeared, but there was this problem with stopping.
 

T-Daemon

Aspiring Daemon

Reaction score: 361
Messages: 860

vigole said:
  1. Did you get the latest version of the source?
Yes, I took from the 10.3-RELEASE release (http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/10.3-RELEASE/src.txz)
Besides the fact 10.3 is EOL, that's not the latest source version. That's a over four years old snapshot when the RELEASE was released. For latest, two years old, 10.3 source version:

rm -r /usr/src (double check path before executing command)
svn co https://svn.freebsd.org/base/releng/10.3 /usr/src
 
OP
andrian

andrian

Active Member

Reaction score: 6
Messages: 141

So, i run:
Code:
rm -r /usr/src
svnlite co https://svn.freebsd.org/base/releng/10.3 /usr/src
cd /usr/src
make -j4 buildworld (ok)
make -j build buildkernel (and stop on this)
1595862862063.png
 
OP
andrian

andrian

Active Member

Reaction score: 6
Messages: 141

I fix this. So:
#freebsd-update -r 10.4-RELEASE upgrade
#freebsd-install
 
OP
andrian

andrian

Active Member

Reaction score: 6
Messages: 141

I know that version is not supported, but I still use mongodb version 3.2 and maximum version for it 11.2-RELEASE, so I will gradually update to 11.2-RELEASE.
Thank`s all.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 9,085
Messages: 33,642

MongoDB 3.2 is EoL since September 2018. It is EoL for all versions of FreeBSD.
 
Top