public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/66508] New: Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault
@ 2015-06-11 12:50 youfan.noey at gmail dot com
  2015-06-12  8:55 ` [Bug bootstrap/66508] " redi at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: youfan.noey at gmail dot com @ 2015-06-11 12:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66508
           Summary: Attempt to Compile gcc-6.0 on OSX 10.9.4 cause
                    segmentation fault
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: youfan.noey at gmail dot com
  Target Milestone: ---

Created attachment 35757
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35757&action=edit
config.log file

Compiler being used is: clang-600.0.56

Build with command line command:

cd ~/src/build/gcc && rm -rf *
~/src/gcc/configure --prefix=$HOME/sandbox --enable-languages=c++
--enable-checking=release > /dev/null 2>/dev/null
/usr/bin/time make -j11 bootstrap > out.log 2> err.log

It cause segmentation fault when process

configure:3462: /Users/jieyuandai/src/build/gcc/./gcc/xgcc
-B/Users/jieyuandai/src/build/gcc/./gcc/
-B/usr/local/x86_64-apple-darwin13.3.0/bin/
-B/usr/local/x86_64-apple-darwin13.3.0/lib/ -isystem
/usr/local/x86_64-apple-darwin13.3.0/include -isystem
/usr/local/x86_64-apple-darwin13.3.0/sys-include    -o conftest -g -O2  
conftest.c  >&5
<built-in>: internal compiler error: Segmentation fault: 11
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.


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

* [Bug bootstrap/66508] Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault
  2015-06-11 12:50 [Bug bootstrap/66508] New: Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault youfan.noey at gmail dot com
@ 2015-06-12  8:55 ` redi at gcc dot gnu.org
  2015-06-12  9:24 ` dominiq at lps dot ens.fr
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2015-06-12  8:55 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-apple-darwin13.3.0
               Host|                            |x86_64-apple-darwin13.3.0
              Build|                            |x86_64-apple-darwin13.3.0

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
configure:3462: /Users/jieyuandai/src/build/gcc/./gcc/xgcc
-B/Users/jieyuandai/src/build/gcc/./gcc/
-B/usr/local/x86_64-apple-darwin13.3.0/bin/
-B/usr/local/x86_64-apple-darwin13.3.0/lib/ -isystem
/usr/local/x86_64-apple-darwin13.3.0/include -isystem
/usr/local/x86_64-apple-darwin13.3.0/sys-include    -o conftest -g -O2  
conftest.c  >&5
<built-in>: internal compiler error: Segmentation fault: 11
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3465: $? = 1
configure:3653: checking for suffix of object files
configure:3675: /Users/jieyuandai/src/build/gcc/./gcc/xgcc
-B/Users/jieyuandai/src/build/gcc/./gcc/
-B/usr/local/x86_64-apple-darwin13.3.0/bin/
-B/usr/local/x86_64-apple-darwin13.3.0/lib/ -isystem
/usr/local/x86_64-apple-darwin13.3.0/include -isystem
/usr/local/x86_64-apple-darwin13.3.0/sys-include    -c -g -O2  conftest.c >&5
<built-in>: internal compiler error: Segmentation fault: 11
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3679: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3693: error: in
`/Users/jieyuandai/src/build/gcc/x86_64-apple-darwin13.3.0/libgcc':
configure:3696: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.


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

* [Bug bootstrap/66508] Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault
  2015-06-11 12:50 [Bug bootstrap/66508] New: Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault youfan.noey at gmail dot com
  2015-06-12  8:55 ` [Bug bootstrap/66508] " redi at gcc dot gnu.org
@ 2015-06-12  9:24 ` dominiq at lps dot ens.fr
  2015-06-12 11:06 ` youfan.noey at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-06-12  9:24 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-06-12
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Duplicate of pr66448? Which revision are you using?


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

* [Bug bootstrap/66508] Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault
  2015-06-11 12:50 [Bug bootstrap/66508] New: Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault youfan.noey at gmail dot com
  2015-06-12  8:55 ` [Bug bootstrap/66508] " redi at gcc dot gnu.org
  2015-06-12  9:24 ` dominiq at lps dot ens.fr
@ 2015-06-12 11:06 ` youfan.noey at gmail dot com
  2015-06-13 11:39 ` iains at gcc dot gnu.org
  2015-06-14 13:56 ` youfan.noey at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: youfan.noey at gmail dot com @ 2015-06-12 11:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Fan You <youfan.noey at gmail dot com> ---
