[Bug bootstrap/65988] Trying to compile GCC 5.1 in my (customized) Solaris 10/x86-64 fails with GMP errors

2015-07-07 Thread jcea at jcea dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65988

Jesus Cea jcea at jcea dot es changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #7 from Jesus Cea jcea at jcea dot es ---
I tried to compile GCC 4.9.3 and I was unable, too. Different error but same
result. I recompiled GCC 4.9.2 and it worked.

I messed with different versions of CLOOG and ISL and I got GCC 4.9.3 and
5.1.0 working correctly.

I am currently using GCC 5.1.0 and compiling with it seems to work well. I
compiled Python, bind, etc., and it works.

I close this but report, but I would love future GCC releases to document what
CLOOG and ISL versions they require.

Thanks for your time.


[Bug bootstrap/65988] Trying to compile GCC 5.1 in my (customized) Solaris 10/x86-64 fails with GMP errors

2015-06-08 Thread jcea at jcea dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65988

--- Comment #3 from Jesus Cea jcea at jcea dot es ---
Ping...


[Bug bootstrap/65988] Trying to compile GCC 5.1 in my (customized) Solaris 10/x86-64 fails with GMP errors

2015-06-08 Thread jcea at jcea dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65988

--- Comment #5 from Jesus Cea jcea at jcea dot es ---
Could you possibly tell me how to do it and what the impact would be?

Thanks!


[Bug bootstrap/65988] Trying to compile GCC 5.1 in my (customized) Solaris 10/x86-64 fails with GMP errors

2015-05-03 Thread jcea at jcea dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65988

--- Comment #2 from Jesus Cea jcea at jcea dot es ---
What can I do, then?


[Bug bootstrap/65988] New: Trying to compile GCC 5.1 in my (customized) Solaris 10/x86-64 fails with GMP errors

2015-05-02 Thread jcea at jcea dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65988

Bug ID: 65988
   Summary: Trying to compile GCC 5.1 in my (customized) Solaris
10/x86-64 fails with GMP errors
   Product: gcc
   Version: 5.1.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
  Assignee: unassigned at gcc dot gnu.org
  Reporter: jcea at jcea dot es
  Target Milestone: ---

Currently running GCC 4.9.2. Compiled cleanly.

When trying to compile GCC 5.1 I get these errors: (partial/incomplete)


[...]
/tmp/z/obj/prev-i386-pc-solaris2.10/libstdc++-v3/include/bits/stringfwd.h:69:3:
error: template with C linkage
   templatetypename _CharT, typename _Traits = char_traits_CharT,
   ^
In file included from
/tmp/z/obj/prev-i386-pc-solaris2.10/libstdc++-v3/include/iosfwd:40:0,
 from /usr/local/include/gmp.h:34,
 from /usr/local/include/isl/val_gmp.h:4,
 from ../../gcc-5.1.0/gcc/graphite-isl-ast-to-gimple.c:33:
/tmp/z/obj/prev-i386-pc-solaris2.10/libstdc++-v3/include/bits/postypes.h:111:3:
error: template with C linkage
   templatetypename _StateT
   ^
/tmp/z/obj/prev-i386-pc-solaris2.10/libstdc++-v3/include/bits/postypes.h:214:3:
error: template with C linkage
   templatetypename _StateT
   ^
/tmp/z/obj/prev-i386-pc-solaris2.10/libstdc++-v3/include/bits/postypes.h:219:3:
error: template with C linkage
   templatetypename _StateT
   ^
In file included from /usr/local/include/gmp.h:34:0,
 from /usr/local/include/isl/val_gmp.h:4,
 from ../../gcc-5.1.0/gcc/graphite-isl-ast-to-gimple.c:33:
/tmp/z/obj/prev-i386-pc-solaris2.10/libstdc++-v3/include/iosfwd:76:3: error:
template with C linkage
   templatetypename _CharT, typename _Traits = char_traits_CharT 
   ^
/tmp/z/obj/prev-i386-pc-solaris2.10/libstdc++-v3/include/iosfwd:79:3: error:
template with C linkage
[...]
In file included from /usr/local/include/isl/val_gmp.h:4:0,
 from ../../gcc-5.1.0/gcc/graphite-isl-ast-to-gimple.c:33:
/usr/local/include/gmp.h:2255:71: error: conflicting declaration of C function
‘std::ostream operator(std::ostream, mpq_srcptr)’
 __GMP_DECLSPEC_XX std::ostream operator (std::ostream , mpq_srcptr);
   ^
/usr/local/include/gmp.h:2254:33: note: previous declaration ‘std::ostream
operator(std::ostream, mpz_srcptr)’
 __GMP_DECLSPEC_XX std::ostream operator (std::ostream , mpz_srcptr);
 ^
/usr/local/include/gmp.h:2256:71: error: conflicting declaration of C function
‘std::ostream operator(std::ostream, mpf_srcptr)’
 __GMP_DECLSPEC_XX std::ostream operator (std::ostream , mpf_srcptr);
   ^
/usr/local/include/gmp.h:2255:33: note: previous declaration ‘std::ostream
operator(std::ostream, mpq_srcptr)’
 __GMP_DECLSPEC_XX std::ostream operator (std::ostream , mpq_srcptr);
[...]
/usr/local/include/gmp.h:2255:33: note: previous declaration ‘std::ostream
operator(std::ostream, mpq_srcptr)’
 __GMP_DECLSPEC_XX std::ostream operator (std::ostream , mpq_srcptr);
 ^
/usr/local/include/gmp.h:2256:71: error: conflicting declaration of C function
‘std::ostream operator(std::ostream, mpf_srcptr)’
 __GMP_DECLSPEC_XX std::ostream operator (std::ostream , mpf_srcptr);
   ^
/usr/local/include/gmp.h:2254:33: note: previous declaration ‘std::ostream
operator(std::ostream, mpz_srcptr)’
 __GMP_DECLSPEC_XX std::ostream operator (std::ostream , mpz_srcptr);
 ^
/usr/local/include/gmp.h:2258:68: error: conflicting declaration of C function
‘std::istream operator(std::istream, mpq_ptr)’
 __GMP_DECLSPEC_XX std::istream operator (std::istream , mpq_ptr);
^
/usr/local/include/gmp.h:2257:33: note: previous declaration ‘std::istream
operator(std::istream, mpz_ptr)’
 __GMP_DECLSPEC_XX std::istream operator (std::istream , mpz_ptr);
 ^
/usr/local/include/gmp.h:2259:68: error: conflicting declaration of C function
‘std::istream operator(std::istream, mpf_ptr)’
 __GMP_DECLSPEC_XX std::istream operator (std::istream , mpf_ptr);
^
/usr/local/include/gmp.h:2258:33: note: previous declaration ‘std::istream
operator(std::istream, mpq_ptr)’
 __GMP_DECLSPEC_XX std::istream operator (std::istream , mpq_ptr);
 ^
/usr/local/include/gmp.h:2259:68: error: conflicting declaration of C function
‘std::istream operator(std::istream, mpf_ptr)’
 __GMP_DECLSPEC_XX std::istream operator (std::istream , mpf_ptr);
^
/usr/local/include/gmp.h:2257:33: note