xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-4.15] automation/alpine: add g++ to the list of build depends
@ 2021-03-01  9:58 Roger Pau Monne
  2021-03-01 17:20 ` Ian Jackson
  2021-03-01 17:59 ` Andrew Cooper
  0 siblings, 2 replies; 12+ messages in thread
From: Roger Pau Monne @ 2021-03-01  9:58 UTC (permalink / raw)
  To: xen-devel
  Cc: Roger Pau Monne, Doug Goldstein, Stefano Stabellini, Ian Jackson

clang++ relies on the C++ headers installed by g++, or else a clang
build will hit the following error:

<built-in>:3:10: fatal error: 'cstring' file not found
#include "cstring"
         ^~~~~~~~~
1 error generated.
make[10]: *** [Makefile:120: headers++.chk] Error 1

Reported-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
Cc: Ian Jackson <iwj@xenproject.org>
No real risk here from a release PoV, it's just pulling a package
required for the Alpine clang build. Worse that cold happen is that
the Alpine clang build broke, but it's already broken.
---
 automation/build/alpine/3.12.dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/automation/build/alpine/3.12.dockerfile b/automation/build/alpine/3.12.dockerfile
index 2c02417ee6..94557e239b 100644
--- a/automation/build/alpine/3.12.dockerfile
+++ b/automation/build/alpine/3.12.dockerfile
@@ -21,6 +21,7 @@ RUN \
   apk add curl-dev && \
   apk add dev86 && \
   apk add gcc  && \
+  apk add g++ && \
   apk add clang  && \
   apk add gettext && \
   apk add git && \
-- 
2.30.1



^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [PATCH for-4.15] automation/alpine: add g++ to the list of build depends
@ 2021-03-01  9:57 Roger Pau Monne
  0 siblings, 0 replies; 12+ messages in thread
From: Roger Pau Monne @ 2021-03-01  9:57 UTC (permalink / raw)
  To: xen-devel; +Cc: Roger Pau Monne, Doug Goldstein, Stefano Stabellini

clang++ relies on the C++ headers installed by g++, or else a clang
build will hit the following error:

<built-in>:3:10: fatal error: 'cstring' file not found
#include "cstring"
         ^~~~~~~~~
1 error generated.
make[10]: *** [Makefile:120: headers++.chk] Error 1

Reported-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
No real risk here from a release PoV, it's just pulling a package
required for the Alpine clang build. Worse that cold happen is that
the Alpine clang build broke, but it's already broken.
---
 automation/build/alpine/3.12.dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/automation/build/alpine/3.12.dockerfile b/automation/build/alpine/3.12.dockerfile
index 2c02417ee6..94557e239b 100644
--- a/automation/build/alpine/3.12.dockerfile
+++ b/automation/build/alpine/3.12.dockerfile
@@ -21,6 +21,7 @@ RUN \
   apk add curl-dev && \
   apk add dev86 && \
   apk add gcc  && \
+  apk add g++ && \
   apk add clang  && \
   apk add gettext && \
   apk add git && \
-- 
2.30.1



^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-03-06  9:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-01  9:58 [PATCH for-4.15] automation/alpine: add g++ to the list of build depends Roger Pau Monne
2021-03-01 17:20 ` Ian Jackson
2021-03-01 17:59 ` Andrew Cooper
2021-03-01 18:01   ` Andrew Cooper
2021-03-02  8:14     ` Roger Pau Monné
2021-03-02  8:53       ` Jan Beulich
2021-03-02  9:36         ` Roger Pau Monné
2021-03-02  9:54           ` Jan Beulich
2021-03-02 19:39             ` Stefano Stabellini
2021-03-06  1:40               ` Stefano Stabellini
2021-03-06  9:22                 ` Roger Pau Monné
  -- strict thread matches above, loose matches on Subject: below --
2021-03-01  9:57 Roger Pau Monne

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).