From owner-svn-src-head@freebsd.org Fri May 11 03:03:56 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 A34CEFB1A1E; Fri, 11 May 2018 03:03:56 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it0-f51.google.com (mail-it0-f51.google.com [209.85.214.51]) (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 39FC17511B; Fri, 11 May 2018 03:03:56 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it0-f51.google.com with SMTP id n64-v6so475625itb.3; Thu, 10 May 2018 20:03:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=yPlDjEdNuyQeC8357+TDcXP1kXEo9lIT3N67jKIq4pA=; b=OrMOVl7ODlScomgyJI3B/ef7HiaI/1BEwodI4QXnkIiuP+n00ouPOABA4cDq6zQ9L+ 1UJfzsLU5uJZWX1tftv5+WVw7dakOrr1778U8cW24Qqe11+DQAUX4STEes1dlK11yMOk oHr0UyAmCujnNK4eaFZr+oO65EiuuHKlDnSBqMrwjxybXeq4bB4cBYHXvj3nWAHkiHCh lcH/abruNOJLkCFA1hBjXoNhEvrE8qrj1H0dDyDq9PeUsoRoNlep+vyVOxY5rf+zVr+F S98fSR7fF2Wf2K+i94FAW51bIHnvZTNRUdsu8YEos/JpNQXHnx2X6ssUi6urjMJYx4Xl s4Qg== X-Gm-Message-State: ALKqPwdRwrlctpnSA1ee9cy/9lJ1EF/7pg0hdyD3exqnJQEokvSZOrBg yS/OBCuGT/azpu27LiPOFJ2GDBPE X-Google-Smtp-Source: AB8JxZqH0AShzMtyoEXAcyWKs/nx9br/bHPcvwIu0nSOLbGaGE1Zu0kMfntFC3BfFaenarrtdL9KNQ== X-Received: by 2002:a24:cc83:: with SMTP id x125-v6mr1512268itf.120.1526007424838; Thu, 10 May 2018 19:57:04 -0700 (PDT) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com. [209.85.223.172]) by smtp.gmail.com with ESMTPSA id q31-v6sm1082228ioi.37.2018.05.10.19.57.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 May 2018 19:57:04 -0700 (PDT) Received: by mail-io0-f172.google.com with SMTP id e12-v6so5407921iob.8; Thu, 10 May 2018 19:57:04 -0700 (PDT) X-Received: by 2002:a6b:a867:: with SMTP id r100-v6mr3920661ioe.143.1526007423975; Thu, 10 May 2018 19:57:03 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 2002:a02:a40b:0:0:0:0:0 with HTTP; Thu, 10 May 2018 19:57:03 -0700 (PDT) In-Reply-To: <201805101501.w4AF1iI0039082@repo.freebsd.org> References: <201805101501.w4AF1iI0039082@repo.freebsd.org> From: Conrad Meyer Date: Thu, 10 May 2018 19:57:03 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r333461 - head/sys/amd64/amd64 To: Konstantin Belousov , Ed Maste Cc: 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: Fri, 11 May 2018 03:03:56 -0000 On Thu, May 10, 2018 at 8:01 AM, Konstantin Belousov wrote: > Author: kib > Date: Thu May 10 15:01:43 2018 > New Revision: 333461 > URL: https://svnweb.freebsd.org/changeset/base/333461 > > Log: > Make fpusave() and fpurestore() on amd64 ifuncs. > > From now on, linking amd64 kernel requires either lld or newer ld.bfd. Hi, This commit seems to break amd64-gcc cross toolchain build (note, this is a cc error, not ld): In file included from /usr/src/sys/amd64/amd64/fpu.c:64:0: /usr/src/sys/amd64/amd64/fpu.c:195:22: error: ifunc is not supported on this target DEFINE_IFUNC(, void, fpusave, (void *), static) ^ ./x86/ifunc.h:55:19: note: in definition of macro 'DEFINE_IFUNC' qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ ^~~~ /usr/src/sys/amd64/amd64/fpu.c:202:22: error: ifunc is not supported on this target DEFINE_IFUNC(, void, fpurestore, (void *), static) ^ ./x86/ifunc.h:55:19: note: in definition of macro 'DEFINE_IFUNC' qual ret_type name args __attribute__((ifunc(#name "_resolver"))); \ ^~~~ --- fpu.o --- *** [fpu.o] Error code 1 Best, Conrad