From owner-freebsd-x11@freebsd.org Mon Feb 11 16:21:08 2019 Return-Path: Delivered-To: freebsd-x11@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 04B3F14DBC26; Mon, 11 Feb 2019 16:21:08 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1422475300; Mon, 11 Feb 2019 16:21:07 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf1-x433.google.com with SMTP id n74so4223643pfi.9; Mon, 11 Feb 2019 08:21:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JwILD3tLAWSx2pQdnTok2ast0bxB6og6dx1co8NnRNE=; b=Bzu2pv1jgoe4dkH2CVpAQi/8F0CWXrqdvzL7Zmi399xnMo33wuO5dy1O03QlJ8KOd0 XoPsDvcqA45RHHJ5QnG76YYeEkWPU8OdNC1tAl0h26qYFyJYBK/6Po+6wdXkJNpwR4nX poxyyaIfvTP6q+Kr8ZW5QbBItnThqlUFsUjMMNZTsFvYy2wLS54qWS4k0oQovPGNMQdZ qHTrUajYDYSK/l7Bi6aMfvx4TrRqvmZE8JRieO57U6xkpYMjtUwiYKSPPMbKrwJlul2f puJk9mi7+qqfsJ+vnlsOmjBEU2RtCoSbCXNvWMJq6K/GYZRgjL2xiJFnj0oUsRK5hwvc xE5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JwILD3tLAWSx2pQdnTok2ast0bxB6og6dx1co8NnRNE=; b=il8chlbbFcMgDyogaur4/nFFlv6LSPvDMk/kDmJl1M3ezF2g99qA5NJbLmGUHTsiwj FeuUyL5lq/mg3Z7FzXwkYEcevrtQFqzGcI6pf6tQiYEDG4DHoqoaje0DyhulRAHLMe5T rxQ/xNm6sydtar58jhkbrJBaOADM27xqjYE21v7NhtHwajqr+XLtjDp/tlf71cApj+Kq RnKj6yaJdI38LHyEWycMcRIwSjA2U3MY96kVP4AShSrpfJCFHsqcy/HRRq1IvsXsMEdh gCw4GH5pTC3sDriFcxYjO1nePz5k7GO9+fc4BiYSbbU00Q5MMQ2v5xCDt4fmyw/+ReNc xxLg== X-Gm-Message-State: AHQUAuYEf584QqvDRRNIUQ9rBt0engp2YlkHri21kYdBZKKOFi0OaPzv Vh9H1udGPqtkmwfCyC/Z1oKuFsDh X-Google-Smtp-Source: AHgI3IbUEOqhKWrIt+MtTXIyjr+gQXRrkmxrMA26vfNC/OW7jGX4yCDm45mcwhCQVRzgLpfHKUNf3g== X-Received: by 2002:a63:da42:: with SMTP id l2mr20717100pgj.403.1549902065365; Mon, 11 Feb 2019 08:21:05 -0800 (PST) Received: from [192.168.20.22] (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id p7sm15986729pfa.22.2019.02.11.08.21.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 08:21:04 -0800 (PST) Mime-Version: 1.0 (1.0) Subject: Re: drm2 removed? From: Enji Cooper X-Mailer: iPhone Mail (16C104) In-Reply-To: <20190211161205.GB41262@troutmask.apl.washington.edu> Date: Mon, 11 Feb 2019 08:21:04 -0800 Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org, freebsd-x11@freebsd.org, kib@FreeBSD.org Message-Id: <845D3498-BB7E-4AB1-AF70-FE597EB9CD4F@gmail.com> References: <20190211161205.GB41262@troutmask.apl.washington.edu> To: sgk@troutmask.apl.washington.edu X-Rspamd-Queue-Id: 1422475300 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Bzu2pv1j; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::433 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com X-Spamd-Result: default: False [-4.93 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.45)[ip: (-7.73), ipnet: 2607:f8b0::/32(-2.48), asn: 15169(-1.96), country: US(-0.07)]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 16:21:08 -0000 Hi Steve, This looks like breakage from unifying PAE and non-PAE kernels in r34356= 7. CCing kib@ for context. Cheers, -Enji > On Feb 11, 2019, at 08:12, Steve Kargl w= rote: >=20 > Anyone have any idea which recent change broke the > drm-legacy-kmod port. This is why I raised an issue > with removal of drm2 from src/sys. How is suppose > to be fixed? >=20 >=20 > --- ttm_bo_manager.o --- > cc -O2 -pipe -march=3Dcore2 -fno-strict-aliasing -march=3Dcore2 -Werror -= D_KERNEL -DKLD_MODULE -nostdinc -I/usr/ports/graphics/drm-legacy-kmod/work/= drm-legacy-50ea058/drm2/../src/ -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck= /include -fno-common -MD -MF.depend.ttm_bo_manager.o -MTttm_bo_manager.= o -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -W= all -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototy= pes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__f= reebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unkno= wn-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-= parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno= -error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx= -std=3Diso9899:1999 -c /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy= -50ea058/src/dev/drm2/ttm/ttm_bo_manager.c -o ttm_bo_manager.o > --- ttm_bo.o --- > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1501:12: error: use of undeclared identifier 'NPGPTD' > 1, 0, VM_MAX_ADDRESS, PAGE_SIZE, 0, VM_MEMATTR_UNCACHEABLE); > ^ > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:19: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > ./machine/param.h:98:19: note: expanded from macro 'NPDEPTD' > #define NPDEPTD (NBPTD / sizeof(pd_entry_t)) > ^ > ./machine/param.h:96:17: note: expanded from macro 'NBPTD' > #define NBPTD (NPGPTD << PAGE_SHIFT) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1501:12: error: use of undeclared identifier 'pd_entry_t' > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:19: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > ./machine/param.h:98:34: note: expanded from macro 'NPDEPTD' > #define NPDEPTD (NBPTD / sizeof(pd_entry_t)) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1501:12: error: use of undeclared identifier 'NTRPPTD' > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:29: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1501:12: error: use of undeclared identifier 'NPGPTD' > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:39: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1505:10: error: use of undeclared identifier 'NPGPTD' > 0, VM_MAX_ADDRESS, PAGE_SIZE, 0)) { > ^ > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:19: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > ./machine/param.h:98:19: note: expanded from macro 'NPDEPTD' > #define NPDEPTD (NBPTD / sizeof(pd_entry_t)) > ^ > ./machine/param.h:96:17: note: expanded from macro 'NBPTD' > #define NBPTD (NPGPTD << PAGE_SHIFT) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1505:10: error: use of undeclared identifier 'pd_entry_t' > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:19: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > ./machine/param.h:98:34: note: expanded from macro 'NPDEPTD' > #define NPDEPTD (NBPTD / sizeof(pd_entry_t)) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1505:10: error: use of undeclared identifier 'NTRPPTD' > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:29: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1505:10: error: use of undeclared identifier 'NPGPTD' > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:39: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > 8 errors generated. > *** [ttm_bo.o] Error code 1 >=20 > make[4]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50= ea058/drm2/drm2 > 1 error >=20 > make[4]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50= ea058/drm2/drm2 > *** [all_subdir_drm2/drm2] Error code 2 >=20 > make[3]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50= ea058/drm2 > 1 error >=20 > make[3]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50= ea058/drm2 > *** [all_subdir_drm2] Error code 2 >=20 > make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50= ea058 > 1 error >=20 > make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50= ea058 > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure= to > the maintainer. > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/ports/graphics/drm-legacy-kmod > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/graphics/drm-legacy-kmod >=20 > =3D=3D=3D>>> make build failed for graphics/drm-legacy-kmod > =3D=3D=3D>>> Aborting update >=20 >=20 > =3D=3D=3D>>> You can restart from the point of failure with this command l= ine: > portmaster graphics/drm-legacy-kmod=20 >=20 > This command has been saved to /tmp/portmasterfail.txt >=20 > --=20 > Steve > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"=