From owner-freebsd-arm@freebsd.org Thu May 21 01:09:40 2020 Return-Path: Delivered-To: freebsd-arm@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 DAE1A2F9BEB; Thu, 21 May 2020 01:09:40 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49SBNg3sCPz44VN; Thu, 21 May 2020 01:09:39 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id 04L19dv6071822 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 20 May 2020 18:09:40 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id 04L19dVE071821; Wed, 20 May 2020 18:09:39 -0700 (PDT) (envelope-from fbsd) Date: Wed, 20 May 2020 18:09:39 -0700 From: bob prohaska To: Mika??l Urankar Cc: freebsd-ports@freebsd.org, freebsd-arm@freebsd.org Subject: Re: Missing /dev/io on rpi3 running 12-stable Message-ID: <20200521010939.GA71782@www.zefox.net> References: <20200520164642.GA70838@www.zefox.net> <20200520181633.GA71007@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 49SBNg3sCPz44VN X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [2.91 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.17)[0.166]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.22)[0.223]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.62)[0.625]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2020 01:09:40 -0000 On Wed, May 20, 2020 at 08:56:31PM +0200, Mika??l Urankar wrote: > Le mer. 20 mai 2020 ?? 20:16, bob prohaska a ??crit : > > > > On Wed, May 20, 2020 at 07:09:11PM +0200, Mika??l Urankar wrote: > > > Le mer. 20 mai 2020 ?? 18:46, bob prohaska a ??crit : > > > > > > > > Is there supposed to be a /dev/io by default in FreeBSD on a Pi3? > > > > Attempts to start X under 12.1-STABLE r361271 GENERIC fail with > > > > a report of "failed to open /dev/io". There is indeed no /dev/io, > > > > but there's also no /dev/io on a pi2 running 12-stable. > > > > > > > > Nor does there seem to be a kernel module with matching name.... > > > > > > > > Thanks for reading! > > > > > > > > bob prohaska > > > > > > I haven't looked closely but it seems the error is in > > > x11-servers/xorg-server/files/configure.ac, AC_DEFINE(USE_DEV_IO) > > > > > > > Alas, the remedy does not suggest itself, at least not to me.... > > > > Can somebody offer a hint? > > edit files/patch-configure, locate USE_DEV_IO and remove the whole hunk. > then make clean; make deinstall install > Looks like it's not quite that simple. I took the "hunk" to be the preceding line starting with @@ to the next line starting with @@. Make patch finished with no errors, following a fresh make clean, but the build stopped with ld: error: undefined symbol: xf86EnableIO >>> referenced by sdksyms.c >>> sdksyms.o:(xorg_symbols) >>> referenced by xf86Configure.c >>> xf86Configure.o:(DoConfigure) in archive common/.libs/libcommon.a >>> referenced by xf86Events.c >>> xf86Events.o:(xf86VTEnter) in archive common/.libs/libcommon.a >>> referenced by xf86Init.c >>> xf86Init.o:(InitOutput) in archive common/.libs/libcommon.a >>> referenced by xf86Init.c >>> xf86Init.o:(InitOutput) in archive common/.libs/libcommon.a ld: error: undefined symbol: xf86DisableIO >>> referenced by sdksyms.c >>> sdksyms.o:(xorg_symbols) >>> referenced by xf86Events.c >>> xf86Events.o:(xf86VTLeave) in archive common/.libs/libcommon.a ld: error: undefined symbol: xf86OSInitVidMem >>> referenced by vidmem.c >>> vidmem.o:(xf86InitVidMem) in archive os-support/.libs/libxorgos.a cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[6]: *** [Makefile:814: Xorg] Error 1 Not sure what to try next.... Thanks for reading! bob prohaska