All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/odb: fix build with gcc 11
@ 2021-06-03 20:09 Fabrice Fontaine
  2021-06-05 12:57 ` Yann E. MORIN
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2021-06-03 20:09 UTC (permalink / raw)
  To: buildroot

Add -std=c++11 to fix the following build failure with gcc 11:

/data/buildroot-autobuilder/instance-0/output-1/host/include/cutl/shared-ptr/base.hxx:34:41: error: ISO C++17 does not allow dynamic exception specifications
   34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc);
      |                                         ^~~~~

Fixes:
 - http://autobuild.buildroot.org/results/9cbb8be7a1d8ac5913fbc5e2a78c4c45b5daf8e2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/odb/odb.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/odb/odb.mk b/package/odb/odb.mk
index 11086471e6..85c7ccb8bb 100644
--- a/package/odb/odb.mk
+++ b/package/odb/odb.mk
@@ -11,6 +11,7 @@ ODB_SITE = https://www.codesynthesis.com/download/odb/$(ODB_VERSION_MAJOR)
 ODB_LICENSE = GPL-3.0
 ODB_LICENSE_FILES = LICENSE
 HOST_ODB_DEPENDENCIES = host-libcutl
+HOST_ODB_CONF_ENV = CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11"
 
 # Prevent odb from trying to install the gcc plugin into the hosts
 # gcc plugin directory. Instead, this will install the gcc plugin
-- 
2.30.2

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

* [Buildroot] [PATCH 1/1] package/odb: fix build with gcc 11
  2021-06-03 20:09 [Buildroot] [PATCH 1/1] package/odb: fix build with gcc 11 Fabrice Fontaine
@ 2021-06-05 12:57 ` Yann E. MORIN
  2021-06-05 20:13 ` Yann E. MORIN
  2021-06-10 20:16 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2021-06-05 12:57 UTC (permalink / raw)
  To: buildroot

Fabrice, All,

On 2021-06-03 22:09 +0200, Fabrice Fontaine spake thusly:
> Add -std=c++11 to fix the following build failure with gcc 11:
> 
> /data/buildroot-autobuilder/instance-0/output-1/host/include/cutl/shared-ptr/base.hxx:34:41: error: ISO C++17 does not allow dynamic exception specifications
>    34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc);
>       |                                         ^~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/9cbb8be7a1d8ac5913fbc5e2a78c4c45b5daf8e2
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/odb/odb.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/odb/odb.mk b/package/odb/odb.mk
> index 11086471e6..85c7ccb8bb 100644
> --- a/package/odb/odb.mk
> +++ b/package/odb/odb.mk
> @@ -11,6 +11,7 @@ ODB_SITE = https://www.codesynthesis.com/download/odb/$(ODB_VERSION_MAJOR)
>  ODB_LICENSE = GPL-3.0
>  ODB_LICENSE_FILES = LICENSE
>  HOST_ODB_DEPENDENCIES = host-libcutl
> +HOST_ODB_CONF_ENV = CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11"
>  
>  # Prevent odb from trying to install the gcc plugin into the hosts
>  # gcc plugin directory. Instead, this will install the gcc plugin
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 1/1] package/odb: fix build with gcc 11
  2021-06-03 20:09 [Buildroot] [PATCH 1/1] package/odb: fix build with gcc 11 Fabrice Fontaine
  2021-06-05 12:57 ` Yann E. MORIN
