From owner-freebsd-ppc@freebsd.org Thu Dec 24 13:21:24 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C11EF4C3FD0 for ; Thu, 24 Dec 2020 13:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D1rLr4XYGz3vJ1 for ; Thu, 24 Dec 2020 13:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1608816084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wtPIEK/Brt1J1uaRJ2usUO8BoNldWDTG1XF3EGi05FA=; b=piQ65fvtXFHE/qo+vH3XRjZQyf7YOv6sRZMS7vVfoWiT3//yCh0kcH7KSXmBONb3YESMFF 6V208tvItLNhLcA4Cr0zYtaDogtJyH4SRxMX214YA0ZBVx2wJ0exzHHudT4QU2OBwwuc4B BuC2OMUm9PKMKyYwzhX4AN2eOx9NyiMilVOWGMeUAtY0QXa2LbpwfP1zca//4GD/efq5vr x/O45g/Og91CeGtW5qbs5L/AdBjVp264vidmPYPH7fkit/TmFK9ytWNwNLlMPdvKxs2mkT x3r3RjrBgm96ARBh6Ce+n0A8SyNU0p7UckRujkB8G887oWkP0yGDN3ftqsIdVA== Received: by freefall.freebsd.org (Postfix) id 8A962CF71; Thu, 24 Dec 2020 13:21:24 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 87A28D0A2 for ; Thu, 24 Dec 2020 13:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D1rLr2zq4z3vFd for ; Thu, 24 Dec 2020 13:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 598DF1138A for ; Thu, 24 Dec 2020 13:21:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BODLOmk007760 for ; Thu, 24 Dec 2020 13:21:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0BODLOPD007759 for powerpc@FreeBSD.org; Thu, 24 Dec 2020 13:21:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 249954] graphics/drm-kmod : Fails to build on FreeBSD 12.2-BETA1 r365618 GENERIC powerpc 32 bit : /usr/src/sys/vm/vm_page.h:204: error: field 'md' has incomplete type Date: Thu, 24 Dec 2020 13:21:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lfmorrison@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1608816084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wtPIEK/Brt1J1uaRJ2usUO8BoNldWDTG1XF3EGi05FA=; b=omNb83BUzHBzOsnYKbAtVgfSRa+MBKQ66Nm08k3gLSlaJu+wgeYo4XMN/e3yLvWshA0ZVX ZzpqrVYV/DxkKQUQeMFhfHlmruxhcTCxHTERvSZsWrCVvHlaz8ORwA/McuWKYwr+rkWQHc WJg/LfGrekordYGVgRQkGpRwrzx+nlkIm6NkZEmyBeOF/yqx3aYq/eGExALfbehMMpCvvw h2oBVFm5Ku3q2UBr2Gm2aV1vkaJThjZxNcWGOAudp+takshfRSdS6M8I1Jjc8Fk2HawV5e Y7Rq4tM3v2fO8WzJ+A78IDUj4868c9mjyeFGaWblxdijLynEn3s74INi+YwjiQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1608816084; a=rsa-sha256; cv=none; b=WRRYzuSrrbglFDY8tt/EtOeKe0dbNNUJZfR013tQ9JlOY5zaQ6Qx53wnqfHuSaIcZgER9f NWxBVJ17nwG2dQWLsohjMyrsVfXXHsnq/dpcOUfRd1WdzAov0Br8DHn9KKnhacrmSH52ko eqiXuar4ihI+oBvw53PrVNvXqrxtzxTXhm6K84zqcsjAat3v68QWb84qQ9sSuzNtwdSwp1 pVEqH4CXu9WbkQuiqeGYRQ4RwUIP61sxMFFXc41dPv0rzrUbSWlQmr56SeXgo9KogKILMp ta+Pw3mfLz9hIP+agYQdA8m98wdULKXgupbo0TZ0/Rpy2zZ1x/G1WtnP8wjFEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2020 13:21:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249954 lfmorrison@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lfmorrison@gmail.com --- Comment #2 from lfmorrison@gmail.com --- I saw this some time ago as well, but the specifics may be a little rusty. I never found a solution. As I recall, this seems to be a consequence of the way the kernel deals with two different ways in which various PowerPC hardware deals with virtual mem= ory. Some use the legacy "AIM" (Apple-IBM-Motorola) model, and others use an alternate Book-E" model, which was added to make PowerPC more palatable for embedded systems. Application code works identically on processors using either VM model, but= the kernel code needs to work differently. The FreeBSD kernel has support for b= oth VM models, but a compile-time define needs to be supplied to specify which model is used for the targeted CPU; this configuration parameter leads to, among other things, different definitions of the struct in question. When building drm-kmod, the build system somehow needs to be told whether t= he kernel module is being built for AIM or Book-E in order to get past this er= ror. Since running into this issue, the increasing in dependency that various po= rts have on a bootstrap rustc compiler (which doesn't exist upstream for 32-bit PowerPC on FreeBSD) has left me reluctant to go much further in my experime= nts with graphical environments. --=20 You are receiving this mail because: You are on the CC list for the bug.=