qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL v2 1/4] build: Use $(CCAS) for compiling .S files


From: Richard Henderson
Subject: Re: [Qemu-devel] [PULL v2 1/4] build: Use $(CCAS) for compiling .S files
Date: Thu, 7 Jul 2016 09:29:56 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

On 07/07/2016 09:16 AM, Alex Bennée wrote:
+if echo | $ccas -dM -E - | grep __clang__ > /dev/null 2>&1 ; then
+  ccas="$ccas -fno-integrated-as"
+fi

Hi Richard,

This looks like it breaks the Travis clang:

    https://travis-ci.org/qemu/qemu/builds/142825178

We get the error:

    AS    optionrom/multiboot.o
    clang: error: unknown argument: '-fno-integrated-as'
    make[1]: *** [multiboot.o] Error 1
    make: *** [romsubdir-optionrom] Error 2
    make: *** Waiting for unfinished jobs....

Clang in Travis is:

    clang version 3.4 (tags/RELEASE_34/final)

Oh ffs.  It appears -fno-integrated-as was introduced in 3.5.

Is there any combination of options that allows clang 3.4 to compile the option roms? I suspect that the answer is no. And if so... what then?



r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]