x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlienSoldier has quit [Quit: Vision[]: i've been blurred!]
x10z has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
<trungnt2910[m]>
Does Haiku have anything like Win32's `__debugbreak()`, where the user is forced to open the debugger but the app could still be resumed after that?
<Begasus>
I only use recipes to create package, so not so familiar with using cli to do this
<Begasus>
err ... not familiar on how you did that, I can understand what it does
<Begasus>
bugger, still no go on latest cargo-c
<trungnt2910[m]>
Begasus: Basically, it's some C# code that reads a few files and add them to the `lib/` package folder.
<trungnt2910[m]>
It uses the `B_HPKG_ATTRIBUTE_ID_PACKAGE_REPLACES` attribute to attempt to replace the official libroot.so (according to the docs there're no restrictions of what to replace).
<trungnt2910[m]>
s/of/on/
<Begasus>
trungnt2910[m], no idea about developing languages, but it does seem to trip over the installation part
x10z has joined #haiku
Begasus_32 has joined #haiku
x10z has quit [Ping timeout: 480 seconds]
<trungnt2910[m]>
Does package:replaces create any problems on Haiku?
<trungnt2910[m]>
How does Haiku handle two packages that are installed to the system and supplies different versions of the same file?
<trungnt2910[m]>
While I could use `B_HPKG_ATTRIBUTE_ID_PACKAGE_FRESHENS` to replace `libgcc_s.so.1`. I can't seem to use that attribute to replace libroot (as `haiku.hpkg` doesn't provide lib:libroot as a separate entity).
freddietilley has quit [Quit: WeeChat 3.5]
HaikuUser has joined #haiku
HaikuUser has quit []
<Begasus>
trungnt2910[m], not to familiar with the "haiku" packages but I suppose libgcc_c.so.1 is part of the main package, so I don't think you can replace a library package with a "system" package?
<trungnt2910[m]>
Begasus: No libgcc_s.so.1 is a library package, called gcc_syslibs.
<Begasus>
right, but that supplies more then only libgcc_s, so probably you can't just replace 1 file from a package, in the recipes afaik one package replaces the other package
<Begasus>
so you can't have both packages installed
<x512[m]>
trungnt2910: Isn't replaces apply to packages only, not individual files?
skirst has quit []
freddietilley has joined #haiku
skirst has joined #haiku
<trungnt2910[m]>
<x512[m]> "trungnt2910: Isn't replaces..." <- I guess so.
<trungnt2910[m]>
Replaces doesn't work, to replace libgcc_s I used "Freshen"
Begasus_32 has quit [Read error: Connection reset by peer]
<trungnt2910[m]>
But I couldn't find a way to replace libroot.
<trungnt2910[m]>
That's why I liked the idea of building libunwind inside libgcc_s, it would be easier to replace using hpkg files.
<x512[m]>
trungnt2910[m]: Just install patched haiku.hpkg.
<trungnt2910[m]>
x512[m]: lol.
<trungnt2910[m]>
So before your patch gets accepted, there'd be no way to get libunwind working on official Haiku?
<trungnt2910[m]>
It must be built on Walter?
<x512[m]>
I see no problem building system from sources.
<x512[m]>
I install system from sources with custom patches for long time.
<x512[m]>
trungnt2910[m]: You can put libraries to /boot/home/config/non-packaged/lib or install as user package.
<trungnt2910[m]>
A bit hacky, and fragile if libroot gets updated.
<x512[m]>
libroot.so should be paired with kernel version. Unlike Linux, Haiku have no stable syscall ABI.
<x512[m]>
But in practice syscall changes are rare.
Begasus_32 has joined #haiku
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
<waddlesplash>
trungnt2910[m]: and no, it does. however in most VMs, two NVMe "drives" are exposed as separate namespaces and indeed that isn't supported
<waddlesplash>
I don't think this is what namespaces are supposed to be for from reading the specs, but I probably should implement this anyway
<trungnt2910[m]>
<waddlesplash> "hmm, why don't we use that then?" <- I read the source of that libunwind a few times before, and the functions seemed a bit too low-level and a bit too much for my experience.
<trungnt2910[m]>
So now I'd hack on some working unwind stuff to get .NET running first, then I might look at that thing later (when I know more stuff...).
mmu_man has quit [Ping timeout: 480 seconds]
Anarchos has quit [Remote host closed the connection]
tuaris has joined #haiku
zdykstra has joined #haiku
Babaj has joined #haiku
Babaj has quit []
gouchi has joined #haiku
gouchi has quit [Remote host closed the connection]
matt__ has joined #haiku
Anarchos has joined #haiku
frkzoid has quit [Ping timeout: 480 seconds]
jmairboeck has joined #haiku
matt1 has left #haiku [#haiku]
orealis has quit [Quit: yap...]
orealis has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
<nekobot>
[haiku/haiku] 1cef8ebf6ec3 - freebsd_network: Fix ticks check in callout_reset.
AD_Anime2 has joined #haiku
probono98 has joined #haiku
dominicm has joined #haiku
milek7_ has joined #haiku
netpositive has quit [reticulum.oftc.net helix.oftc.net]
Forza_ has quit [reticulum.oftc.net helix.oftc.net]
Maturi0n has quit [reticulum.oftc.net helix.oftc.net]
probono9 has quit [reticulum.oftc.net helix.oftc.net]
itanium686 has quit [reticulum.oftc.net helix.oftc.net]
netposit1ve has joined #haiku
AD_MOS2 has quit [reticulum.oftc.net helix.oftc.net]
eightbit[m] has quit [reticulum.oftc.net helix.oftc.net]
dominicm_ has quit [reticulum.oftc.net helix.oftc.net]
trungnt2910[m] has quit [reticulum.oftc.net helix.oftc.net]
timkack[m] has quit [reticulum.oftc.net helix.oftc.net]
harshit-sharma[m] has quit [reticulum.oftc.net helix.oftc.net]
nielx[m] has quit [reticulum.oftc.net helix.oftc.net]
Kai[m]12 has quit [reticulum.oftc.net helix.oftc.net]
JaredMohammed[m]12 has quit [reticulum.oftc.net helix.oftc.net]
dcavalca has quit [reticulum.oftc.net helix.oftc.net]
AndersonTorres[m] has quit [reticulum.oftc.net helix.oftc.net]
kniffy has quit [reticulum.oftc.net helix.oftc.net]
Gustavs[m] has quit [reticulum.oftc.net helix.oftc.net]
chaoticbob[m] has quit [reticulum.oftc.net helix.oftc.net]
win8linux[m] has quit [reticulum.oftc.net helix.oftc.net]
TarunArora[m] has quit [reticulum.oftc.net helix.oftc.net]
semicoln[m] has quit [reticulum.oftc.net helix.oftc.net]
js has quit [reticulum.oftc.net helix.oftc.net]
jryans has quit [reticulum.oftc.net helix.oftc.net]
lovetocode999[m] has quit [reticulum.oftc.net helix.oftc.net]
andreasdr[m] has quit [reticulum.oftc.net helix.oftc.net]
Fs[m]1 has quit [reticulum.oftc.net helix.oftc.net]
ZorPrime[m]1 has quit [reticulum.oftc.net helix.oftc.net]
dfergfla[m] has quit [reticulum.oftc.net helix.oftc.net]
M3dEyes[m] has quit [reticulum.oftc.net helix.oftc.net]
erde74[m] has quit [reticulum.oftc.net helix.oftc.net]
EnriqueMedinaGremaldos[m] has quit [reticulum.oftc.net helix.oftc.net]
DirkOlmes[m] has quit [reticulum.oftc.net helix.oftc.net]
Blub\0 has quit [reticulum.oftc.net helix.oftc.net]
Niklas[m] has quit [reticulum.oftc.net helix.oftc.net]
GautamAgrawal[m] has quit [reticulum.oftc.net helix.oftc.net]
fredfigglehorn[m] has quit [reticulum.oftc.net helix.oftc.net]
jt15s[m] has quit [reticulum.oftc.net helix.oftc.net]
milek7 has quit [reticulum.oftc.net helix.oftc.net]
Scarecrow has quit [reticulum.oftc.net helix.oftc.net]
probono98 is now known as probono9
Scarecrow has joined #haiku
GautamAgrawal[m] has joined #haiku
trungnt2910[m] has joined #haiku
nielx[m] has joined #haiku
Maturi0n_ has joined #haiku
Forza_ has joined #haiku
lovetocode999[m] has joined #haiku
jt15s[m] has joined #haiku
andreasdr[m] has joined #haiku
Blub\0 has joined #haiku
netposit1ve is now known as netpositive
ablyss has quit [Quit: Leaving]
dcavalca has joined #haiku
selfish has quit [Ping timeout: 480 seconds]
caubert_ has joined #haiku
ClaudioM has quit [Quit: leaving]
rennj has quit [Quit: Leaving]
caubert has quit [Ping timeout: 480 seconds]
jryans has joined #haiku
Gaspare has joined #haiku
Anarchos has joined #haiku
kniffy has joined #haiku
Anarchos has quit []
Anarchos has joined #haiku
dfergfla[m] has joined #haiku
chaoticbob[m] has joined #haiku
ZorPrime[m]1 has joined #haiku
Kai[m]12 has joined #haiku
win8linux[m] has joined #haiku
semicoln[m] has joined #haiku
timkack[m] has joined #haiku
AndersonTorres[m] has joined #haiku
Gustavs[m] has joined #haiku
<Anarchos>
I have a strage behaviour : a window uses Group layout; it contains only a horizontal group two radio buttons. When i resize the window up or down, the radio buttons go down or up.
TarunArora[m] has joined #haiku
JaredMohammed[m]12 has joined #haiku
Gaspare has quit [Quit: Gaspare]
harshit-sharma[m] has joined #haiku
DirkOlmes[m] has joined #haiku
Gaspare has joined #haiku
erde74[m] has joined #haiku
EnriqueMedinaGremaldos[m] has joined #haiku
KapiX has joined #haiku
KapiX has quit []
Miyu has joined #haiku
hackkitten has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
HaikuUser2 has joined #haiku
HaikuUser has quit []
HaikuUser2 has quit []
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #haiku
ynhuser|828468 has quit [Quit: Ping timeout (120 seconds)]
ynhuser|828468 has joined #haiku
ablyss has joined #haiku
Miyu is now known as hackkitten
M3dEyes[m] has joined #haiku
jmairboeck has quit [Quit: Konversation terminated!]
AlaskanEmily has joined #haiku
matt__ has left #haiku [Leaving]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x10z has joined #haiku
Gaspare has quit [Quit: Gaspare]
vdamewood_ has quit [Remote host closed the connection]
vdamewood has joined #haiku
<x512[m]>
waddlesplash: I think that implementing unwind functions in libroot is a right thing. It are critical runtime functions and are stateful (you can have 2 unwind implementations in the same process). Real libgcc_s can be built without unwind support as jessicah suggested: https://review.haiku-os.org/c/haiku/+/5332/2#message-36737f54e94c88af1474c89d5f98fda83b8f0b3f.
<x512[m]>
Non-unwind related libgcc_s functions are stateless and do not use malloc so it are less problematic.
<x512[m]>
you can not have 2 unwind implementations in the same process
<waddlesplash>
yeah, that is a decent argument I suppose
<waddlesplash>
anyway third party libs need to go in src/libs
<waddlesplash>
not src/system
<x512[m]>
waddlesplash: Also note that Linux usually use eh_frame_hdr in program table that allows stateless unwind handling, it may be required to use 2 unwind libraries in the same process.
<waddlesplash>
hmm, that also sounds like an option
<waddlesplash>
but yeah it would maybe be better to deal with libgcc differently
<x512[m]>
waddlesplash: 3rd-party glibc and musl code is located inside libroot code.
<x512[m]>
waddlesplash: eh_frame_hdr is not an option because old binaries are compiled without it, old binaries need to be still supported.
<waddlesplash>
yes, but those aren't used wholesale
<waddlesplash>
they're used with custom modifications
<waddlesplash>
libs that we use without modifications should be in libs
<x512[m]>
libunwind also use custom modifications (signal frame handling, GCC compatibility), but it is small.
<waddlesplash>
that should be up streamed
<waddlesplash>
our musl and glibc modifications won't be
<x512[m]>
eh_frame_hdr can be implemented anyway because it speed up image loading and unwinding (binary search can be used).
<waddlesplash>
yeah that might be nice
<x512[m]>
Custom libunwind modifications depends on Haiku private API.
<x512[m]>
GCC compatibility can be upstreamed.
<andreasdr[m]>
Good evening!
AlienSoldier has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fs[m]1 has joined #haiku
Niklas[m] has joined #haiku
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eightbit[m] has joined #haiku
x10z has joined #haiku
B2IA has quit [Quit: Vision[]: i've been blurred!]