From owner-freebsd-questions@freebsd.org Sun Apr 8 11:19:38 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4DAF0F9A906 for ; Sun, 8 Apr 2018 11:19:38 +0000 (UTC) (envelope-from kristaps.civkulis@gmail.com) Received: from mail-wr0-x232.google.com (mail-wr0-x232.google.com [IPv6:2a00:1450:400c:c0c::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AFB817F3F9 for ; Sun, 8 Apr 2018 11:19:37 +0000 (UTC) (envelope-from kristaps.civkulis@gmail.com) Received: by mail-wr0-x232.google.com with SMTP id s18so5508540wrg.9 for ; Sun, 08 Apr 2018 04:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=FbAG6cAGCwRlPURuti4N0Bs2vpqpbkOeCxYzdOZSxXs=; b=TJo9auquHwejdg3ED2fKcO4pmsKcjENohcVlVfgOwW+83o2+JITOhpuArs98cVYan6 O2MBimqlv9tBLQ8LWFDAPJ4xyc7uUiyfQb7cc8MB1IavX53QUAK5hhr5rsIyyfzv1LiD gwWIsDQPy74zmZDjgWQoZk2aX0NyFNOB4aq0ifeaUWqhtQJdQC4sRAaIi9JjpCBfL79x cwCl9IgUDQQpoLBQ3zEvlCJikkA28tDKppEBGcaHwzzqjApaABXlulAMjnQDKSO+nJqu uW/54uWeisEI7wDTGno9hr3C5xoaQ6o2hqqbPLSUq9y460IbW96b2HworVKrHNYAWRka AzDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=FbAG6cAGCwRlPURuti4N0Bs2vpqpbkOeCxYzdOZSxXs=; b=Vtbt2nHoXQlzGGZWAI0vNSf5NOXYzCKuhWWq2zG3zO/lD8z8ZqGMqugQicqjCzEb4X xINrTNxTidgdYWaM63vNQG/zgS1UFK/5AQBQptPT6+PMLY4Y7XNwpnauM6NkBVGihPLd oSgaqfJdjttn7C9MCt/W1gNpB5JKl1lbnIwrhxKP0tNiBk1el5dny7ZJbLkfxudEBywQ gL+hMHLTXFciiI/js6ZkfEpX0OnX07q3RDCsjUpu4mexfN9paFkFCz0wN+92J6Xnb9e3 PgS0Fn47Vhwp6h9olZknHoUt10y71/yeNj3XEQuSMTrvqezf091wNfSxtvjxB1I8Keok /wVg== X-Gm-Message-State: ALQs6tBxAU7Ny5XQtYN+fhj5gvdmvbuE+uMzr+pumH7KBJOgFRYryiZL eoeh6b2kiPltEGpVnwPBX/usRmIO X-Google-Smtp-Source: AIpwx49Lb/W8qlkvaUsNgFrzMdq9QEpfIGA11/DdHAEcVlPq3QkE4BorJcLi6RJfei1lZUu54YhKrA== X-Received: by 2002:a19:54cb:: with SMTP id b72-v6mr4193680lfl.33.1523186375778; Sun, 08 Apr 2018 04:19:35 -0700 (PDT) Received: from dankpad.localdomain ([212.3.195.141]) by smtp.gmail.com with ESMTPSA id i89-v6sm2960228lfk.12.2018.04.08.04.19.34 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 08 Apr 2018 04:19:34 -0700 (PDT) Date: Sun, 8 Apr 2018 16:19:14 +0300 From: Kristaps Civkulis To: freebsd-questions@freebsd.org Subject: Error while compiling FreeBSD kernel Message-ID: <20180408131914.GA4329@dankpad.localdomain> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Apr 2018 11:19:38 -0000 --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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :3:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :3:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :8:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :13:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :18:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :23:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :28:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :33:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :38:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :43:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :48:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :53:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :58:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :63:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :68:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :73:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :78:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :83:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :88:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :93:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :98:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :103:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :108:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :113:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :118:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :123:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :128:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :133:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :138:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :143:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :148:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :153:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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 ^ :1:13: error: invalid register name handle_ibrs_%(ll): ^~ :158:2: note: while in macro instantiation ibrs_seq_label %(ll) ^ :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--