[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib auto
From: |
Harmen |
Subject: |
[bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib autosprintf.cc assert.h wrapper |
Date: |
Thu, 30 May 2024 05:20:20 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?65811>
Summary: gettext 0.22 fails on centos 7 / gcc 4.8 due to
gnulib autosprintf.cc assert.h wrapper
Group: GNU gettext
Submitter: stabbles
Submitted: Thu 30 May 2024 09:20:20 AM UTC
Category: Build
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 30 May 2024 09:20:20 AM UTC By: Harmen <stabbles>
When building gettext 0.22 on Centos 7 with system compiler gcc 4.8.5,
eventually the following is executed:
```
g++ -std=gnu++11 -DIN_LIBASPRINTF -DHAVE_CONFIG_H -I. -Ignulib-lib
-I./gnulib-lib -g -O2 -c autosprintf.cc -fPIC -DPIC -o .libs/autosprintf.o
```
which fails with
```
In file included from ./config.h:1276:0,
from autosprintf.cc:18:
/usr/include/c++/4.8.2/type_traits:934:7: error: storage class specified for
'_gl_static_assert_function2'
static_assert(sizeof...(_Args) > 1,
```
There is no such failure when dropping `-std=gnu++11`.
This might be a bug in gnulib, but since gettext bundles gnulib, it's a bug in
gettext too. (if only gnu packages could stop copying an arbitrary commit of
gnulib sources...)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65811>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib autosprintf.cc assert.h wrapper,
Harmen <=
- [bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib autosprintf.cc assert.h wrapper, Harmen, 2024/05/30
- [bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib autosprintf.cc assert.h wrapper, Bruno Haible, 2024/05/30
- [bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib autosprintf.cc assert.h wrapper, Bruno Haible, 2024/05/30
- [bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib autosprintf.cc assert.h wrapper, Harmen, 2024/05/30
- [bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib autosprintf.cc assert.h wrapper, Bruno Haible, 2024/05/30
- [bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib autosprintf.cc assert.h wrapper, Bruno Haible, 2024/05/30
- [bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib autosprintf.cc assert.h wrapper, Bruno Haible, 2024/05/30
- [bug #65811] gettext 0.22 fails on centos 7 / gcc 4.8 due to gnulib autosprintf.cc assert.h wrapper, Harmen, 2024/05/31