From owner-freebsd-ports-bugs@freebsd.org Thu Jun 2 09:59:23 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7D9FB612BF for ; Thu, 2 Jun 2016 09:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E8E817BD for ; Thu, 2 Jun 2016 09:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u529xNrZ088175 for ; Thu, 2 Jun 2016 09:59:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 209963] lang/gcc, lang/gcc5 : Fail to build on powerpc64, segmentation fault Date: Thu, 02 Jun 2016 09:59:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@simweb.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gerald@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2016 09:59:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209963 Bug ID: 209963 Summary: lang/gcc, lang/gcc5 : Fail to build on powerpc64, segmentation fault Product: Ports & Packages Version: Latest Hardware: ppc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: freebsd@simweb.ch Flags: maintainer-feedback?(gerald@FreeBSD.org) Assignee: gerald@FreeBSD.org Dear maintainer Since quite many ports depend on lang/gcc to build (i.e many X11 related on= es) lang/gcc is therefore built as dependency (I used poudriere) The setup is as follows: 10.3-RELEASE, PowerPC64 (iMac G5), 1.5 GB memory (= if that matters), poudriere from ports tree and trying to build parts of X11 w= hich at some point requires lang/gcc. However after some time the lang/gcc always fails with: [...] In file included from /wrkdirs/usr/ports/lang/gcc/work/gcc-4.8.5/libgcc/libgcov.c:41:0: /wrkdirs/usr/ports/lang/gcc/work/gcc-4.8.5/libgcc/../gcc/gcov-io.c: In func= tion '__gcov_read_summary': /wrkdirs/usr/ports/lang/gcc/work/gcc-4.8.5/libgcc/../gcc/gcov-io.h:258:27: internal compiler error: Segmentation fault #define gcov_read_summary __gcov_read_summary ^ /wrkdirs/usr/ports/lang/gcc/work/gcc-4.8.5/libgcc/../gcc/gcov-io.c:520:1: n= ote: in expansion of macro 'gcov_read_summary' gcov_read_summary (struct gcov_summary *summary) ^ no stack trace because unwind library not available [...] The second attempt with was to replace lang/gcc by lang/gcc5 and see if a n= ewer GCC version might work but it also failes with a segmentation fault, althou= gh not at the same point: /wrkdirs/usr/ports/lang/gcc/work/gcc-5.3.0/libgcc/libgcov-profiler.c: In function '__gcov_indirect_call_profiler_v2': /wrkdirs/usr/ports/lang/gcc/work/gcc-5.3.0/libgcc/libgcov-profiler.c:287:1: internal compiler error: Segmentation fault __gcov_indirect_call_profiler_v2 (gcov_type value, void* cur_func) ^ no stack trace because unwind library not available Please submit a full bug report, with preprocessed source if appropriate. Is there anything I could provide to better understand the problem? I imagi= ne it's either related to PowerPC(64) having a dated GCC 4.2.1 in base compare= d to x86 architectures which ship with more recent LLVM/clang. Thanks, Mathieu --=20 You are receiving this mail because: You are the assignee for the bug.=