-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation fails on FreeBSD 13.2 RELEASE #12787
Comments
Hi @mkrzewic, indeed ROOT currently does not compile on FreeBSD. The crash you are seeing is because Unfortunately, I fear that there are currently no resources available to support FreeBSD and then maintain it. If you want to give it a shot yourself, essentially cleaning up the available patches and properly submitting them, please feel free to ping me on the pull requests 😃 |
Hi @hahnjo , I found some time to look into it and have a question since the build system around the dict generation is a bit complicated: where would be the place to add library dependencies for rootcling_stage1 ?
ld: error: undefined symbol: kinfo_getproc
ld: error: undefined symbol: procstat_getpathname
|
That would be |
I'm getting a crash at the end, while I investigate maybe some of you recognize it: stacktrace attached. |
(assuming you haven't found it yet) Hm, looking at the code in |
@hahnjo hi, my WIP branch is https://github.com/mkrzewic/root/tree/FreeBSD |
@hahnjo Hi, I finally found some time to get this building, the branch now seems to somewhat work. Few things:
|
@mkrzewic great work! I haven't looked at the changes in detail yet, just at the commits from a high level; for the first one in particular, it would be great to split this into smaller logical pieces. For example, the linking of the
Looking at
Tests should pass on Linux. It's possible that there is some common problem that makes multiple / many tests fail. Probably needs to be looked at in more detail. |
indeed I have thought about it, but laziness took over at this stage since fbsd is apparently similar enough for a first try. I'll separate it out.
luckily most tests seem to pass on linux with my branch. The failed ones I think are related to whatever I did not want to install (dependency-wise) |
@hahnjo I reorganized the patches for a more fine grained overview. I did leave one larger patch (the initial one) as a throw-in-all bucket to have a good placeholder for creds to the port maintainers |
Excellent, thanks @mkrzewic! Can you open a PR for a proper review? The structure looks good to me, just some minor details to clarify and other people to have a look. |
Describe the bug
segfault in build process.
Expected behavior
build process completes.
To Reproduce
standard cmake build process, as described in the guide.
Setup
ROOT v6-26-10 (@4dddea35)
FreeBSD 13.2 RELEASE (clang 14.0.5), required dependencies installed from ports
Additional context
a port exists v6-28-02 (development/root), installs in binary form (so somebody got it to compile, did not have too much time to test it thoroughly). In my case, however, the port also does not compile, craps out somewhere else. plus it hauls in too many dependencies so it is less than ideal.
I imagine getting it to work on FreeBSD would not end at fixing this issue here. The fbsd port maintainer has some patches which might help, but I have also seen that e.g. procfs is deprecated in new releases and libprocstat has to be used, etc, etc.
With that being said, it would be extremely nice to get ROOT to work on FreeBSD...
thanks,
The text was updated successfully, but these errors were encountered: