From owner-freebsd-current@freebsd.org Tue Jul 3 14:20:01 2018 Return-Path: Delivered-To: freebsd-current@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 5C5D61024388 for ; Tue, 3 Jul 2018 14:20:01 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protected-networks.net", Issuer "Protected Networks CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F3A0383298 for ; Tue, 3 Jul 2018 14:20:00 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:mime-version :user-agent:date:date:message-id:subject:subject:from:from; s= 201508; t=1530627598; bh=PQHIJgiLdjByO5K/rRXMJ+S0TyH7SKFr6MwsFSx 8KZw=; b=GqmrrTjNZeQqxIbU39dR0YX63RXe7c62Dp8+hXFrNF0B/6ql1bNoGb+ PLo59VQll50CMK5skSAodXbd8WWNGvg4zys8gvjZsWf6ZVy1BIpJHMgXylIGAmOy C4J0vL8Cmy8hvIdCrBVoO+gXSC9yBO1NHZ36umJVaPVoJKRoMnko= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 508A573B5; Tue, 3 Jul 2018 10:19:58 -0400 (EDT) To: FreeBSD Current , Matthew Macy From: Michael Butler Subject: atomic changes break drm-next-kmod? Openpgp: preference=signencrypt Message-ID: Date: Tue, 3 Jul 2018 10:19:57 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2018 14:20:01 -0000 It seems recent changes (SVN r335873?) may have broken drm-next-kmod .. --- i915_drv.o --- In file included from i915_drv.c:30: In file included from /usr/ports/graphics/drm-next-kmod/work/kms-drm-a753215/linuxkpi/gplv2/include/linux/acpi.h:26: In file included from /usr/ports/graphics/drm-next-kmod/work/kms-drm-a753215/linuxkpi/gplv2/include/linux/device.h:4: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:35: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/types.h:37: In file included from /usr/src/sys/sys/systm.h:44: ./machine/atomic.h:450:29: error: invalid operand for instruction ATOMIC_ASM(clear, long, "andq %1,%0", "ir", ~v); ^ :1:7: note: instantiated into assembly here andq $9223372036854775807,40672(%r14) ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** [i915_drv.o] Error code 1 make[3]: stopped in /usr/ports/graphics/drm-next-kmod/work/kms-drm-a753215/i915 --- i915_gem.o --- In file included from i915_gem.c:28: In file included from /usr/ports/graphics/drm-next-kmod/work/kms-drm-a753215/include/drm/drmP.h:38: In file included from /usr/src/sys/sys/malloc.h:42: In file included from /usr/src/sys/sys/systm.h:44: ./machine/atomic.h:449:29: error: invalid operand for instruction ATOMIC_ASM(set, long, "orq %1,%0", "ir", v); ^ :1:6: note: instantiated into assembly here orq $-9223372036854775808,40672(%r14) ^~~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** [i915_gem.o] Error code 1