(In reply to Dominique d'Humieres from comment #2)
> Duplicate of pr66448? Which revision are you using?

Just updated and tried again, get the same result.

Revision: 224410

After changing

diff --git a/gcc/passes.c b/gcc/passes.c
index d3ffe33..1bc8a36 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -332,7 +332,7 @@ rest_of_decl_compilation (tree decl,
       */
       && !decl_function_context (decl)
       && !current_function_decl
-
+      && DECL_SOURCE_LOCATION (decl) != BUILTINS_LOCATION
       && !decl_type_context (decl))
     (*debug_hooks->early_global_decl) (decl);
 }

I get similar error as pr66448 

/Users/jieyuandai/src/gcc/gcc/dwarf2out.c:5693:1: error: ‘void
check_die(dw_die_ref)’ defined but not used [-Werror=unused-function]
 check_die (dw_die_ref die)
 ^
cc1plus: all warnings being treated as errors

Retry build with gcc-4.9.2 get the same results.
>From gcc-bugs-return-488861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jun 12 11:13:35 2015
Return-Path: <gcc-bugs-return-488861-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 54809 invoked by alias); 12 Jun 2015 11:13:35 -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 54616 invoked by uid 48); 12 Jun 2015 11:13:31 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66519] [C++14] ICE when using decltype to detect callable return type during SFINAE
Date: Fri, 12 Jun 2015 11:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 5.1.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: NEW
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: keywords bug_status cf_reconfirmed_on everconfirmed cf_known_to_fail
Message-ID: <bug-66519-4-EwCpHKSjjD@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66519-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66519-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-06/txt/msg01193.txt.bz2
Content-length: 542

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-06-12
     Ever confirmed|0                           |1
      Known to fail|                            |4.8.3, 4.9.2, 5.1.0, 6.0


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

* [Bug bootstrap/66508] Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault
  2015-06-11 12:50 [Bug bootstrap/66508] New: Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault youfan.noey at gmail dot com
                   ` (2 preceding siblings ...)
  2015-06-12 11:06 ` youfan.noey at gmail dot com
@ 2015-06-13 11:39 ` iains at gcc dot gnu.org
  2015-06-14 13:56 ` youfan.noey at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: iains at gcc dot gnu.org @ 2015-06-13 11:39 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Sandoe <iains at gcc dot gnu.org> changed:

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

--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Fan You from comment #3)
> (In reply to Dominique d'Humieres from comment #2)
> > Duplicate of pr66448? Which revision are you using?
> 
> Just updated and tried again, get the same result.
> 
> Revision: 224410
> 
> After changing
> 
>
 get similar error as pr66448 
> 
> /Users/jieyuandai/src/gcc/gcc/dwarf2out.c:5693:1: error: ‘void
> check_die(dw_die_ref)’ defined but not used [-Werror=unused-function]
>  check_die (dw_die_ref die)
>  ^
> cc1plus: all warnings being treated as errors

I think that should have been fixed by 224431, and Darwin bootstrap (pr66448)
should be OK as of r224451.  Let us know if problems persist
>From gcc-bugs-return-488916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 13 11:54:14 2015
Return-Path: <gcc-bugs-return-488916-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 97672 invoked by alias); 13 Jun 2015 11:54:14 -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 97617 invoked by uid 48); 13 Jun 2015 11:54:09 -0000
From: "tkoenig at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/66528] [6 Regression] unbalanced IF/ENDIF with -fmax-errors=1 causes invalid free
Date: Sat, 13 Jun 2015 11:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords: error-recovery
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tkoenig at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P4
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-66528-4-qZdUrXtUpN@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66528-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66528-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-06/txt/msg01248.txt.bz2
Content-length: 1605

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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

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

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #2)

> Usual suspect r223677 (pr66082).

I don't believe that a change to trans-array.c can cause
a parsing failure.  I would rather suspect r223614 .

Here is the first error reported by valgrind:

