Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Apr 2018 16:19:14 +0300
From:      Kristaps Civkulis <kristaps.civkulis@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Error while compiling FreeBSD kernel
Message-ID:  <20180408131914.GA4329@dankpad.localdomain>

Next in thread | Raw E-Mail | Index | Archive | Help

--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi, 

I have errors while compiling FreeBSD 11 Stable on fresh installation on x86_64 (am64) architecture. After make buildkernel KERNCONF=GENERIC I have the following errors:

/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:829:2: error: unknown directive
 .altmacro
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:3:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:8:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
...

Note that I didn't store source code under /usr/src. I used default GENERIC config file. I attached full error message.

Kristaps

--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="output.txt"

/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:829:2: error: unknown directive
 .altmacro
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:3:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:8:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:13:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:18:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:23:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:28:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:33:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:38:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:43:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:48:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:53:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:58:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:63:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:68:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:73:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:78:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:83:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:88:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:93:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:98:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:103:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:108:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:113:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:118:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:123:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:128:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:133:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:138:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:143:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:148:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:153:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
<instantiation>:1:13: error: invalid register name
handle_ibrs_%(ll):
            ^~
<instantiation>:158:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
<instantiation>:2:2: note: while in macro instantiation
 .rept 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
/usr/home/kristaps/FreeBSD_stable/11/sys/amd64/amd64/support.S:891:2: error: unknown directive
 .noaltmacro
 ^
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/home/kristaps/FreeBSD_stable/11/sys/GENERIC
*** Error code 1

Stop.
make[1]: stopped in /usr/home/kristaps/FreeBSD_stable/11
*** Error code 1

Stop.
make: stopped in /usr/home/kristaps/FreeBSD_stable/11


--n8g4imXOkfNTN/H1--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20180408131914.GA4329>