From owner-freebsd-current@freebsd.org Thu Aug 1 19:10:20 2019 Return-Path: Delivered-To: freebsd-current@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 45005C6684; Thu, 1 Aug 2019 19:10:20 +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 4600HH2SSZz4824; Thu, 1 Aug 2019 19:10:18 +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 x71JA9hW008263 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 1 Aug 2019 12:10:09 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x71JA9vn008262; Thu, 1 Aug 2019 12:10:09 -0700 (PDT) (envelope-from sgk) Date: Thu, 1 Aug 2019 12:10:09 -0700 From: Steve Kargl To: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: drm-legacy is broken, again Message-ID: <20190801191009.GA8229@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 Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 4600HH2SSZz4824 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of sgk@troutmask.apl.washington.edu has no SPF policy when checking 128.95.76.21) smtp.mailfrom=sgk@troutmask.apl.washington.edu X-Spamd-Result: default: False [1.62 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.78)[0.783,0]; 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)[]; IP_SCORE(-0.06)[ip: (0.07), ipnet: 128.95.0.0/16(0.01), asn: 73(-0.32), country: US(-0.05)]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 01 Aug 2019 19:10:20 -0000 Just updated /usr/src to top of tree. Trying to update drm-legacy port. After a failed 'make' in /usr/ports/drm-legacy % make |& tee drm.txt % tail drm.txt =3D=3D=3D> drm2/drm2 (all) Warning: Object directory not changed from original /usr/ports/graphics/drm= -legacy-kmod/work/drm-legacy-990f64b/drm2/drm2 cc -O2 -pipe -march=3Dbdver2 -fno-strict-aliasing -march=3Dbdver2 -Werror= -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/ports/graphics/drm-legacy-kmod/wo= rk/drm-legacy-990f64b/drm2/../src/ -I. -I/usr/src/sys -I/usr/src/sys/contri= b/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-poin= ter -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-pre= fix-map=3D./x86=3D/usr/src/sys/x86/include -MD -MF.depend.drm_crtc.o -= MTdrm_crtc.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float= -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector = -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prot= otypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__= =3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wn= o-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wn= o-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-= sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-ae= s -mno-avx -std=3Diso9899:1999 -c /usr/ports/graphics/drm-legacy-kmod/work= /drm-legacy-990f64b/src/dev/drm2/drm_crtc.c -o drm_crtc.o /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1128:21: error: use of undeclared identifier 'USHRT_MAX' if (in->hdisplay > USHRT_MAX || in->hsync_start > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1128:52: error: use of undeclared identifier 'USHRT_MAX' if (in->hdisplay > USHRT_MAX || in->hsync_start > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1129:23: error: use of undeclared identifier 'USHRT_MAX' in->hsync_end > USHRT_MAX || in->htotal > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1129:49: error: use of undeclared identifier 'USHRT_MAX' in->hsync_end > USHRT_MAX || in->htotal > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1130:19: error: use of undeclared identifier 'USHRT_MAX' in->hskew > USHRT_MAX || in->vdisplay > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1130:47: error: use of undeclared identifier 'USHRT_MAX' in->hskew > USHRT_MAX || in->vdisplay > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1131:25: error: use of undeclared identifier 'USHRT_MAX' in->vsync_start > USHRT_MAX || in->vsync_end > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1131:54: error: use of undeclared identifier 'USHRT_MAX' in->vsync_start > USHRT_MAX || in->vsync_end > USHRT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1132:20: error: use of undeclared identifier 'USHRT_MAX' in->vtotal > USHRT_MAX || in->vscan > USHRT_MAX) ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1132:45: error: use of undeclared identifier 'USHRT_MAX' in->vtotal > USHRT_MAX || in->vscan > USHRT_MAX) ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1170:18: error: use of undeclared identifier 'INT_MAX' if (in->clock > INT_MAX || in->vrefresh > INT_MAX) ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1170:44: error: use of undeclared identifier 'INT_MAX' if (in->clock > INT_MAX || in->vrefresh > INT_MAX) ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1840:26: error: use of undeclared identifier 'INT_MAX' if (plane_req->crtc_w > INT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1841:26: error: use of undeclared identifier 'INT_MAX' plane_req->crtc_x > INT_MAX - (int32_t) plane_req->crtc_w || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1842:26: error: use of undeclared identifier 'INT_MAX' plane_req->crtc_h > INT_MAX || ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1843:26: error: use of undeclared identifier 'INT_MAX' plane_req->crtc_y > INT_MAX - (int32_t) plane_req->crtc_h) { ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1903:20: error: use of undeclared identifier 'INT_MAX' if (crtc_req->x > INT_MAX || crtc_req->y > INT_MAX) ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:1903:45: error: use of undeclared identifier 'INT_MAX' if (crtc_req->x > INT_MAX || crtc_req->y > INT_MAX) ^ /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990f64b/src/dev/drm2/dr= m_crtc.c:2297:32: error: use of undeclared identifier 'UINT_MAX' if ((uint64_t) width * cpp > UINT_MAX) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 20 errors generated. *** Error code 1 Stop. make[4]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990= f64b/drm2/drm2 *** Error code 1 Stop. make[3]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990= f64b/drm2 *** Error code 1 Stop. make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-990= f64b *** 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 --=20 Steve 20170425 https://www.youtube.com/watch?v=3DVWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=3DIbCHE-hONow