From owner-freebsd-ports-bugs@freebsd.org Thu Dec 12 08:38:05 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1DC671CA496 for ; Thu, 12 Dec 2019 08:38:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47YRyP016sz4J0Y for ; Thu, 12 Dec 2019 08:38:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F283C1CA495; Thu, 12 Dec 2019 08:38:04 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F138B1CA494 for ; Thu, 12 Dec 2019 08:38:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47YRyN5y71z4J0W for ; Thu, 12 Dec 2019 08:38:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AE56E211D5 for ; Thu, 12 Dec 2019 08:38:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xBC8c4pk048363 for ; Thu, 12 Dec 2019 08:38:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBC8c4Y2048362 for ports-bugs@FreeBSD.org; Thu, 12 Dec 2019 08:38:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 242593] [PowerPC64] lang/gcc8: error: cp/cxx-pretty-print.o: ELF section name out of range (on FreeBSD 12.1-RELEASE) Date: Thu, 12 Dec 2019 08:38:02 +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: canardo909@gmx.com 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 cc 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.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2019 08:38:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242593 Bug ID: 242593 Summary: [PowerPC64] lang/gcc8: error: cp/cxx-pretty-print.o: ELF section name out of range (on FreeBSD 12.1-RELEASE) Product: Ports & Packages Version: Latest Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: canardo909@gmx.com CC: powerpc@FreeBSD.org Assignee: gerald@FreeBSD.org CC: powerpc@FreeBSD.org Flags: maintainer-feedback?(gerald@FreeBSD.org) Problem found when compiling gcc8 on FreeBSD 12.1 # cd /usr/ports/lang/gcc8 # make install clean ... ... ... gmake[5]: Entering directory '/usr/ports/lang/gcc8/work/.build/libdecnumber' gmake[5]: Nothing to be done for 'all'. gmake[5]: Leaving directory '/usr/ports/lang/gcc8/work/.build/libdecnumber' gmake[5]: Entering directory '/usr/ports/lang/gcc8/work/.build/gcc' /usr/ports/lang/gcc8/work/.build/./prev-gcc/xg++ -B/usr/ports/lang/gcc8/work/.build/./prev-gcc/ -B/usr/local/powerpc64-portbld-freebsd12.1/bin/ -nostdinc++ -B/usr/ports/lang/gcc8/work/.build/prev-powerpc64-portbld-freebsd12.1/libst= dc++-v3/src/.libs -B/usr/ports/lang/gcc8/work/.build/prev-powerpc64-portbld-freebsd12.1/libst= dc++-v3/libsupc++/.libs -isystem /usr/ports/lang/gcc8/work/.build/prev-powerpc64-portbld-freebsd12.1/libstdc= ++-v3/include/powerpc64-portbld-freebsd12.1 -isystem /usr/ports/lang/gcc8/work/.build/prev-powerpc64-portbld-freebsd12.1/libstdc= ++-v3/include -isystem /usr/ports/lang/gcc8/work/gcc-8.3.0/libstdc++-v3/libsupc++ -L/usr/ports/lang/gcc8/work/.build/prev-powerpc64-portbld-freebsd12.1/libst= dc++-v3/src/.libs -L/usr/ports/lang/gcc8/work/.build/prev-powerpc64-portbld-freebsd12.1/libst= dc++-v3/libsupc++/.libs -no-pie -O1 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG= _H -static-libstdc++ -static-libgcc -o cc1plus \ cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/class.o cp/constexpr.o cp/constraint.o cp/cp-gimplify.o cp/cp-objcp-common.o cp/cp-ubsan.o cp/cvt.o cp/cxx-pretty-print.o cp/decl.o cp/decl2.o cp/dump.o cp/error.o cp/except.o cp/expr.o cp/friend.o cp/init.o cp/lambda.o cp/lex.o cp/logic.o cp/mangle.o cp/method.o cp/name-lookup.o cp/optimize.o cp/parser.o cp/pt.o cp/ptree.o cp/repo.o cp/rtti.o cp/search.o cp/semantics.o cp/tree.o cp/typeck.o cp/typeck2.o cp/vtable-class-hierarchy.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-ubsan.o c-family/known-headers.o c-family/c-attribs.o c-family/c-warn.o c-family/c-spellcheck.o default-c.o rs6000-c.o cc1plus-checksum.o libbacken= d.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a=20=20 ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/usr/local/lib -lmpc -lmpfr -lgmp -rdyna= mic=20 -lz /usr/local/bin/ld: warning: cp/cxx-pretty-print.o has a corrupt string table index - ignoring /usr/local/bin/ld: error: cp/cxx-pretty-print.o: ELF section name out of ra= nge collect2: error: ld returned 1 exit status gmake[5]: *** [/usr/ports/lang/gcc8/work/gcc-8.3.0/gcc/cp/Make-lang.in:120: cc1plus] Error 1 gmake[5]: Leaving directory '/usr/ports/lang/gcc8/work/.build/gcc' gmake[4]: *** [Makefile:4652: all-stage2-gcc] Error 2 gmake[4]: Leaving directory '/usr/ports/lang/gcc8/work/.build' gmake[3]: *** [Makefile:22550: stage2-bubble] Error 2 gmake[3]: Leaving directory '/usr/ports/lang/gcc8/work/.build' gmake[2]: *** [Makefile:22765: bootstrap-lean] Error 2 gmake[2]: Leaving directory '/usr/ports/lang/gcc8/work/.build' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/gcc8 *** Error code 1 Stop. It runs on an emulated version of FreeBSD Host is Ubuntu 18.04 LTS 64bits (with 8GB ram) Qemu version : QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.21) Command line to run FreeBSD sudo qemu-system-ppc64 -M pseries-2.12-sxxm -smp 2 -drive file=3Dqfreebsdppc64.qcow -m 3G -machine cap-sbbc=3Dbroken,cap-ibs=3Dbroken= -net user,hostfwd=3Dtcp::10022-:22 -net nic Installed FreeBSD version # uname -mrs FreeBSD 12.1-RELEASE powerpc I don't have PowerPC64 hardware, so I can't test if it is purely on Qemu, o= r if it also occurs on ppc64 hardware. --=20 You are receiving this mail because: You are the assignee for the bug.=