This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/79862] Compilation error while building libstdc++
- From: "sbansal at ciena dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 07 Mar 2017 09:26:21 +0000
- Subject: [Bug libstdc++/79862] Compilation error while building libstdc++
- Auto-submitted: auto-generated
- References: <bug-79862-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79862
Sumit <sbansal at ciena dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |---
--- Comment #8 from Sumit <sbansal at ciena dot com> ---
(In reply to Andrew Pinski from comment #7)
> (In reply to Sumit from comment #6)
> > Hi Andrew,
> >
> > Somehow these files were missing in my package. I have recopied them back
> > and things have moved further.
> >
> > Now, I am seeing compilation error at :
>
> > ../../../../../gcc-4.8/libstdc++-v3/src/c++11/debug.cc:523:5: error: unable
> > to find string literal operator 'operator"" _ASSERT_STR'
> > assert(this->_M_kind != _Parameter::__unused_param);
>
> Looks like the assert in assert.h vxworks has is not C++11 friendly. Add a
> space before the _ASSERT_STR.
Thanks Andrew. Adding a space before _ASSERT_STR helped.
Now there are further errors seen :
In file included from
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/atomic:41:0,
from
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/future:43,
from
../../../../../gcc-4.8/libstdc++-v3/src/c++11/functexcept.cc:31:
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:166:25:
error: 'int_least8_t' was not declared in this scope
typedef __atomic_base<int_least8_t> atomic_int_least8_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:166:37:
error: template argument 1 is invalid
typedef __atomic_base<int_least8_t> atomic_int_least8_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:166:61:
error: invalid type in declaration before ';' token
typedef __atomic_base<int_least8_t> atomic_int_least8_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:169:25:
error: 'uint_least8_t' was not declared in this scope
typedef __atomic_base<uint_least8_t> atomic_uint_least8_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:169:38:
error: template argument 1 is invalid
typedef __atomic_base<uint_least8_t> atomic_uint_least8_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:169:68:
error: invalid type in declaration before ';' token
typedef __atomic_base<uint_least8_t> atomic_uint_least8_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:172:25:
error: 'int_least16_t' was not declared in this scope
typedef __atomic_base<int_least16_t> atomic_int_least16_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:172:38:
error: template argument 1 is invalid
typedef __atomic_base<int_least16_t> atomic_int_least16_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:172:68:
error: invalid type in declaration before ';' token
typedef __atomic_base<int_least16_t> atomic_int_least16_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:175:25:
error: 'uint_least16_t' was not declared in this scope
typedef __atomic_base<uint_least16_t> atomic_uint_least16_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:175:39:
error: template argument 1 is invalid
typedef __atomic_base<uint_least16_t> atomic_uint_least16_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:175:70:
error: invalid type in declaration before ';' token
typedef __atomic_base<uint_least16_t> atomic_uint_least16_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:178:25:
error: 'int_least32_t' was not declared in this scope
typedef __atomic_base<int_least32_t> atomic_int_least32_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:178:38:
error: template argument 1 is invalid
typedef __atomic_base<int_least32_t> atomic_int_least32_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:178:68:
error: invalid type in declaration before ';' token
typedef __atomic_base<int_least32_t> atomic_int_least32_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:181:25:
error: 'uint_least32_t' was not declared in this scope
typedef __atomic_base<uint_least32_t> atomic_uint_least32_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:181:39:
error: template argument 1 is invalid
typedef __atomic_base<uint_least32_t> atomic_uint_least32_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:181:70:
error: invalid type in declaration before ';' token
typedef __atomic_base<uint_least32_t> atomic_uint_least32_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:184:25:
error: 'int_least64_t' was not declared in this scope
typedef __atomic_base<int_least64_t> atomic_int_least64_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:184:38:
error: template argument 1 is invalid
typedef __atomic_base<int_least64_t> atomic_int_least64_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:184:68:
error: invalid type in declaration before ';' token
typedef __atomic_base<int_least64_t> atomic_int_least64_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:187:25:
error: 'uint_least64_t' was not declared in this scope
typedef __atomic_base<uint_least64_t> atomic_uint_least64_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:187:39:
error: template argument 1 is invalid
typedef __atomic_base<uint_least64_t> atomic_uint_least64_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:187:70:
error: invalid type in declaration before ';' token
typedef __atomic_base<uint_least64_t> atomic_uint_least64_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:191:25:
error: 'int_fast8_t' was not declared in this scope
typedef __atomic_base<int_fast8_t> atomic_int_fast8_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:191:36:
error: template argument 1 is invalid
typedef __atomic_base<int_fast8_t> atomic_int_fast8_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:191:59:
error: invalid type in declaration before ';' token
typedef __atomic_base<int_fast8_t> atomic_int_fast8_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:194:25:
error: 'uint_fast8_t' was not declared in this scope
typedef __atomic_base<uint_fast8_t> atomic_uint_fast8_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:194:37:
error: template argument 1 is invalid
typedef __atomic_base<uint_fast8_t> atomic_uint_fast8_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:194:65:
error: invalid type in declaration before ';' token
typedef __atomic_base<uint_fast8_t> atomic_uint_fast8_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:197:25:
error: 'int_fast16_t' was not declared in this scope
typedef __atomic_base<int_fast16_t> atomic_int_fast16_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:197:37:
error: template argument 1 is invalid
typedef __atomic_base<int_fast16_t> atomic_int_fast16_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:197:65:
error: invalid type in declaration before ';' token
typedef __atomic_base<int_fast16_t> atomic_int_fast16_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:200:25:
error: 'uint_fast16_t' was not declared in this scope
typedef __atomic_base<uint_fast16_t> atomic_uint_fast16_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:200:38:
error: template argument 1 is invalid
typedef __atomic_base<uint_fast16_t> atomic_uint_fast16_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:200:67:
error: invalid type in declaration before ';' token
typedef __atomic_base<uint_fast16_t> atomic_uint_fast16_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:203:25:
error: 'int_fast32_t' was not declared in this scope
typedef __atomic_base<int_fast32_t> atomic_int_fast32_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:203:37:
error: template argument 1 is invalid
typedef __atomic_base<int_fast32_t> atomic_int_fast32_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:203:65:
error: invalid type in declaration before ';' token
typedef __atomic_base<int_fast32_t> atomic_int_fast32_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:206:25:
error: 'uint_fast32_t' was not declared in this scope
typedef __atomic_base<uint_fast32_t> atomic_uint_fast32_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:206:38:
error: template argument 1 is invalid
typedef __atomic_base<uint_fast32_t> atomic_uint_fast32_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:206:67:
error: invalid type in declaration before ';' token
typedef __atomic_base<uint_fast32_t> atomic_uint_fast32_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:209:25:
error: 'int_fast64_t' was not declared in this scope
typedef __atomic_base<int_fast64_t> atomic_int_fast64_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:209:37:
error: template argument 1 is invalid
typedef __atomic_base<int_fast64_t> atomic_int_fast64_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:209:65:
error: invalid type in declaration before ';' token
typedef __atomic_base<int_fast64_t> atomic_int_fast64_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:212:25:
error: 'uint_fast64_t' was not declared in this scope
typedef __atomic_base<uint_fast64_t> atomic_uint_fast64_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:212:38:
error: template argument 1 is invalid
typedef __atomic_base<uint_fast64_t> atomic_uint_fast64_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:212:67:
error: invalid type in declaration before ';' token
typedef __atomic_base<uint_fast64_t> atomic_uint_fast64_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:225:25:
error: 'intmax_t' was not declared in this scope
typedef __atomic_base<intmax_t> atomic_intmax_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:225:33:
error: template argument 1 is invalid
typedef __atomic_base<intmax_t> atomic_intmax_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:225:60:
error: invalid type in declaration before ';' token
typedef __atomic_base<intmax_t> atomic_intmax_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:228:25:
error: 'uintmax_t' was not declared in this scope
typedef __atomic_base<uintmax_t> atomic_uintmax_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:228:34:
error: template argument 1 is invalid
typedef __atomic_base<uintmax_t> atomic_uintmax_t;
^
/home/sbansal/compiler/build-gcc/powerpc-wrs-vxworks/libstdc++-v3/include/bits/atomic_base.h:228:62:
error: invalid type in declaration before ';' token