From owner-freebsd-ports-bugs@freebsd.org Wed Mar 27 22:37:35 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 120DE155DC1C for ; Wed, 27 Mar 2019 22:37:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9921E6CC00 for ; Wed, 27 Mar 2019 22:37:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5A2D3155DC17; Wed, 27 Mar 2019 22:37:34 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37B63155DC15 for ; Wed, 27 Mar 2019 22:37:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B735B6CBFB for ; Wed, 27 Mar 2019 22:37:33 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EBD021A0B2 for ; Wed, 27 Mar 2019 22:37:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x2RMbWkQ001625 for ; Wed, 27 Mar 2019 22:37:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2RMbWAg001624 for ports-bugs@FreeBSD.org; Wed, 27 Mar 2019 22:37:32 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 236839] gcc8 failed to compile on sparc64 platform (FreeBSD 12.0 STABLE) Date: Wed, 27 Mar 2019 22:37:32 +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 Some People X-Bugzilla-Who: bmeyer@mesoft.com.au 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: Wed, 27 Mar 2019 22:37:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236839 Bug ID: 236839 Summary: gcc8 failed to compile on sparc64 platform (FreeBSD 12.0 STABLE) Product: Ports & Packages Version: Latest Hardware: sparc64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: bmeyer@mesoft.com.au CC: sparc64@FreeBSD.org Flags: maintainer-feedback?(gerald@FreeBSD.org) CC: sparc64@FreeBSD.org Assignee: gerald@FreeBSD.org GCC8 fails to compile on SPARC64. The port fails with the compile error messages (truncated for brevity) included below.=20=20 Errors from the build (i.e. cd /usr/ports/lang/gcc8 && make) ---> CUT HERE <--- Comparing stages 2 and 3 warning: gcc/cc1obj-checksum.o differs Bootstrap comparison failure! gcc/objc/objc-next-runtime-abi-01.o differs sparc64-portbld-freebsd12.0/libgomp/loop.o differs sparc64-portbld-freebsd12.0/libgcc/_moddi3_s.o differs gmake[7]: *** [Makefile:22711: compare] Error 1 gmake[7]: Leaving directory '/usr/ports/lang/gcc8/work/.build' gmake[6]: *** [Makefile:22691: stage3-bubble] Error 2 gmake[6]: Leaving directory '/usr/ports/lang/gcc8/work/.build' gmake[5]: *** [Makefile:22765: bootstrap-lean] Error 2 gmake[5]: Leaving directory '/usr/ports/lang/gcc8/work/.build' =3D=3D=3D> Compilation failed unexpectedly. ---> END CUT <--- Summary: It would *appear* as though that GCC is comparing the output from the stage2 and stage3 compiles, but stage 3 is being built with debug info being attac= hed.=20 This conclusion is based on examination of some of the files in question fr= om the error above.=20=20 ---> CUT HERE <--- hercules : Thu Mar 28 09:07:26 AEDT 2019 : /tmp/mesoft-base -> 982# cat /tmp/d /cc1obj-checksum.o /objc-next-runtime-abi-01.o /loop.o /_moddi3_s.o hercules : Thu Mar 28 09:07:40 AEDT 2019 : /tmp/mesoft-base -> 983# find /usr/ports/lang/gcc8/work -type f -print | fgrep -if /tmp/d | xargs ls -ld -rw-r--r-- 1 root wheel 992 Mar 28 06:25 /usr/ports/lang/gcc8/work/.build/stage2-gcc/cc1obj-checksum.o -rw-r--r-- 1 root wheel 82816 Mar 28 06:11 /usr/ports/lang/gcc8/work/.build/stage2-gcc/objc/objc-next-runtime-abi-01.o -rw-r--r-- 1 root wheel 23640 Mar 28 06:26 /usr/ports/lang/gcc8/work/.build/stage2-sparc64-portbld-freebsd12.0/libgcc/= _moddi3_s.o -rw-r--r-- 1 root wheel 103216 Mar 28 06:28 /usr/ports/lang/gcc8/work/.build/stage2-sparc64-portbld-freebsd12.0/libgomp= /.libs/loop.o -rw-r--r-- 1 root wheel 102864 Mar 28 06:28 /usr/ports/lang/gcc8/work/.build/stage2-sparc64-portbld-freebsd12.0/libgomp= /loop.o -rw-r--r-- 1 root wheel 24720 Mar 28 08:04 /usr/ports/lang/gcc8/work/.build/stage3-gcc/cc1obj-checksum.o -rw-r--r-- 1 root wheel 1372048 Mar 28 08:00 /usr/ports/lang/gcc8/work/.build/stage3-gcc/objc/objc-next-runtime-abi-01.o -rw-r--r-- 1 root wheel 23672 Mar 28 08:09 /usr/ports/lang/gcc8/work/.build/stage3-sparc64-portbld-freebsd12.0/libgcc/= _moddi3_s.o -rw-r--r-- 1 root wheel 103216 Mar 28 08:10 /usr/ports/lang/gcc8/work/.build/stage3-sparc64-portbld-freebsd12.0/libgomp= /.libs/loop.o -rw-r--r-- 1 root wheel 102864 Mar 28 08:10 /usr/ports/lang/gcc8/work/.build/stage3-sparc64-portbld-freebsd12.0/libgomp= /loop.o hercules : Thu Mar 28 09:08:36 AEDT 2019 : /tmp/mesoft-base -> 984# file /usr/ports/lang/gcc8/work/.build/stage2-gcc/cc1obj-checksum.o /usr/ports/lang/gcc8/work/.build/stage3-gcc/cc1obj-checksum.o /usr/ports/lang/gcc8/work/.build/stage2-gcc/cc1obj-checksum.o: ELF 64-bit M= SB relocatable, SPARC V9, relaxed memory ordering, version 1 (SYSV), not strip= ped /usr/ports/lang/gcc8/work/.build/stage3-gcc/cc1obj-checksum.o: ELF 64-bit M= SB relocatable, SPARC V9, relaxed memory ordering, version 1 (SYSV), with debug_info, not stripped hercules : Thu Mar 28 09:09:19 AEDT 2019 : /tmp/mesoft-base -> 985# file /usr/ports/lang/gcc8/work/.build/stage2-gcc/objc/objc-next-runtime-abi-01.o /usr/ports/lang/gcc8/work/.build/stage3-gcc/objc/objc-next-runtime-abi-01.o /usr/ports/lang/gcc8/work/.build/stage2-gcc/objc/objc-next-runtime-abi-01.o: ELF 64-bit MSB relocatable, SPARC V9, relaxed memory ordering, version 1 (SYSV), not stripped /usr/ports/lang/gcc8/work/.build/stage3-gcc/objc/objc-next-runtime-abi-01.o: ELF 64-bit MSB relocatable, SPARC V9, relaxed memory ordering, version 1 (SYSV), with debug_info, not stripped ---> END CUT <--- Base OS - FreeBSD 12.0 (STABLE) - R345472, dated 2019/03/25 Ports Release - R496756, dated 2019/03/25 Build Platform - Sun Fire V240 with UltraSPARC III OS Release Info (UNAME) ---> CUT HERE <--- hercules : Thu Mar 28 09:01:10 AEDT 2019 : /tmp/mesoft-base -> 974# uname -a FreeBSD hercules.sydney.mesoft.com.au 12.0-STABLE FreeBSD 12.0-STABLE GENER= IC=20 sparc64 ---> END CUT <--- /etc/make.conf contents: ---> CUT HERE <--- hercules : Thu Mar 28 09:02:59 AEDT 2019 : /tmp/mesoft-base -> 975 cat /etc/make.conf WITHOUT_X11=3Dyes OPTIONS_UNSET+=3DX11 PAPERSIZE=3Da4 A4=3Dyes ---> END CUT <--- Ports Options for GCC: ---> CUT HERE <--- # This file is auto-generated by 'make config'. # Options for gcc8-8.3.0 _OPTIONS_READ=3Dgcc8-8.3.0 _FILE_COMPLETE_OPTIONS_LIST=3DBOOTSTRAP GRAPHITE OPTIONS_FILE_SET+=3DBOOTSTRAP OPTIONS_FILE_UNSET+=3DGRAPHITE ---> END CUT <--- Ports Base Makefile Version ---> CUT HERE <--- hercules : Thu Mar 28 09:04:43 AEDT 2019 : /usr/ports/lang/gcc8 -> 978# ident Makefile Makefile: $FreeBSD: lang/gcc8/Makefile 494921 2019-03-07 09:55:52Z gerald $ ---> END CUT <--- If you need any additional information from me, feel free to email me direc= tly. --=20 You are receiving this mail because: You are the assignee for the bug.=