public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/65865] New: [6 Regression] Bootstrap failure on x86
@ 2015-04-23 17:23 hjl.tools at gmail dot com
  2015-04-23 17:44 ` [Bug bootstrap/65865] " hjl.tools at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2015-04-23 17:23 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65865
           Summary: [6 Regression] Bootstrap failure on x86
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com

On Linux/x86, r222380 gave

libtool: compile:  /export/build/gnu/gcc/build-x86_64-linux/./gcc/xgcc
-shared-libgcc -B/export/build/gnu/gcc/build-x86_64-linux/./gcc -nostdinc++
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libstdc++-v3/src
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs
-L/export/build/gnu/gcc/build-x86_64-linux/x86_64-unknown-linux-gnu/32/libstdc++-v3/libsupc++/.libs
-B/usr/gcc-6.0.0/x86_64-unknown-linux-gnu/bin/
-B/usr/gcc-6.0.0/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/gcc-6.0.0/x86_64-unknown-linux-gnu/include -isystem
/usr/gcc-6.0.0/x86_64-unknown-linux-gnu/sys-include -m32 -D_GNU_SOURCE -D_DEBUG
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -I.
-I/export/gnu/import/git/sources/gcc/libsanitizer/sanitizer_common -I.. -I
/export/gnu/import/git/sources/gcc/libsanitizer/include -isystem
/export/gnu/import/git/sources/gcc/libsanitizer/include/system -Wall -W
-Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC
-fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables
-fvisibility=hidden -Wno-variadic-macros -I../../libstdc++-v3/include
-I../../libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/export/gnu/import/git/sources/gcc/libsanitizer/../libstdc++-v3/libsupc++
-std=gnu++11 -DSANITIZER_LIBBACKTRACE -DSANITIZER_CP_DEMANGLE -I
/export/gnu/import/git/sources/gcc/libsanitizer/../libbacktrace -I
../libbacktrace -I /export/gnu/import/git/sources/gcc/libsanitizer/../include
-include
/export/gnu/import/git/sources/gcc/libsanitizer/libbacktrace/backtrace-rename.h
-O2 -g -D_GNU_SOURCE -m32 -MT sanitizer_linux_libcdep.lo -MD -MP -MF
.deps/sanitizer_linux_libcdep.Tpo -c
/export/gnu/import/git/sources/gcc/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc
 -fPIC -DPIC -o .libs/sanitizer_linux_libcdep.o
/export/gnu/import/git/sources/gcc/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc:
In function ‘void __sanitizer::InitTlsSize()’:
/export/gnu/import/git/sources/gcc/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc:173:29:
error: invalid conversion from ‘get_tls_func {aka void (__attribute__((stdcall,
regparm(3))) *)(unsigned int*, unsigned int*)}’ to ‘void (*)(unsigned int*,
unsigned int*)’ [-fpermissive]
   IndirectExternCall(get_tls)(&tls_size, &tls_align);
                             ^
In file included from
/export/gnu/import/git/sources/gcc/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc:16:0:
/export/gnu/import/git/sources/gcc/libsanitizer/sanitizer_common/sanitizer_common.h:529:3:
note:   initializing argument 1 of ‘F __sanitizer::IndirectExternCall(F) [with
F = void (*)(unsigned int*, unsigned int*)]’
 F IndirectExternCall(F f) {
   ^
make[8]: *** [sanitizer_linux_libcdep.lo] Error 1
>From gcc-bugs-return-484502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 23 17:34:45 2015
Return-Path: <gcc-bugs-return-484502-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 84131 invoked by alias); 23 Apr 2015 17:34:45 -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 84110 invoked by uid 48); 23 Apr 2015 17:34:42 -0000
From: "o_kniemeyer at maxon dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65866] New: Wrong warning when using list-initialization: operation on 'b' may be undefined [-Wsequence-point]
Date: Thu, 23 Apr 2015 17:34:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 5.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: o_kniemeyer at maxon dot net
X-Bugzilla-Status: UNCONFIRMED
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
Message-ID: <bug-65866-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-04/txt/msg02054.txt.bz2
Content-length: 894

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

            Bug ID: 65866
           Summary: Wrong warning when using list-initialization:
                    operation on 'b' may be undefined [-Wsequence-point]
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: o_kniemeyer at maxon dot net

This is related to Bug 51253: While that bug was about wrong compiled code and
is reported to be fixed, GCC 5.1.0 still produces a warning in code like

struct X
{
  template <typename... ARGS> X(ARGS&&...);
};

void test()
{
  bool b = false;
  X{b = true, b = true};
}

warning: operation on 'b' may be undefined [-Wsequence-point]

Because list-initialization has to be done from left to right, the warning is
wrong.


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

* [Bug bootstrap/65865] [6 Regression] Bootstrap failure on x86
  2015-04-23 17:23 [Bug bootstrap/65865] New: [6 Regression] Bootstrap failure on x86 hjl.tools at gmail dot com
@ 2015-04-23 17:44 ` hjl.tools at gmail dot com
  2015-04-23 19:12 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2015-04-23 17:44 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-04-23
                 CC|                            |jason at redhat dot com
   Target Milestone|---                         |6.0
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is caused by r222377.


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

