Date: Thu, 02 Jun 2016 09:59:23 +0000 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 Message-ID: <bug-209963-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209963-13>