[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] issues with Python 3.8



Fedora rawhide is about to to update to Python 3.8 (in beta I think) and 
there are two issues with compiling xen with it (see 
https://bugzilla.redhat.com/show_bug.cgi?id=1704807 ).

It seems that in 3.8 python3-config --libs no longer includes -lpython3.8 
by default which causes tools/configure to fail. You can get -lpython3.8 
back by adding --embed , but this option isn't recognized in earlier 
versions of python.

It also seems python 3.8 adds the options -Wno-unused-result 
-Wsign-compare to the compilations in tools/python (though I am not sure 
how this happens) and -Wsign-compare gives some build warnings which the 
Fedora build treats as errors.

I have attached the patch I used to get xen-4.12.0 to build with python 
3.8 and also the build warnings it fixes in case they are useful.

        Michael Young

Attachment: xen.python38.patch
Description: xen.python38.patch

Attachment: warnings.fixed.txt
Description: warnings.fixed.txt

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.