dtrace issue on releng/13.0
Dean E. Weimer
dweimer at dweimer.net
Tue Feb 23 22:07:04 UTC 2021
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 at 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 at 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/
More information about the freebsd-stable
mailing list