-
richlowe
typod 'embeded' as 'impeded', and I'm not even sure it was wrong.
-
richlowe
jclulow, andyf: so yeah, my system, no seeds, no magic, with my bug fixed just starts importing manifests happy as anything.
-
richlowe
not exactly pleasant, because time, so the seed is definitely good
-
richlowe
I have suspicions I am just getting radically lucky, radically often.
-
richlowe
which, you can imagine, was not at the top of my list of theories, for reasons.
-
LXGHTNXNG
a
-
gitomat
[illumos-gate] 15139 loader: avoid duplicate load for environment and console-font -- Toomas Soome <tsoome⊙mc>
-
KungFuJesus
ugh, just got bit by this guy again:
illumos.org/issues/15024
-
fenix
→
BUG 15024: NFS can exhaust pool threads getting RPCSEC_GSS credentials (In Progress) |
code.illumos.org/c/illumos-gate/+/2402
-
KungFuJesus
all it takes is one misadventure with one kerberized NFS session to deadlock the whole system
-
jbk
oh there are other fun ways too :)
-
gitomat
[illumos-gate] 15136 want unit test for bhyve dirty page tracking -- Patrick Mooney <pmooney⊙pc>
-
gitomat
[illumos-gate] 15128 libnsl: variable is used uninitialized -- Toomas Soome <tsoome⊙mc>
-
LXGHTNXNG
can we just evict NFS forever?
-
jclulow
NFS is my favourite
-
richlowe
hot pursuit was best
-
jclulow
ha
-
Smithx10
Underground
-
Smithx10
All time favorite car was from Grant Turismo PS1 - Mitsubishi GT3000 ... what a good time
-
yuripv
weird, both gcc7 and gcc10 say "error: a label can only be part of a statement and a declaration is not a statement" about
github.com/omniosorg/kayak/blob/ddb…f0a3eb8a4f53/src/mount_media.c#L330 despite -std=gnu99 being specified
-
richlowe
that's talking about labels, not variable declarations
-
richlowe
I'd presume somehow you're conflicting with the name of one
-
yuripv
declaring the variable above the label (at the start of the function) gets rid of the error, but i wonder what's wrong with my gccs as apparently it works when building omnios
-
richlowe
labels as in the things you goto to
-
richlowe
I don't know, that's weird. I can see why it would seem odd to try to put a local on the stack in a label-dependent way, but it should get hoisted regardless
-
richlowe
so I can see why the compiler would think that was odd, or possibly not ok, but I can't work out why it would choose to do so only for you
-
richlowe
I'm looking at the code in 10.3 that does that, and I definitely can't see how it would depond on anything.
-
yuripv
actually tried with gcc on omnios and clang on freebsd, all of them are not happy
-
yuripv
not sure how it builds while building kayak in omnios :)
-
jclulow
I would definitely not expect that to work
-
richlowe
I was assuming it worked as a GNU extension, or by chance, since as I said, the variable would get hoisted anyway.
-
richlowe
but looking at the code, definitely not.
-
jclulow
I think there's some question of when the initialisation occurs
-
jclulow
and whether it occurs again
-
richlowe
yuripv: were I you, I'd assume it doesn't work on omnios either, and fix it.
-
jclulow
yeah
-
richlowe
declare the variable at the top of the block, initialize it at the label or whatever
-
jclulow
I feel like case labels also have this issue
-
richlowe
case labels you traditionally just introduce a block
-
richlowe
doing that for other labels looks horrible
-
jclulow
case label blocks make me grumpy because there is no good thing to do for the last arm
-
LXGHTNXNG
œ
-
jclulow
Which I suppose is an artefact of our otherwise delightful choice to align the labels under the `switch`
-
richlowe
C's block structure is kind of a convenient lie anyway
-
jclulow
I think that's probably what we would put on C's tombstone
-
jclulow
RIP C, a convenient lie
-
LXGHTNXNG
sometimes I wonder what it would be like to write a compiler that understood the peculiar Plan 9 dialect of C, on Unix.
-
LXGHTNXNG
anonymous members of structs. What?
-
richlowe
I'm pretty sure GCC does
-
LXGHTNXNG
hm
-
LXGHTNXNG
Idk. Maybe I just have Plan 9 brain poison.
-
yuripv
richlowe: yep, done,
omniosorg/kayak #236
-
jclulow
LXGHTNXNG: I suspect the early Go source history probably has compilers like that?
-
jclulow
Also presumably 9port etc
-
richlowe
I'm pretty sure p9p just relies on gcc having the extensions
-
LXGHTNXNG
richlowe: the Venti file server in 9port at least removes using Avl anonymously. Instead of that, though, it appears to rely on struct members being in the order specified (something the ?c compilers on Plan 9 do not guarantee)
-
LXGHTNXNG
It also relies on the C compiler not adding padding to the beginnings of structs.
-
jclulow
You keep calling it a "C compiler" haha
-
jclulow
I feel like it compiles Something Else though
-
jclulow
It must be hard to have any kind of ABI if the compiler can just reorder all your fields
-
jclulow
I suppose Plan 9 didn't care about that
-
richlowe
or read blocks off data from a device
-
jclulow
perhaps they had a `#pragma less_esoteric`
-
jclulow
for that
-
richlowe
I could see them doing it to minimize padding, and exempting structures with no padding or bitfields or something
-
LXGHTNXNG
everything is statically linked. Also I think I lied about the reordering
-
jclulow
even if things are statically linked, they had all this "I read structs from files everything is a file" stuff
-
jclulow
You have to imagine that some of that was done with a read(2) into a struct
-
gitomat
[illumos-gate] 14978 ZFS autoexpand property should work for root pools -- Joshua M. Clulow <josh⊙so>
-
richlowe
jclulow: they're very big on everything being strings, too
-
richlowe
process exit stuff, signals...
-
jclulow
That's possible. I vaguely remember looking at how some of the window drawing stuff worked and I had felt like there were some structs in there -- but perhaps I am misremembering