Profile

youngsouk

youngsouk

리눅스 커널 빌드 error: '-mindirect-branch' and '-fcf-protection' are not compatible

왜인지는 잘 모르겠지만 gcc-8을 apt-get으로 설치하고

sudo update-alternatives --install /usr/bin/gcc gcc  /usr/bin/gcc-8 1

이 명령어를 실행하면 컴파일이 된다.