From owner-svn-src-head@freebsd.org Sat Mar 10 01:58:16 2018 Return-Path: Delivered-To: svn-src-head@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 7088DF3C692; Sat, 10 Mar 2018 01:58:16 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it0-x243.google.com (mail-it0-x243.google.com [IPv6:2607:f8b0:4001:c0b::243]) (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 DA3267A5F7; Sat, 10 Mar 2018 01:58:15 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it0-x243.google.com with SMTP id k135so4908842ite.2; Fri, 09 Mar 2018 17:58:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=FECY+iF4sRjFl4KHExIecgf71XtjF/I1HBY6lF9K4bM=; b=GeBPPPZi1PSXnqDPykRWXoXZekjOcB587tUSxSsqJ+RjrhMCDCNhJmRCOGe+yWu3hn Z0pnSWLUBkAWDCSTVYo6w1ifcXShP3l0k1WY+RPSiUzsVcm7BGiXese5NuNLCUHbzJDi 2PV/dZ3U2w16ShDm1ppvmarSkKvRUYAKOQAvcuA2J2FxPDYtn2myKF8leFGBnF+EiSt0 Pv30cUpU1y1SrysKpYP/gxGcX5qRbrzIU0OzOQLC4mTv6713m8xs7LaqvpURkYbUqcEA Y+EehqhgX4T9YeMqoWmSX+Z5upc2DmRdQSHvjbpjROG4n1LizDLt6Nlyy7QDHzPUeFSm V1kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=FECY+iF4sRjFl4KHExIecgf71XtjF/I1HBY6lF9K4bM=; b=cUZTcubodYXRJi8tYj2rwN1UviSjK3RK+4ZksXgP0e4EOErjRQgbwYxCpWGgxoxliB vQ4kZKQ/K2ab+LZ4OvHJgHDtHG49l3nfBugundr9yo8oQVVcawag7Z03bO1tNpJPc4AY w7S8rkuSfeh/cO+IEPyhSZU+KFivRcWfrtqD2WkJ06CF7cdqWL79KsM/ri1km3yXUfFF lDJwErwW0P7xuoggIF2bftQ8xJ4a/9TNVBA1p2EV/LqTZ9yU/y2CJ8DLx8+rsGfBSK1U fJ7+K6UkrZWasSSxDsFJd6nKmvS2kL5P/gFMr+m9l/Khm83jmJuTiuzwOYaBtq3H1kzH A+QA== X-Gm-Message-State: AElRT7EtdCpA5n4hq0r8+SH70Txi6HvmYLuWG6QtMh1J+Mt0KsYAoSDR uoc8vxpS08S7AEpJfiz15dpc00+bWbg5hNfb4b0= X-Google-Smtp-Source: AG47ELt56sYEycI2HVX3AHxetQ4kMIA41LJ0rwwwcUTRvvtqCM3v5XbzjWYt/TJGRwxmeCnVjCZMBYWtNXl1BOWvhho= X-Received: by 10.36.7.198 with SMTP id f189mr57020itf.114.1520647095217; Fri, 09 Mar 2018 17:58:15 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.163.13 with HTTP; Fri, 9 Mar 2018 17:57:54 -0800 (PST) In-Reply-To: References: <201801311436.w0VEaRrZ030839@repo.freebsd.org> From: Ed Maste Date: Fri, 9 Mar 2018 20:57:54 -0500 X-Google-Sender-Auth: 3dHsfoPpmR6mW0WJELV3BhgTnDM Message-ID: Subject: Re: svn commit: r328625 - in head/sys: amd64/amd64 amd64/ia32 amd64/include dev/cpuctl i386/i386 x86/include x86/x86 To: Dexuan-BSD Cui Cc: Konstantin Belousov , Dexuan Cui , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2018 01:58:16 -0000 On 9 March 2018 at 19:41, Dexuan-BSD Cui wrote: > Hi, > > In my FreeBSD 11.1 VM, I'm getting this build failure and it looks > this revision causes the failure: > > /root/bsd.git/sys/amd64/amd64/support.S:855:2: error: unknown directive > .altmacro > ^ Are you trying to build a head kernel using the toolchain in 11.1? That won't work (because of missing .altmacro support). Building kernel-toolchain first should get a working toolchain. > It looks -fno-integrated-as might fix the failure for me according to: Avoiding the integrated assembler is indeed the workaround for this issue, but you'll want to apply it only to the affected file. Kostik's 11.1 merge candidate patch adds to sys/conf/Makefile.amd64 ASM_CFLAGS.support.S= ${CLANG_NO_IAS}