From: Wainer dos Santos Moschetta <wainersm@redhat.com>
To: qemu-devel@nongnu.org
Cc: fam@euphon.net, philmd@redhat.com, alex.bennee@linaro.org
Subject: [RFC PATCH 4/6] travis.yml: Fix 'Clang (main-softmmu)' job on Ubuntu Bionic
Date: Mon, 17 Feb 2020 15:16:07 -0500 [thread overview]
Message-ID: <20200217201609.788825-5-wainersm@redhat.com> (raw)
In-Reply-To: <20200217201609.788825-1-wainersm@redhat.com>
On Ubuntu Bionic environment the build with Clang's sanitizer
fails with error:
```
LINK tests/qemu-iotests/socket_scm_helper
tests/qemu-iotests/socket_scm_helper.o: In function `send_fd':
/home/travis/build/wainersm/qemu/tests/qemu-iotests/socket_scm_helper.c:53: undefined reference to `__ubsan_handle_type_mismatch_v1'
```
In order to solve that problem it was needed to explicitly pass
'--cxx=clang++' to the configure.
Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
---
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 4089e9672a..59b9eb20b7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -215,7 +215,7 @@ matrix:
compiler: clang
before_script:
- mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
- - ${SRC_DIR}/configure ${CONFIG} --extra-cflags="-fsanitize=undefined -Werror" || { cat config.log && exit 1; }
+ - ${SRC_DIR}/configure ${CONFIG} --cc=clang --cxx=clang++ --extra-cflags="-fsanitize=undefined -Werror" || { cat config.log && exit 1; }
- name: "Clang (other-softmmu)"
--
2.24.1
next prev parent reply other threads:[~2020-02-17 20:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-17 20:16 [RFC PATCH 0/6] Travis: Change default environment to Ubuntu Bionic Wainer dos Santos Moschetta
2020-02-17 20:16 ` [RFC PATCH 1/6] travis.yml: Bump " Wainer dos Santos Moschetta
2020-02-17 20:16 ` [RFC PATCH 2/6] travis.yml: Fix 'GCC9 with sanitizers' job on " Wainer dos Santos Moschetta
2020-02-17 20:16 ` [RFC PATCH 3/6] travis.yml: Fix 'GCC check-acceptance' " Wainer dos Santos Moschetta
2020-02-17 20:16 ` Wainer dos Santos Moschetta [this message]
2020-02-17 20:16 ` [RFC PATCH 5/6] travis.yml: Run '[ppc64] GCC check-tcg' " Wainer dos Santos Moschetta
2020-02-17 20:16 ` [RFC PATCH 6/6] travis.yml: Run '[aarch64] " Wainer dos Santos Moschetta
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=20200217201609.788825-5-wainersm@redhat.com \
--to=wainersm@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=fam@euphon.net \
--cc=philmd@redhat.com \
--cc=qemu-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).