From: Michael Tokarev <mjt@tls.msk.ru>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Trivial <qemu-trivial@nongnu.org>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-trivial] [Qemu-devel] [PULL 00/22] Trivial patches for 2014-05-05
Date: Wed, 07 May 2014 21:05:07 +0400 [thread overview]
Message-ID: <536A67C3.1010700@msgid.tls.msk.ru> (raw)
In-Reply-To: <CAFEAcA-5JGOZDYR5ApPs-tROSh+_CnPB1Zxw3H8CaMgJseMtvQ@mail.gmail.com>
07.05.2014 16:50, Peter Maydell wrote:
> Hi; I'm afraid this pull breaks the build of the A64 disassembler:
>
> c++ -I/home/petmay01/linaro/qemu-for-merges/tcg
> -I/home/petmay01/linaro/qemu-for-merges/tcg/i386
> -I/home/petmay01/linaro/qemu-for-merges/linux-headers
> -I/home/petmay01/linaro/qemu-for-merges/build/alldbg/linux-headers -I.
> -I/home/petmay01/linaro/qemu-for-merges
> -I/home/petmay01/linaro/qemu-for-merges/include
> -I/home/petmay01/linaro/qemu-for-merges/libcacard
> -I/home/petmay01/linaro/qemu-for-merges/disas -Idisas
> -D__STDC_LIMIT_MACROS -Werror -fPIE -DPIE -m64 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wall -Wundef
> -Wwrite-strings -fno-strict-aliasing -fno-common -Wendif-labels
> -Wmissing-include-dirs -Wempty-body -Wformat-security -Wformat-y2k
> -Winit-self -Wignored-qualifiers -Wtype-limits -fstack-protector-all
> -I/usr/include/p11-kit-1 -I/usr/include/libpng12 -I/usr/include/nss
> -I/usr/include/nspr -pthread -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
> -I/home/petmay01/linaro/qemu-for-merges/tests -MMD -MP -MT
> disas/arm-a64.o -MF disas/arm-a64.d -pthread -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -c -o
> disas/arm-a64.o /home/petmay01/linaro/qemu-for-merges/disas/arm-a64.cc
> /home/petmay01/linaro/qemu-for-merges/disas/arm-a64.cc:20:28: fatal
> error: a64/disasm-a64.h: No such file or directory
> compilation terminated.
> make: *** [disas/arm-a64.o] Error 1
>
>> Makefiles: convert some obj-specific CFLAGS to use new foo.o-cflags syntax
>
> git bisect says it's this makefile change.
>
> I think the problem here is that the rune for applying obj-specific
> CFLAGS is only in the Rules.make line for %.o: %.c, and not in
> the lines for building a .o file from a .cc, .cpp or .m file. That
> should probably be fixed.
Interesting. It looks like I should add C++ compiler to my test environment,
because I really verified the change and it builds here just fine, but it does
not detect C++ so does not try to build C++ files.
Lovely.
I'm resending the patchset without this patch, will work on it more.
Thank you, and sorry for the noize.
/mjt
WARNING: multiple messages have this Message-ID (diff)
From: Michael Tokarev <mjt@tls.msk.ru>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Trivial <qemu-trivial@nongnu.org>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PULL 00/22] Trivial patches for 2014-05-05
Date: Wed, 07 May 2014 21:05:07 +0400 [thread overview]
Message-ID: <536A67C3.1010700@msgid.tls.msk.ru> (raw)
In-Reply-To: <CAFEAcA-5JGOZDYR5ApPs-tROSh+_CnPB1Zxw3H8CaMgJseMtvQ@mail.gmail.com>
07.05.2014 16:50, Peter Maydell wrote:
> Hi; I'm afraid this pull breaks the build of the A64 disassembler:
>
> c++ -I/home/petmay01/linaro/qemu-for-merges/tcg
> -I/home/petmay01/linaro/qemu-for-merges/tcg/i386
> -I/home/petmay01/linaro/qemu-for-merges/linux-headers
> -I/home/petmay01/linaro/qemu-for-merges/build/alldbg/linux-headers -I.
> -I/home/petmay01/linaro/qemu-for-merges
> -I/home/petmay01/linaro/qemu-for-merges/include
> -I/home/petmay01/linaro/qemu-for-merges/libcacard
> -I/home/petmay01/linaro/qemu-for-merges/disas -Idisas
> -D__STDC_LIMIT_MACROS -Werror -fPIE -DPIE -m64 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wall -Wundef
> -Wwrite-strings -fno-strict-aliasing -fno-common -Wendif-labels
> -Wmissing-include-dirs -Wempty-body -Wformat-security -Wformat-y2k
> -Winit-self -Wignored-qualifiers -Wtype-limits -fstack-protector-all
> -I/usr/include/p11-kit-1 -I/usr/include/libpng12 -I/usr/include/nss
> -I/usr/include/nspr -pthread -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
> -I/home/petmay01/linaro/qemu-for-merges/tests -MMD -MP -MT
> disas/arm-a64.o -MF disas/arm-a64.d -pthread -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -c -o
> disas/arm-a64.o /home/petmay01/linaro/qemu-for-merges/disas/arm-a64.cc
> /home/petmay01/linaro/qemu-for-merges/disas/arm-a64.cc:20:28: fatal
> error: a64/disasm-a64.h: No such file or directory
> compilation terminated.
> make: *** [disas/arm-a64.o] Error 1
>
>> Makefiles: convert some obj-specific CFLAGS to use new foo.o-cflags syntax
>
> git bisect says it's this makefile change.
>
> I think the problem here is that the rune for applying obj-specific
> CFLAGS is only in the Rules.make line for %.o: %.c, and not in
> the lines for building a .o file from a .cc, .cpp or .m file. That
> should probably be fixed.
Interesting. It looks like I should add C++ compiler to my test environment,
because I really verified the change and it builds here just fine, but it does
not detect C++ so does not try to build C++ files.
Lovely.
I'm resending the patchset without this patch, will work on it more.
Thank you, and sorry for the noize.
/mjt
next prev parent reply other threads:[~2014-05-07 17:05 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-05 18:01 [Qemu-trivial] [PULL 00/22] Trivial patches for 2014-05-05 Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 01/22] Makefiles: convert some obj-specific CFLAGS to use new foo.o-cflags syntax Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 02/22] configure: remove bashism Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 03/22] qga: Fix typo (plural) in comment Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 04/22] tests/tcg: Fix compilation of test_path Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 05/22] arch_init: Be sure of only one exit entry with DPRINTF() for ram_load() Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 06/22] hw/9pfs: Add missing 'static' attributes Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 07/22] hw/mips: Add missing 'static' and 'const' attributes Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 08/22] hw/s390x: Add missing 'static' attribute Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 09/22] monitor: " Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 10/22] ui: " Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 11/22] qemu-timer: " Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 12/22] hw: Add missing 'static' attributes Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 13/22] xen: remove unused global, xen_xcg Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 14/22] hw/9pfs: Add include file for exported symbol Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 15/22] do not call g_thread_init() for glib >= 2.31 Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 16/22] glib: move g_poll() replacement into glib-compat.h Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 17/22] libcacard: replace pstrcpy() with memcpy() Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:01 ` [Qemu-trivial] [PULL 18/22] qmp: report path ambiguity error Michael Tokarev
2014-05-05 18:01 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:02 ` [Qemu-trivial] [PULL 19/22] readline: use g_strndup instead of open-coding it Michael Tokarev
2014-05-05 18:02 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:02 ` [Qemu-trivial] [PULL 20/22] readline: Sort completions before printing them Michael Tokarev
2014-05-05 18:02 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:02 ` [Qemu-trivial] [PULL 21/22] docs/memory.txt: Fix document on MMIO operations Michael Tokarev
2014-05-05 18:02 ` [Qemu-devel] " Michael Tokarev
2014-05-05 18:02 ` [Qemu-trivial] [PULL 22/22] libcacard: remove unnecessary EOL from debug prints Michael Tokarev
2014-05-05 18:02 ` [Qemu-devel] " Michael Tokarev
2014-05-07 12:50 ` [Qemu-trivial] [Qemu-devel] [PULL 00/22] Trivial patches for 2014-05-05 Peter Maydell
2014-05-07 12:50 ` Peter Maydell
2014-05-07 17:05 ` Michael Tokarev [this message]
2014-05-07 17:05 ` Michael Tokarev
2014-05-07 17:18 ` [Qemu-trivial] " Peter Maydell
2014-05-07 17:18 ` Peter Maydell
2014-05-07 18:09 ` [Qemu-trivial] " Paolo Bonzini
2014-05-07 18:09 ` [Qemu-devel] " Paolo Bonzini
2014-05-07 20:16 ` [Qemu-trivial] " Michael Tokarev
2014-05-07 20:16 ` [Qemu-devel] " Michael Tokarev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=536A67C3.1010700@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.