-
Notifications
You must be signed in to change notification settings - Fork 128
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
build-rr.sh fails to detects Xen headers #117
Comments
It seems that the test program that build-rr.sh uses to check for xen headers doesn't compile. |
looks more like stdint.h requiring something else to be included before it? |
I think its library version incompatibilities. I tried on a different machine and didn't have any issues. I don't have much familiarity with using xen. |
Broken packages: |
Notably, both kernels are Linux 4.9 so maybe if I was using a 4.9 libxen-dev it would work. @roberto-torre I'd try compiling the test file: |
does compiling a file with just |
Only if you don't add the xen include path. |
heh, well, ok, i don't know what to say |
Tracing the included files on my working system:
And:
So xen's features.h file is replacing the system one. Removing this file on my broken machine makes it work. |
Ok, after trying some stuff I came across some interesting results:
So it may be that the error occurs because of libc. I will try to check other versions of it like 2.24-11, however I couldn't find it with apt Edit: I almost crashed my computer when trying to downgrade my libc6 from 2.26 to 2.24...too many library incompatibilities... |
Has anyone found a fix for this yet? So this error has something to do with the order of includes in glibc, I think. I changed the line
to
and got past the xen headers not found problem, but this obviously does nothing to solve the acutal problem, I just hope it may provide some clues |
Hello,
I am trying to run a unikernel via rumprun on Xen. I'm using a Ubuntu 17.10 with gcc 7.2.0.
The command I'm using is:
CXX=false ./build-rr.sh xen -- -F ACLFLAGS=-no-pie
It looks like it runs until a certain point where it cannot find Xen headers, as you can see in the log:
log.txt
I have libxen-dev installed:
sudo apt-get install libxen-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxen-dev is already the newest version (4.9.0-0ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I was trying to figure out what the problem was, and I came across the fact that the variable $XEN_HEADERS was not declared before in any of the config, config.sh or config.mk files, therefore, in the function
probeprereqs()
in the file build-rr.sh breaks.Any ideas how to include Xen headers or, in case these are included, how to make rumprun detect them?
The text was updated successfully, but these errors were encountered: