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

Re: [Xen-users] Compiling Xen 4.7.0 with gcc 6.1.1



Yes, you're right. This seems more reasonable.

2016年9月8日星期四,Daniel E. Shub <daniel.e.shub@xxxxxxxxx> 写道:
Xen has been using the 9a93db3f0947484e30e753bbd61a10b17336e20e tag
since 2011-12-20. I wonder if it would be better to just pull in the
GCC 6 patches from upstream (e.g.,
https://git.ipxe.org/ipxe.git?a=search&h=refs%2Fheads%2Fmaster&st=commit&s=gcc+6).

Thanks

On Wed, Sep 7, 2016 at 8:45 PM, Lu Fengqi <curiouslfq@xxxxxxxxx> wrote:
> This appers to be due ipxe's version is too old.  I try to change
> "IPXE_GIT_TAG := 9a93db3f0947484e30e753bbd61a10b17336e20e" to the newest tag
> in tools/firmware/etherboot/Makefile, Then the compile can go through. I
> hope this will give you some help.
>
> 2016年9月8日星期四,Daniel E. Shub <daniel.e.shub@xxxxxxxxx> 写道:
>>
>> The Arch Linux Xen package has been stuck on 4.5.1 for a while
>> (https://aur.archlinux.org/packages/xen/). I was hoping to update the
>> package to 4.7.0.
>>
>> I downloaded the source from
>> http://bits.xensource.com/oss-xen/release/4.7.0/xen-4.7.0.tar.gz and
>> then did
>>
>>    ./configure PYTHON=/usr/bin/python2 --prefix=/usr --enable-systemd
>>     make LANG=C PYTHON=python2
>>
>> This gives me an error
>>
>> core/stringextra.c: In function 'strtok':
>> core/stringextra.c:189:18: error: nonnull argument 's' compared to
>> NULL [-Werror=nonnull-compare]
>>   sbegin  = s ? s : ___strtok;
>>             ~~~~~~^~~~~~~~~~~
>>
>> Potentially this has something to do with the fact that I am using gcc
>> 6.1.1.
>>
>> Any help would be appreciated.
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxx
>> https://lists.xen.org/xen-users
>
>
>
> --
> -------------------------------------------------------------
> Thanks,
> Lu
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users


--
-------------------------------------------------------------
Thanks,
Lu

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

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