From owner-freebsd-stable@freebsd.org Tue Feb 23 22:07:04 2021 Return-Path: Delivered-To: freebsd-stable@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 4E8F0554F93 for ; Tue, 23 Feb 2021 22:07:04 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (024-240-198-186.biz.spectrum.com [24.240.198.186]) (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 "dweimer.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DlY7C5hvVz4jsl; Tue, 23 Feb 2021 22:07:03 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received-SPF: pass (webmail.dweimer.net: authenticated connection) receiver=webmail.dweimer.net; client-ip=10.9.5.1; helo=www.dweimer.net; envelope-from=dweimer@dweimer.net; x-software=spfmilter 2.001 http://www.acme.com/software/spfmilter/ with libspf2-1.2.10; Received: from www.dweimer.net (pfsense.dweimer.me [10.9.5.1]) (authenticated bits=0) by webmail.dweimer.net (8.16.1/8.16.1) with ESMTPSA id 11NM72jR000682 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 23 Feb 2021 16:07:02 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Date: Tue, 23 Feb 2021 16:06:57 -0600 From: "Dean E. Weimer" To: Mark Johnston Cc: FreeBSD Stable Subject: Re: dtrace issue on releng/13.0 Reply-To: dweimer@dweimer.net In-Reply-To: References: <7fdb6e85a2bd82606bf5603a21d0625a@dweimer.net> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <629175d926e3a607efa20e3c8641aa74@dweimer.net> X-Sender: dweimer@dweimer.net Organization: dweimer.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DlY7C5hvVz4jsl X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; HAS_REPLYTO(0.00)[dweimer@dweimer.net]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:24.240.198.184/29]; REPLYTO_ADDR_EQ_FROM(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[dweimer.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[dweimer.net,reject]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[24.240.198.186:from]; ASN(0.00)[asn:20115, ipnet:24.240.196.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[dweimer.net:s=2017.01.31]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[24.240.198.186:from:127.0.2.255]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 22:07:04 -0000 On 2021-02-23 3:33 pm, Mark Johnston wrote: > On Tue, Feb 23, 2021 at 02:36:04PM -0600, Dean E. Weimer via > freebsd-stable wrote: >> I just built and installed FreeBSD 13.0 Beta 3 from source checked out >> with last commit of 4b737a9c58cac69008f189cc44e7d1a81a0b601c after the >> install I was installing a few ports, and perl5.32 failed to build >> stating dtrace -h not available. >> >> root@fbsd13-devel:/ # dtrace -h >> dtrace: failed to establish error handler: "/usr/lib/dtrace/psinfo.d", >> line 1: failed to copy type of 'pr_uid': Type information is in parent >> and unavailable >> >> The initial install from the FreeBSD-BETA3 iso image does work as >> expected, so the problem was introduced since then. >> >> root@fbsd13:/jails/devel # dtrace -h >> dtrace: -h requires one or more scripts or enabling options >> >> It does appear that the commit >> ae093a0614f30d4cdffb853e4eba93322e8ed8f4 >> references changes to dtrace. > > Are you using GENERIC, or some custom kernel configuration? Could you > show output from "ctfdump -S /boot/kernel/kernel"? The error you > reported is typically the result of some problems with the C type > metadata used by dtrace. The commit you referenced ought to be > unrelated. Generic Kernel, I am using a make.conf and src.conf configuration. I hope text wrapping doesn't screw this up too much, left side is original from install off of beta3 iso image. Right side is after build. total number of data objects = 29878 total number of data objects = 29985 total number of functions = 33882 total number of functions = 60651 total number of function arguments = 82078 total number of function arguments = 136339 maximum argument list length = 22 maximum argument list length = 24 average argument list length = 2.42 average argument list length = 2.25 total number of types = 31901 total number of types = 32883 total number of integers = 77 total number of integers = 77 total number of floats = 0 total number of floats = 0 total number of pointers = 7878 total number of pointers = 8683 total number of arrays = 3255 total number of arrays = 3288 total number of func types = 2293 total number of func types = 2298 total number of structs = 10778 total number of structs = 10773 total number of unions = 620 total number of unions = 618 total number of enums = 979 total number of enums = 979 total number of forward tags = 51 total number of forward tags = 51 total number of typedefs = 5150 total number of typedefs = 5143 total number of volatile types = 54 total number of volatile types = 56 total number of const types = 616 total number of const types = 772 total number of restrict types = 6 total number of restrict types = 6 total number of unknowns (holes) = 144 total number of unknowns (holes) = 139 total number of struct members = 80028 total number of struct members = 79982 maximum number of struct members = 248 maximum number of struct members = 248 total size of all structs = 22744641 total size of all structs = 22744363 maximum size of a struct = 2971720 maximum size of a struct = 2971720 average number of struct members = 7.43 average number of struct members = 7.42 average size of a struct = 2110.28 average size of a struct = 2111.24 total number of union members = 2181 total number of union members = 2178 maximum number of union members = 90 maximum number of union members = 90 total size of all unions = 131965 total size of all unions = 131991 maximum size of a union = 41584 maximum size of a union = 41584 average number of union members = 3.52 average number of union members = 3.52 average size of a union = 212.85 average size of a union = 213.58 total number of enum members = 9465 total number of enum members = 9465 maximum number of enum members = 1023 maximum number of enum members = 1023 average number of enum members = 9.67 average number of enum members = 9.67 total number of unique strings = 68195 total number of unique strings = 68172 bytes of string data = 994644 bytes of string data = 994186 maximum string length = 81 maximum string length = 81 average string length = 14.59 average string length = 14.58 make.conf: # Some Default Options From /usr/share/examples/etc/make.conf CFLAGS?= -O CLFAGS+= -pipe COPTFLAGS?= -O COPTFLAGS+= -pipe NO_CPU_CFLAGS= MK_WERROR=no # Port Configuration Options WITH_CCACHE_BUILD= YES OPTIONS_SET= LIBEDIT OPTIMIZED_CFLAGS GSSAPI_NONE OPTIONS_UNSET= X11 X GUI TLS_SRP AVAHI GSSAPI_BASE XPM CUPS EXAMPLES DOCS WRKDIRPREFIX= /var/ports PACKAGES= /var/ports/packages WITH_PKGNG= YES DEFAULT_VERSIONS= pgsql=13 php=80 apache=2.4 perl5=5.32 bdb=6 mysql=105m ssl=openssl python=3.9 python3=3.9 gcc=9 linux=c7 samba=4.13 # Enable Build World & Kernel CCACHE .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && !defined(NOCCACHE) CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1} CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1} .endif .if (!empty(.CURDIR:M/jails/devel/ROOT/usr/src*) || !empty(.CURDIR:M/jails/devel/ROOT/usr/obj*)) && !defined(NOCCACHE) CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1} CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1} .endif src.conf: WIHTOUT_FLOPPY="YES" WITHOUT_FREEBSD_UPDATE="YES" WITH_BSD_GREP="YES" WITHOUT_BLUETOOTH="YES" WITHOUT_PORTSNAP="YES" WITHOUT_WIRELESS="YES" WITHOUT_WPA_SUPPLICANT_EAPOL="YES" WITHOUT_ATM="YES" WITHOUT_LPR="YES" WITHOUT_PPP="YES" WITHOUT_LLDB="YES" WITHOUT_FTP="YES" WITHOUT_RBOOTD="YES" WITHOUT_TALK="YES" WITHOUT_NTP="YES" WITH_ISCSI="YES" WITH_REPRODUCIBLE_BUILD="YES" WITHOUT_GNU_DIFF="YES" WITH_KERNEL_RETPOLINE="YES" -- Thanks, Dean E. Weimer http://www.dweimer.net/