@ 2021-06-05 20:13 ` Yann E. MORIN
  2021-06-05 21:03   ` Yann E. MORIN
  2021-06-10 20:16 ` Peter Korsgaard
  2 siblings, 1 reply; 5+ messages in thread
From: Yann E. MORIN @ 2021-06-05 20:13 UTC (permalink / raw)
  To: buildroot

Fabrice, All,

On 2021-06-03 22:09 +0200, Fabrice Fontaine spake thusly:
> Add -std=c++11 to fix the following build failure with gcc 11:
> 
> /data/buildroot-autobuilder/instance-0/output-1/host/include/cutl/shared-ptr/base.hxx:34:41: error: ISO C++17 does not allow dynamic exception specifications
>    34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc);
>       |                                         ^~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/9cbb8be7a1d8ac5913fbc5e2a78c4c45b5daf8e2
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/odb/odb.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/odb/odb.mk b/package/odb/odb.mk
> index 11086471e6..85c7ccb8bb 100644
> --- a/package/odb/odb.mk
> +++ b/package/odb/odb.mk
> @@ -11,6 +11,7 @@ ODB_SITE = https://www.codesynthesis.com/download/odb/$(ODB_VERSION_MAJOR)
>  ODB_LICENSE = GPL-3.0
>  ODB_LICENSE_FILES = LICENSE
>  HOST_ODB_DEPENDENCIES = host-libcutl
> +HOST_ODB_CONF_ENV = CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11"
>  
>  # Prevent odb from trying to install the gcc plugin into the hosts
>  # gcc plugin directory. Instead, this will install the gcc plugin
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 1/1] package/odb: fix build with gcc 11
  2021-06-05 20:13 ` Yann E. MORIN
@ 2021-06-05 21:03   ` Yann E. MORIN
  0 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2021-06-05 21:03 UTC (permalink / raw)
  To: buildroot

Fabrice, All,

On 2021-06-05 22:13 +0200, Yann E. MORIN spake thusly:
> On 2021-06-03 22:09 +0200, Fabrice Fontaine spake thusly:
> > Add -std=c++11 to fix the following build failure with gcc 11:
> > 
> > /data/buildroot-autobuilder/instance-0/output-1/host/include/cutl/shared-ptr/base.hxx:34:41: error: ISO C++17 does not allow dynamic exception specifications
> >    34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc);
> >       |                                         ^~~~~
> > 
> > Fixes:
> >  - http://autobuild.buildroot.org/results/9cbb8be7a1d8ac5913fbc5e2a78c4c45b5daf8e2
> > 
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> Applied to master, thanks.

I had already applied that in the afternoon, but when I applied the qt5
fix, I mis-replied here... Sorry for the confusion...

Regards,
Yann E. MORIN.

> Regards,
> Yann E. MORIN.
> 
> > ---
> >  package/odb/odb.mk | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/package/odb/odb.mk b/package/odb/odb.mk
> > index 11086471e6..85c7ccb8bb 100644
> > --- a/package/odb/odb.mk
> > +++ b/package/odb/odb.mk
> > @@ -11,6 +11,7 @@ ODB_SITE = https://www.codesynthesis.com/download/odb/$(ODB_VERSION_MAJOR)
> >  ODB_LICENSE = GPL-3.0
> >  ODB_LICENSE_FILES = LICENSE
> >  HOST_ODB_DEPENDENCIES = host-libcutl
> > +HOST_ODB_CONF_ENV = CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11"
> >  
> >  # Prevent odb from trying to install the gcc plugin into the hosts
> >  # gcc plugin directory. Instead, this will install the gcc plugin
> > -- 
> > 2.30.2
> > 
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
> 
> -- 
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 1/1] package/odb: fix build with gcc 11
  2021-06-03 20:09 [Buildroot] [PATCH 1/1] package/odb: fix build with gcc 11 Fabrice Fontaine
  2021-06-05 12:57 ` Yann E. MORIN
  2021-06-05 20:13 ` Yann E. MORIN
@ 2021-06-10 20:16 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2021-06-10 20:16 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Add -std=c++11 to fix the following build failure with gcc 11:
 > /data/buildroot-autobuilder/instance-0/output-1/host/include/cutl/shared-ptr/base.hxx:34:41: error: ISO C++17 does not allow dynamic exception specifications
 >    34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc);
 >       |                                         ^~~~~

 > Fixes:
 >  - http://autobuild.buildroot.org/results/9cbb8be7a1d8ac5913fbc5e2a78c4c45b5daf8e2

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2021.02.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2021-06-10 20:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 20:09 [Buildroot] [PATCH 1/1] package/odb: fix build with gcc 11 Fabrice Fontaine
2021-06-05 12:57 ` Yann E. MORIN
2021-06-05 20:13 ` Yann E. MORIN
2021-06-05 21:03   ` Yann E. MORIN
2021-06-10 20:16 ` Peter Korsgaard

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.