From owner-freebsd-x11@freebsd.org Mon Feb 11 16:12: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 076D514DB759; Mon, 11 Feb 2019 16:12:08 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E30474BC1; Mon, 11 Feb 2019 16:12:07 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x1BGC5Iw041349 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 11 Feb 2019 08:12:05 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x1BGC5To041348; Mon, 11 Feb 2019 08:12:05 -0800 (PST) (envelope-from sgk) Date: Mon, 11 Feb 2019 08:12:05 -0800 From: Steve Kargl To: freebsd-current@freebsd.org, freebsd-ports@freebsd.org, freebsd-x11@freebsd.org Subject: drm2 removed? Message-ID: <20190211161205.GB41262@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: 4E30474BC1 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.71 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.10)[ip: (0.22), ipnet: 128.95.0.0/16(0.28), asn: 73(0.08), country: US(-0.07)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[washington.edu]; AUTH_NA(1.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; NEURAL_SPAM_SHORT(0.76)[0.760,0]; RCVD_IN_DNSWL_MED(-0.20)[21.76.95.128.list.dnswl.org : 127.0.11.2]; MX_GOOD(-0.01)[cached: troutmask.apl.washington.edu]; NEURAL_SPAM_LONG(0.27)[0.271,0]; NEURAL_SPAM_MEDIUM(0.88)[0.884,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[] 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:12:08 -0000 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? --- ttm_bo_manager.o --- cc -O2 -pipe -march=core2 -fno-strict-aliasing -march=core2 -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 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-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=iso9899: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/ttm/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/ttm/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/ttm/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/ttm/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/ttm/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/ttm/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/ttm/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/ttm/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 make[4]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/drm2/drm2 1 error make[4]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/drm2/drm2 *** [all_subdir_drm2/drm2] Error code 2 make[3]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/drm2 1 error make[3]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/drm2 *** [all_subdir_drm2] Error code 2 make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058 1 error make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/drm-legacy-kmod *** Error code 1 Stop. make: stopped in /usr/ports/graphics/drm-legacy-kmod ===>>> make build failed for graphics/drm-legacy-kmod ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster graphics/drm-legacy-kmod This command has been saved to /tmp/portmasterfail.txt -- Steve