* [Bug bootstrap/65865] [6 Regression] Bootstrap failure on x86
  2015-04-23 17:23 [Bug bootstrap/65865] New: [6 Regression] Bootstrap failure on x86 hjl.tools at gmail dot com
  2015-04-23 17:44 ` [Bug bootstrap/65865] " hjl.tools at gmail dot com
@ 2015-04-23 19:12 ` hjl.tools at gmail dot com
  2015-04-23 19:40 ` jason at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2015-04-23 19:12 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 3909 bytes --]

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-6 gcc]$ cat /tmp/x.cc 
extern unsigned long indirect_call_wrapper;

typedef  unsigned long size_t;

template <typename F>
F IndirectExternCall(F f) {
  typedef F (*WrapF)(F);
  return indirect_call_wrapper ? ((WrapF)indirect_call_wrapper)(f) : f;
}

typedef void (*get_tls_func)(size_t*, size_t*) __attribute__((regparm(3),
stdcall));

void
foo (void *get_tls_static_info_ptr)
{
  get_tls_func get_tls;
  __builtin_memcpy (&get_tls, &get_tls_static_info_ptr,
            sizeof(get_tls_static_info_ptr));
  size_t tls_size = 0;
  size_t tls_align = 0;
  IndirectExternCall (get_tls)(&tls_size, &tls_align);
}
[hjl@gnu-6 gcc]$ ./xgcc -B./ -S -m32 -O2 /tmp/x.cc
/tmp/x.cc: In function ‘void foo(void*)’:
/tmp/x.cc:21:30: error: invalid conversion from ‘get_tls_func {aka void
(__attribute__((stdcall, regparm(3))) *)(long unsigned int*, long unsigned
int*)}’ to ‘void (*)(long unsigned int*, long unsigned int*)’ [-fpermissive]
   IndirectExternCall (get_tls)(&tls_size, &tls_align);
                              ^
/tmp/x.cc:6:3: note:   initializing argument 1 of ‘F IndirectExternCall(F)
[with F = void (*)(long unsigned int*, long unsigned int*)]’
 F IndirectExternCall(F f) {
   ^
[hjl@gnu-6 gcc]$
>From gcc-bugs-return-484512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 23 19:13:03 2015
Return-Path: <gcc-bugs-return-484512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54159 invoked by alias); 23 Apr 2015 19:13:03 -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 54134 invoked by uid 48); 23 Apr 2015 19:12:59 -0000
From: "daniel.f.starke at freenet dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65867] New: [5 Regression] bootstrap fails for mingw32 due to missing header in ssp.c
Date: Thu, 23 Apr 2015 19:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.1.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: daniel.f.starke at freenet dot de
X-Bugzilla-Status: UNCONFIRMED
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 attachments.created
Message-ID: <bug-65867-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-04/txt/msg02064.txt.bz2
Content-length: 707

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

            Bug ID: 65867
           Summary: [5 Regression] bootstrap fails for mingw32 due to
                    missing header in ssp.c
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: daniel.f.starke at freenet dot de

Created attachment 35392
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id5392&actioníit
patch

Bootstrapping gcc 5.1 with ming32 (not mingw32-w64) fails due to missing
include of wincrypt.h within ssp.c. See attachment for a possible patch.


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

* [Bug bootstrap/65865] [6 Regression] Bootstrap failure on x86
  2015-04-23 17:23 [Bug bootstrap/65865] New: [6 Regression] Bootstrap failure on x86 hjl.tools at gmail dot com
  2015-04-23 17:44 ` [Bug bootstrap/65865] " hjl.tools at gmail dot com
  2015-04-23 19:12 ` hjl.tools at gmail dot com
@ 2015-04-23 19:40 ` jason at gcc dot gnu.org
  2015-04-24  7:57 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2015-04-23 19:40 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
