[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Compilation broken in SVN version and a debug register
Re: [Qemu-devel] Compilation broken in SVN version and a debug register question
Sun, 04 May 2008 21:45:56 +0200
Mozilla-Thunderbird 188.8.131.52 (X11/20080420)
Ben Taylor a écrit :
> On Sun, May 4, 2008 at 1:29 PM, Brad Campbell <address@hidden> wrote:
>> Ben Taylor wrote:
>>> On Wed, Apr 23, 2008 at 8:34 AM, Balazs Attila-Mihaly (Cd-MaN)
>>> <address@hidden> wrote:
>>>> Hello all.
>>>> I fail to compile the version 4242 from the SVN (which I checked out ~1
>> hour ago). On an Ubuntu 7.10 host with gcc-3.4 and ./configure
>> --target-list=i386-softmmu, I get the following error:
>>> The following patch should fix the compilation of op.c and helper.c.
>>> This been tested on solaris x86 (32/64 bit) and Ubuntu 7.10 (32-bit).
>>> configuring on the 32-bit systems, I used --extra-cflags="-march=i686
>>> and both spill errors in op.c and helper.c are gone, and the binaries
>>> will boot Milax (a Solaris based DamnSmallLinux clone)
>> On ubuntu...
>> apt-get remove gcc-3.4
>> apt-get install gcc-3.3
>> .. effectively worked around the issue for me.
> Tried that, but one of the maintainers thought that was not a reasonable
I also think this is a reasonable solution. Hardcoding the use of
gcc-3.3 in the Makefile is not.
> I suppose I can modify the patch to check to see which gcc is being used
> any invoke those changes if gcc revision < 3.4
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' address@hidden | address@hidden
`- people.debian.org/~aurel32 | www.aurel32.net