public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "LpSolit at netscape dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/64968] Upgrade GCC Bugzilla to 5.0
Date: Sun, 03 May 2015 01:00:00 -0000	[thread overview]
Message-ID: <bug-64968-4-rqBpVbcQIn@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-64968-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64968

--- Comment #32 from Frédéric Buclin <LpSolit at netscape dot net> ---
For some reason, DateTime::TimeZone->new(name => 'local') sometimes returns
Asia/Kolkata, which explains the -05:30 offset observed in the famous 2% of
bugmails with an incorrect timestamp. I added extra debug code to track which
TZ method is the culprit.
>From gcc-bugs-return-485271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 03 01:23:53 2015
Return-Path: <gcc-bugs-return-485271-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 92092 invoked by alias); 3 May 2015 01:23:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 92021 invoked by uid 48); 3 May 2015 01:23:49 -0000
From: "LpSolit at netscape dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/64968] Upgrade GCC Bugzilla to 5.0
Date: Sun, 03 May 2015 01:23:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: web
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: LpSolit at netscape dot net
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: LpSolit at netscape dot net
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64968-4-pC7S9qsi5Z@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64968-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64968-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-05/txt/msg00111.txt.bz2
Content-length: 268

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64968

--- Comment #33 from Frédéric Buclin <LpSolit at netscape dot net> ---
I found only one user account which uses the Asia/Kolkata timezone. But no
reason why this would interact with the local timezone.
>From gcc-bugs-return-485272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 03 01:42:34 2015
Return-Path: <gcc-bugs-return-485272-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114895 invoked by alias); 3 May 2015 01:42:34 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 114866 invoked by uid 48); 3 May 2015 01:42:30 -0000
From: "jcea at jcea dot es" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/65988] New: Trying to compile GCC 5.1 in my (customized) Solaris 10/x86-64 fails with GMP errors
Date: Sun, 03 May 2015 01:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 5.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jcea at jcea dot es
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-65988-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-05/txt/msg00112.txt.bz2
Content-length: 6567

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
   template<typename _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
   template<typename _StateT>
   ^
/tmp/z/obj/prev-i386-pc-solaris2.10/libstdc++-v3/include/bits/postypes.h:214:3:
error: template with C linkage
   template<typename _StateT>
   ^
/tmp/z/obj/prev-i386-pc-solaris2.10/libstdc++-v3/include/bits/postypes.h:219:3:
error: template with C linkage
   template<typename _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
   template<typename _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: previous declaration ‘std::istream&
operator>>(std::istream&, mpz_ptr)’
 __GMP_DECLSPEC_XX std::istream& operator>> (std::istream &, mpz_ptr);
                                 ^
Makefile:1058: recipe for target 'graphite-isl-ast-to-gimple.o' failed
make[3]: *** [graphite-isl-ast-to-gimple.o] Error 1
make[3]: Leaving directory '/tmp/z/obj/gcc'
Makefile:4406: recipe for target 'all-stage2-gcc' failed
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory '/tmp/z/obj'
Makefile:21875: recipe for target 'stage2-bubble' failed
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory '/tmp/z/obj'
Makefile:899: recipe for target 'all' failed
make: *** [all] Error 2
"""

I am trying to compile with these options:

../gcc-5.1.0/configure --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld
--enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,go

My system is Solaris 10 x86-64 bits.

I am trying to compile this with GCC 4.9.2, compiled on this very same machine
and working correctly for other source code I compile.

The GMP versions apparently conflicting are 6.0.0a and 5.1.2. I was running
5.1.2 and upgraded to 6.0.0a when I got this error, with the same result.
>From gcc-bugs-return-485273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 03 02:51:27 2015
Return-Path: <gcc-bugs-return-485273-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71285 invoked by alias); 3 May 2015 02:51:25 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 71232 invoked by uid 48); 3 May 2015 02:51:17 -0000
From: "chenrylee at qq dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/63509] Misleading error message when building gcc without C++ compiler installed
Date: Sun, 03 May 2015 02:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: other
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chenrylee at qq dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-63509-4-2UYrBxDaEw@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63509-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63509-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-05/txt/msg00113.txt.bz2
Content-length: 416

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc509

Chenry <chenrylee at qq dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chenrylee at qq dot com

--- Comment #4 from Chenry <chenrylee at qq dot com> ---
Also occurred on CentOS 7, solved by installing gcc-c++.


  parent reply	other threads:[~2015-05-03  1:00 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-07 14:23 [Bug web/64968] New: " LpSolit at netscape dot net
2015-02-07 14:44 ` [Bug web/64968] " trippels at gcc dot gnu.org
2015-02-09 10:39 ` LpSolit at netscape dot net
2015-02-09 11:43 ` fche at redhat dot com
2015-02-11 14:37 ` LpSolit at netscape dot net
2015-02-11 16:33 ` fche at redhat dot com
2015-02-11 20:46 ` LpSolit at netscape dot net
2015-02-11 20:48 ` LpSolit at netscape dot net
2015-04-18 18:30 ` LpSolit at netscape dot net
2015-04-27 15:13 ` mikael at gcc dot gnu.org
2015-04-27 17:39 ` fche at redhat dot com
2015-04-27 18:34 ` LpSolit at netscape dot net
2015-04-27 19:47 ` LpSolit at netscape dot net
2015-04-28 16:28 ` trippels at gcc dot gnu.org
2015-04-28 18:26 ` LpSolit at netscape dot net
2015-04-29 12:27 ` LpSolit at netscape dot net
2015-04-29 16:02 ` trippels at gcc dot gnu.org
2015-04-30 13:48 ` trippels at gcc dot gnu.org
2015-04-30 16:34 ` LpSolit at netscape dot net
2015-04-30 20:53 ` LpSolit at netscape dot net
2015-05-01  9:16 ` LpSolit at netscape dot net
2015-05-03  1:00 ` LpSolit at netscape dot net [this message]
2015-05-08  6:22 ` trippels at gcc dot gnu.org
2015-05-08  6:46 ` schwab@linux-m68k.org
2015-05-08  6:51 ` trippels at gcc dot gnu.org
2015-05-08 11:02 ` LpSolit at netscape dot net
2015-05-08 18:55 ` LpSolit at netscape dot net
2015-05-08 19:04 ` trippels at gcc dot gnu.org
2015-05-15 14:06 ` LpSolit at netscape dot net
2015-05-26 14:15 ` trippels at gcc dot gnu.org
2015-05-26 17:41 ` fche at redhat dot com
2015-07-13 10:49 ` trippels at gcc dot gnu.org
2015-09-25  9:05 ` trippels at gcc dot gnu.org
2015-09-26 15:28 ` LpSolit at netscape dot net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64968-4-rqBpVbcQIn@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).