OK, reverted temporarily.


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

* [Bug bootstrap/65865] [6 Regression] Bootstrap failure on x86
  2015-04-23 17:23 [Bug bootstrap/65865] New: [6 Regression] Bootstrap failure on x86 hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2015-04-23 19:40 ` jason at gcc dot gnu.org
@ 2015-04-24  7:57 ` rguenth at gcc dot gnu.org
  2015-05-08 18:26 ` vmakarov at gcc dot gnu.org
  2015-05-08 18:27 ` vmakarov at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-04-24  7:57 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.


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

* [Bug bootstrap/65865] [6 Regression] Bootstrap failure on x86
  2015-04-23 17:23 [Bug bootstrap/65865] New: [6 Regression] Bootstrap failure on x86 hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2015-04-24  7:57 ` rguenth at gcc dot gnu.org
@ 2015-05-08 18:26 ` vmakarov at gcc dot gnu.org
  2015-05-08 18:27 ` vmakarov at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2015-05-08 18:26 UTC (permalink / raw)
  To: gcc-bugs

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

Vladimir Makarov <vmakarov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmakarov at gcc dot gnu.org

--- Comment #5 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Created attachment 35502
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35502&action=edit
ira-hook.patch

Here is the patch introducing the hook.  Could you try it and give me your
opinion.  Thanks.


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

* [Bug bootstrap/65865] [6 Regression] Bootstrap failure on x86
  2015-04-23 17:23 [Bug bootstrap/65865] New: [6 Regression] Bootstrap failure on x86 hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2015-05-08 18:26 ` vmakarov at gcc dot gnu.org
@ 2015-05-08 18:27 ` vmakarov at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2015-05-08 18:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Vladimir Makarov from comment #5)
> Created attachment 35502 [details]
> ira-hook.patch
> 
> Here is the patch introducing the hook.  Could you try it and give me your
> opinion.  Thanks.

Sorry, wrong place.  Please ignore the patch.


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

end of thread, other threads:[~2015-05-08 18:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-23 17:23 [Bug bootstrap/65865] New: [6 Regression] Bootstrap failure on x86 hjl.tools at gmail dot com
2015-04-23 17:44 ` [Bug bootstrap/65865] " hjl.tools at gmail dot com
2015-04-23 19:12 ` hjl.tools at gmail dot com
2015-04-23 19:40 ` jason at gcc dot gnu.org
2015-04-24  7:57 ` rguenth at gcc dot gnu.org
2015-05-08 18:26 ` vmakarov at gcc dot gnu.org
2015-05-08 18:27 ` vmakarov at gcc dot gnu.org

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).