<botifico-e32c8fbd>
[haikuports/haikuports] Begasus b457621 - mimalloc, new recipe (#9059)
<humdinger>
must be a real PITA if it defeated the mighty Begasus...
<Begasus>
heh
<Begasus>
I'm getting old(er) I guess ;)
<humdinger>
or gcc is getting meaner
<Begasus>
all is good, just the new jit part isn't
jmairboeck has joined #haiku
<Begasus>
could get solvespace into the depot, cli only as the gui doesn't function yet
<Begasus>
still got about 20ish kde recipes that needs finishing ...
<Begasus>
those were in preparation for kalendar (that isn't functional really too atm) :)
<nielx[m]>
Morning Begasus
<nielx[m]>
I'll try to see if I can find some hints in how others have solved this previously
<Begasus>
Morning nielx[m]
<Begasus>
most of the libraries end up in syslibs, maybe for a reason?
<Begasus>
also the fortran (the fortran package only contains the static library)
HaikuUser has joined #haiku
HaikuUser has quit []
<nielx[m]>
No, the problem is that gccjit invokes the linker, but does not pass the gcc lib dir path under certain conditions, including in the one in the configure test. So I will try to see what conditions are relevant, and how the path is determined under those conditions
<Begasus>
one of the things is is that gccjit doesn't use the same install paths as the others seem to do?
<nielx[m]>
You got it to work with your recipe, right?
<Begasus>
to build yes, but didn't test it against gccjit then (did a quick check earlier but that failed too)
<Begasus>
still got a backup from my first attempt
<nielx[m]>
could you test that?
<Begasus>
just did earlier
<nielx[m]>
ah right, that had the same issue?
<Begasus>
same as with your changes
<Begasus>
yep
<Begasus>
build ok, runtime nope
<nielx[m]>
well that's something :-)
<nielx[m]>
The search for "emacs libgccjit.so error error invoking gcc driver" shows a lot of people needing to manually set their library path in emacs
<nielx[m]>
mostly on OS X though
<Begasus>
guessing most *nix ports wont have that problem
<Begasus>
gcc-13.1.0_2023_06_20-jit-obj/gcc (that one is probably a leftover from my first attempt)
<nielx[m]>
So from what I understand, libgccjit has an internal driver and and external driver. The external driver is the gcc binary, which would use all the system default search paths
<nielx[m]>
My theory now is that it is looking for this binary (x86_64-unknown-haiku-gcc-13.1.0)
<Begasus>
I'm lost there :)
<Begasus>
anyway, time to head of to the dogschool, talk to you later :) (and thanks so far)!
Diver has joined #haiku
humdinger has quit [Quit: Vision[]: Oi with the poodles already!!]
eroux_ has joined #haiku
eroux has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
HaikuUser has quit []
HaikuUser has joined #haiku
HaikuUser has quit []
HaikuUser has joined #haiku
HaikuUser has quit []
mmu_man has joined #haiku
hightower2 has joined #haiku
AlaskanEmily has quit [Remote host closed the connection]
tercaL has joined #haiku
tercaL has quit [Remote host closed the connection]
gouchi has joined #haiku
extrowerk has quit [Quit: Bye!]
FreeFull has joined #haiku
<nielx[m]>
Begasus: I added a new symlink in the base gcc package. The changes are a new commit. I am getting a policy warning about matching the provides with the new symlink, hopefully you have some ideas about that. With these packages I am able to build and run one of the examples they provide
gouchi has quit [Quit: Quitte]
tercaL has joined #haiku
novaphoenix has quit [Quit: gone fishing]
<Begasus>
thank nielx[m], will check it out :)
novaphoenix has joined #haiku
<ermo[m]>
what is the status of the radeon hd7970 work? ^^
<ermo[m]>
Fired up my haiku box last night and updated with no issues, and it has a hd7970 so was reminded to ask how that is going
<x512[m]>
Begasus: No libgccjit.so in /boot/system/develop/lib?
<nielx[m]>
just to be sure, the gcc_jit and gcc_jit_devel packages were included in the build? And also the most recent ones, not the ones with the (potentially) broken symlinks?
<Begasus>
everything included, links are present in /boot/system/develop/lib
valerius_ has quit [Remote host closed the connection]
valerius_ has joined #haiku
dpirate_ has quit [Remote host closed the connection]
<nielx[m]>
will have to go to lunch now. is your wip recipe somewhere? I can have a look and see if I can adjust the libgccjit further
<nielx[m]>
but first lunch :-)
<Begasus>
just pulled in the latest changes from you, so aside from the cmd nothing changed
<Begasus>
or do you mean the first one I had?
<Begasus>
ps, enjoy your lunch :) (smakelijk)
copy has quit [Remote host closed the connection]
dpirate has joined #haiku
copy has joined #haiku
<Begasus>
arghh .... wait ...
gouchi has joined #haiku
gouchi has quit []
<Begasus>
checking for gcc_jit_context_acquire in -lgccjit... yes (bumps head real hard) :)