-
tsoome
whee: ../common/Pcore.c:550:2: error: array index 20 is past the end of the array (which contains 19 elements) (code line: lwp->lwp_status.pr_reg[REG_RSP] = prs64->pr_reg.lxr_rsp;)
-
andyf
I can think of other noises than whee...!
-
andyf
Any idea where it's going wrong? The array should have 28 elements for amd64
-
andyf
Do we generally expect the 32-bit libproc.so to be dealing with 64-bit things? Maybe the fix is just to refuse to convert the lx prstatus64 to lwp_status in the 32-bit library? The ptools isaexec anyway.
-
tsoome
this one is 32-bit compile
-
tsoome
and yes, it is just about quality of compiler diagnostics; the register array size is defined constant, depending on 32 or 64 bit mode and is easy to overlook by human.
-
tsoome
and well... maybe we should not provide 32-bit libproc at all;)
-
andyf
I haven't checked, but does it already refuse to open a 64-bit target?
-
tsoome
at least pldd does: pldd: cannot examine 17310: program is _LP64, self is not
-
andyf
which is coming from libproc, great.
-
Guest38
why sh(1) manpage is the same of ksh93 if sh != ksh in illumos??
-
Guest38
is bourne shell being deprecated in favor of ksh?
-
andyf
On illumos, sh and ksh are the same. The older sh is available under /usr/has/bin/sh
-
andyf
There's no guarantee it will always stay that way though, as in one shouldn't assume that /bin/sh is ksh. If you use ksh features, put /bin/ksh in the shebang.
-
Guest38
but /usr/has/bin/sh will be deprecated?
-
andyf
and on some illumos distributions, I think that /bin/sh is replaced with something else, so experience may vary.
-
andyf
it is deprecated as far as I know. I don't expect that directory is usually in people's PATH.
-
Guest38
what 'has' means?
-
andyf
I have always assumed that 'has/bin' is a play on the phrase 'has-been' - as in 'something out of date or past use.'
-
andyf
but I have never actually asked :)
-
sjorge
-
sjorge
i run that every reboot on mine
-
sjorge
twitter was not letting me reply.
-
gitomat
[illumos-gate] 14489 bhyve should emulate imul -- Andy Fiddaman <illumos⊙fn>
-
andyf
^ for distro maintainers, this was the last piece for persistent UEFI variables with bhyve
-
andyf
(at least using edkII, as we all are as far as I know)
-
sjorge
that has been in omnios for a while right?
-
andyf
Yes, a couple of releases at least
-
andyf
It just took me a while to be sure of the testing for RTI, and then pmooney helped by writing a proper "runs-in-a-guest" test case.
-
sjorge
it's not ready yet to run the OMVF builds yet firmware right?
-
andyf
I don't think anyone is doing work towards that for c-bhyve in gate
-
sjorge
i think there are some
-
sjorge
patches on freebsds phabricator at least
-
sjorge
but not been tracking that super closely
-
andyf
I'm a couple of months behind on upstream so a bit out of touch. I do plan another upstream sync at the end of the year though.
-
sjorge
I don't think its merged yet, IIRC its tied up in some dynamic ACPI and Qemu compat changes to talk to the fw
-
andyf
The dynamic ACPI stuff will be nice, and the fwcfg interface
-
sjorge
fwcfg that was the keyword i couldnt come up with 😅