=\x1154== Invalid free() / delete / delete[] / realloc()
=\x1154==    at 0x4C28ADC: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
=\x1154==    by 0x126B11B: diagnostic_finish(diagnostic_context*)
(diagnostic.c:230)
=\x1154==    by 0x126BF11: diagnostic_action_after_output(diagnostic_context*,
diagnostic_t) (diagnostic.c:566)
=\x1154==    by 0x63FB0B: gfc_error_check() (error.c:1384)
=\x1154==    by 0x687E47: decode_statement() (parse.c:554)
=\x1154==    by 0x689740: next_statement() (parse.c:1048)
=\x1154==    by 0x68BA0C: parse_executable(gfc_statement) (parse.c:4593)
=\x1154==    by 0x68C430: parse_executable(gfc_statement) (parse.c:3519)
=\x1154==    by 0x68CA06: parse_progunit(gfc_statement) (parse.c:4976)
=\x1154==    by 0x68E167: gfc_parse_file() (parse.c:5424)
=\x1154==    by 0x6CE642: gfc_be_parse_file() (f95-lang.c:215)
=\x1154==    by 0xBCA44E: compile_file() (toplev.c:560)
=\x1154==  Address 0x1cfefa8 is 8 bytes inside data symbol "_ZL12error_buffer"


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

* [Bug bootstrap/66508] Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault
  2015-06-11 12:50 [Bug bootstrap/66508] New: Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault youfan.noey at gmail dot com
                   ` (3 preceding siblings ...)
  2015-06-13 11:39 ` iains at gcc dot gnu.org
@ 2015-06-14 13:56 ` youfan.noey at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: youfan.noey at gmail dot com @ 2015-06-14 13:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Fan You <youfan.noey at gmail dot com> ---
(In reply to Iain Sandoe from comment #4)
> (In reply to Fan You from comment #3)
> > (In reply to Dominique d'Humieres from comment #2)
> > > Duplicate of pr66448? Which revision are you using?
> > 
> > Just updated and tried again, get the same result.
> > 
> > Revision: 224410
> > 
> > After changing
> > 
> >
>  get similar error as pr66448 
> > 
> > /Users/jieyuandai/src/gcc/gcc/dwarf2out.c:5693:1: error: ‘void
> > check_die(dw_die_ref)’ defined but not used [-Werror=unused-function]
> >  check_die (dw_die_ref die)
> >  ^
> > cc1plus: all warnings being treated as errors
> 
> I think that should have been fixed by 224431, and Darwin bootstrap
> (pr66448) should be OK as of r224451.  Let us know if problems persist

Fixed, Thanks.
>From gcc-bugs-return-488947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 14 14:08:33 2015
Return-Path: <gcc-bugs-return-488947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 89959 invoked by alias); 14 Jun 2015 14:08:33 -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 89945 invoked by uid 48); 14 Jun 2015 14:08:29 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/65102] gnat-style.texi warning from including fdl.texi
Date: Sun, 14 Jun 2015 14:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ada
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: vries at gcc dot gnu.org
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:
Message-ID: <bug-65102-4-YZldGgzljr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65102-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65102-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-06/txt/msg01279.txt.bz2
Content-length: 341

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

--- Comment #3 from vries at gcc dot gnu.org ---
(In reply to vries from comment #2)
> requested approval for fdl.texi part from docs co-maintainer:
> https://gcc.gnu.org/ml/gcc-patches/2015-03/msg01056.html

Posted updated patch: https://gcc.gnu.org/ml/gcc-patches/2015-06/msg00975.html


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

end of thread, other threads:[~2015-06-14 13:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-11 12:50 [Bug bootstrap/66508] New: Attempt to Compile gcc-6.0 on OSX 10.9.4 cause segmentation fault youfan.noey at gmail dot com
2015-06-12  8:55 ` [Bug bootstrap/66508] " redi at gcc dot gnu.org
2015-06-12  9:24 ` dominiq at lps dot ens.fr
2015-06-12 11:06 ` youfan.noey at gmail dot com
2015-06-13 11:39 ` iains at gcc dot gnu.org
2015-06-14 13:56 ` youfan.noey at gmail dot com

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