From owner-freebsd-toolchain@freebsd.org Sun Dec 22 00:34:29 2019 Return-Path: Delivered-To: freebsd-toolchain@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 D1B911E0D7A for ; Sun, 22 Dec 2019 00:34:29 +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 47gNln5D4Jz3K6K for ; Sun, 22 Dec 2019 00:34:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B160A1E0D79; Sun, 22 Dec 2019 00:34:29 +0000 (UTC) Delivered-To: toolchain@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 B12891E0D78 for ; Sun, 22 Dec 2019 00:34:29 +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 47gNln4MpDz3K6J for ; Sun, 22 Dec 2019 00:34:29 +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 916CF1F6C5 for ; Sun, 22 Dec 2019 00:34:29 +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 xBM0YTWp015640 for ; Sun, 22 Dec 2019 00:34:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBM0YTVE015639 for toolchain@FreeBSD.org; Sun, 22 Dec 2019 00:34:29 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: toolchain@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: Sun, 22 Dec 2019 00:33:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gerald@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: flagtypes.name assigned_to cc Message-ID: In-Reply-To: References: 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Dec 2019 00:34:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242593 Gerald Pfeifer changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(gerald | |@FreeBSD.org) | Assignee|gerald@FreeBSD.org |toolchain@FreeBSD.org CC| |gerald@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sun Dec 22 00:40:56 2019 Return-Path: Delivered-To: freebsd-toolchain@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 98A7C1E10D6 for ; Sun, 22 Dec 2019 00:40:56 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-8.consmr.mail.gq1.yahoo.com (sonic307-8.consmr.mail.gq1.yahoo.com [98.137.64.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47gNvC4Wl1z3Kmc for ; Sun, 22 Dec 2019 00:40:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 4zbkgKAVM1lAeWtMTHzhIOt.vAI4coy774m3zKvKV0twK7oOVTPfChTCe5wljbD dYUvkcoDDERz93NB0pDeEErW_fCIh2zi209sc.bnwQK.rzcZWNWQ.QYCansZ_jT3SjHa0E3gLfTO 5sduuHxXbN9JYqkV5fePwtcQAwYK8UZeKejoeVJ62Cq6oKAU3c.FcEj_ARlEuovoTgfXHjOhdUvZ HBbiu6gQ97dBkAOeSnXxEAdIw36chvdUoGwrk4E2XxQvu1tZETGXjS8OE95rg8h1kG6.TSEJnFYi IwKP8vEEZYZZ2m6TI_OavPGdbz1E_qt5HLNXt.vGhn8OJ3eWjqKVOumsxcvoiGoF4ZVfk.25Xrmy MA0EkzL6azHONGqNXEkEiYE876taWwEmgqXWjq4vM04Nie_NUDXmPuiwcpKktm_w8nnjEbWT2yyr pzee3rnLemvylRUz9sTHdpNhztqEwo8e96.4THjz5fsQ8uNfkQ4ily.cj64R.6.np8obscSJElu0 iwfyAduz2Rm.Zaz_BlhLkOqHLHp25vmFUgYYzh6X9vc6SD14aiaQI60US4k047gRZJGlmmSeRcN6 GyOdntkvd0jMUbXvpaykTedUvGTwXXWvfA6CvwV71.2OtG2GzomWk7ddl9bzrWaAaI6uRfMdf6XO Q08CycRpaG.aD1eFGq73yC2OHOaYM8MHHxFfK1J8pbC93_YmWHutOPflKGbZ1MV7D6A5bCfb17d3 JE9Lzjnc5Ckf4oPCwTB6lm3h3Jc6pKTcqOJNYi.wffoqXiFz__MO147HouVsDhQdoaQylRpRNvoI Zb4Biky1mysIhU.aPePyu36231ENFB4RTq1S379RlcQH2nGI6wZYxjm0VkpM8iekZDbPA8Cs25Gf DZk9_ZyNpTWEy.vUEH7ftZ0V5E7GLaoQz7CmAZvJ6hRwYm8kaQi5UeQ_3QrmKtW0XDIhsXnc1M4U fm.iQ88E3azgEIeHOJFMok5M1Qzut6hDSQfuGHqKyEhqYuYWN134at6_vQFe5JkSFxUJzCK2677I IWVdA2.bPc7iJ2MXH1sigmGJywaMEFn3KkQna7Wr_5JedLgsnWuC1f5wA7ovcojiUQ7gxI6sZhiq FH7S4ZT1yYJ0.HF2xXaV4z103lc7WobsxqOq.Bmbu3CZwLv69GzGACKQhMCD3LYG4gDKNyCiwLrO bfPDANdJplXruZRrJQ5vr8MsAFOQh_Q8D1Q2Hnw9KutsHztGBaxJMb0OsqhqkcbynMT7lwq8Y7rb zALEY4I_olc3qlZyFfX_6VTOeF_AsUEPYx3cF4ucFueuxKvRPS84WYYdpBypoMVKwzc5feY5NnCP Asj9qyypKSdyzHzKNp8wwhbZQpI.01sqrUA9TIT3cQoh.0OU_I9Phk7vBHEJ7MQy_.2jMISf4g_i s6zwdzevCI4GzQQP0R7.QO6v.bn6MZmO0SZ_Q Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Sun, 22 Dec 2019 00:40:53 +0000 Received: by smtp429.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 19e79ec2fb5a11616124f085f6a511b2; Sun, 22 Dec 2019 00:40:51 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: For devel/freebsd-gcc9@powerpc64 and devel/binutils@powerpc64 use: internal compiler error: in rs6000_pltseq_template, at config/rs6000/rs6000.c:21873 Message-Id: <10761656-0BAF-41ED-B3B7-8F1DB9DF89DA@yahoo.com> Date: Sat, 21 Dec 2019 16:40:49 -0800 To: FreeBSD Toolchain , freebsd-ppc@freebsd.org X-Mailer: Apple Mail (2.3608.40.2.2.4) References: <10761656-0BAF-41ED-B3B7-8F1DB9DF89DA.ref@yahoo.com> X-Rspamd-Queue-Id: 47gNvC4Wl1z3Kmc X-Spamd-Bar: / X-Spamd-Result: default: False [-0.58 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.37)[-0.368,0]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_SPAM_MEDIUM(0.29)[0.289,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[32.64.137.98.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (6.74), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Dec 2019 00:40:56 -0000 This was for a amd64->powerpc64 buildworld for a head -r355976 based context. The there is lots of command argument information from the gcc toolchain being used with -v. The .meta report also shows such. =3D=3D=3D> lib/csu/powerpc64 (all) Building = /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po= werpc64/lib/csu/powerpc64/crt1.s Using built-in specs. COLLECT_GCC=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-gcc9 Target: powerpc64-unknown-freebsd13.0 Configured with: = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/configure = --target=3Dpowerpc64-unknown-freebsd13.0 --disable-nls = --enable-languages=3Dc,c++ --enable-gnu-indirect-function = --enable-initfini-array --program-prefix=3Dpowerpc64-unknown-freebsd13.0- = --program-suffix=3D9 --without-headers --with-gmp=3D/usr/local = --with-pkgversion=3D'FreeBSD Ports Collection for powerpc64' = --with-system-zlib --with-gxx-include-dir=3D/usr/include/c++/v1/ = --with-sysroot=3D/ = --with-as=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-as = --with-ld=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-ld = --prefix=3D/usr/local --localstatedir=3D/var --mandir=3D/usr/local/man = --infodir=3D/usr/local/share/info/ --build=3Dx86_64-unknown-freebsd13.0 Thread model: posix gcc version 9.2.0 (FreeBSD Ports Collection for powerpc64)=20 COLLECT_GCC_OPTIONS=3D'-gdwarf-2' '-B' = '/usr/local/powerpc64-unknown-freebsd13.0/bin/' '-O2' '-pipe' '-I' = '/usr/src/lib/csu/powerpc64' '-I' '/usr/src/lib/csu/common' '-I' = '/usr/src/lib/libc/include' '-mlongcall' '-D' 'CRT_IRELOC_RELA' '-g' = '-std=3Dgnu99' '-Wno-format-zero-length' '-Wsystem-headers' '-Wall' = '-Wno-format-y2k' '-Wextra' '-Wstrict-prototypes' '-Wmissing-prototypes' = '-Wpointer-arith' '-Wreturn-type' '-Wcast-qual' '-Wwrite-strings' = '-Wswitch' '-Wshadow' '-Wunused-parameter' '-Wcast-align' = '-Wchar-subscripts' '-Winline' '-Wnested-externs' '-Wredundant-decls' = '-Wold-style-definition' '-Wno-pointer-sign' '-Wno-error=3Daddress' = '-Wno-error=3Darray-bounds' '-Wno-error=3Dattributes' = '-Wno-error=3Dbool-compare' '-Wno-error=3Dcast-align' = '-Wno-error=3Dclobbered' '-Wno-error=3Ddeprecated-declarations' = '-Wno-error=3Denum-compare' '-Wno-error=3Dextra' '-Wno-error=3Dinline' = '-Wno-error=3Dlogical-not-parentheses' '-Wno-error=3Dstrict-aliasing' = '-Wno-error=3Duninitialized' '-Wno-error=3Dunused-but-set-variable' = '-Wno-error=3Dunused-function' '-Wno-error=3Dunused-value' = '-Wno-error=3Dmisleading-indentation' '-Wno-error=3Dnonnull-compare' = '-Wno-error=3Dshift-negative-value' '-Wno-error=3Dtautological-compare' = '-Wno-error=3Dunused-const-variable' '-Wno-error=3Dbool-operation' = '-Wno-error=3Ddeprecated' '-Wno-error=3Dexpansion-to-defined' = '-Wno-error=3Dformat-overflow' '-Wno-error=3Dformat-truncation' = '-Wno-error=3Dimplicit-fallthrough' '-Wno-error=3Dint-in-bool-context' = '-Wno-error=3Dmemset-elt-size' '-Wno-error=3Dnoexcept-type' = '-Wno-error=3Dnonnull' '-Wno-error=3Dpointer-compare' = '-Wno-error=3Dstringop-overflow' = '-Wno-error=3Daggressive-loop-optimizations' = '-Wno-error=3Dcast-function-type' '-Wno-error=3Dcatch-value' = '-Wno-error=3Dmultistatement-macros' '-Wno-error=3Drestrict' = '-Wno-error=3Dsizeof-pointer-memaccess' '-Wno-error=3Dstringop-truncation'= '-v' '-S' '-o' 'crt1.s' /usr/local/libexec/gcc/powerpc64-unknown-freebsd13.0/9.2.0/cc1 -quiet = -v -I /usr/src/lib/csu/powerpc64 -I /usr/src/lib/csu/common -I = /usr/src/lib/libc/include -isysroot = /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po= werpc64/tmp -D CRT_IRELOC_RELA /usr/src/lib/csu/powerpc64/crt1.c -quiet = -dumpbase crt1.c -mlongcall -auxbase-strip crt1.s -gdwarf-2 -g -O2 = -Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -Wextra = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type = -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter = -Wcast-align -Wchar-subscripts -Winline -Wnested-externs = -Wredundant-decls -Wold-style-definition -Wno-pointer-sign = -Wno-error=3Daddress -Wno-error=3Darray-bounds -Wno-error=3Dattributes = -Wno-error=3Dbool-compare -Wno-error=3Dcast-align -Wno-error=3Dclobbered = -Wno-error=3Ddeprecated-declarations -Wno-error=3Denum-compare = -Wno-error=3Dextra -Wno-error=3Dinline = -Wno-error=3Dlogical-not-parentheses -Wno-error=3Dstrict-aliasing = -Wno-error=3Duninitialized -Wno-error=3Dunused-but-set-variable = -Wno-error=3Dunused-function -Wno-error=3Dunused-value = -Wno-error=3Dmisleading-indentation -Wno-error=3Dnonnull-compare = -Wno-error=3Dshift-negative-value -Wno-error=3Dtautological-compare = -Wno-error=3Dunused-const-variable -Wno-error=3Dbool-operation = -Wno-error=3Ddeprecated -Wno-error=3Dexpansion-to-defined = -Wno-error=3Dformat-overflow -Wno-error=3Dformat-truncation = -Wno-error=3Dimplicit-fallthrough -Wno-error=3Dint-in-bool-context = -Wno-error=3Dmemset-elt-size -Wno-error=3Dnoexcept-type = -Wno-error=3Dnonnull -Wno-error=3Dpointer-compare = -Wno-error=3Dstringop-overflow -Wno-error=3Daggressive-loop-optimizations = -Wno-error=3Dcast-function-type -Wno-error=3Dcatch-value = -Wno-error=3Dmultistatement-macros -Wno-error=3Drestrict = -Wno-error=3Dsizeof-pointer-memaccess -Wno-error=3Dstringop-truncation = -std=3Dgnu99 -version -o crt1.s GNU C99 (FreeBSD Ports Collection for powerpc64) version 9.2.0 = (powerpc64-unknown-freebsd13.0) compiled by GNU C version FreeBSD Clang 9.0.0 = (tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, = MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=3D100 --param = ggc-min-heapsize=3D131072 ignoring nonexistent directory = "/usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/include-fixed" ignoring nonexistent directory = "/usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/../../../../powerp= c64-unknown-freebsd13.0/include" #include "..." search starts here: #include <...> search starts here: /usr/src/lib/csu/powerpc64 /usr/src/lib/csu/common /usr/src/lib/libc/include /usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/include = /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po= werpc64/tmp/usr/include End of search list. GNU C99 (FreeBSD Ports Collection for powerpc64) version 9.2.0 = (powerpc64-unknown-freebsd13.0) compiled by GNU C version FreeBSD Clang 9.0.0 = (tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, = MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=3D100 --param = ggc-min-heapsize=3D131072 Compiler executable checksum: c6b29a72d44037ade47bd096976b7211 during RTL pass: final In file included from /usr/src/lib/csu/powerpc64/crt1.c:56: /usr/src/lib/csu/common/ignore_init.c: In function 'finalizer': /usr/src/lib/csu/common/ignore_init.c:100:1: internal compiler error: in = rs6000_pltseq_template, at config/rs6000/rs6000.c:21873 100 | } | ^ no stack trace because unwind library not available Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** Error code 1 Stop. make[5]: stopped in /usr/src/lib/csu/powerpc64 =3D=3D=3D> lib/csu/powerpc64 (all) Building = /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po= werpc64/lib/csu/powerpc64/crt1.s Using built-in specs. COLLECT_GCC=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-gcc9 Target: powerpc64-unknown-freebsd13.0 Configured with: = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/configure = --target=3Dpowerpc64-unknown-freebsd13.0 --disable-nls = --enable-languages=3Dc,c++ --enable-gnu-indirect-function = --enable-initfini-array --program-prefix=3Dpowerpc64-unknown-freebsd13.0- = --program-suffix=3D9 --without-headers --with-gmp=3D/usr/local = --with-pkgversion=3D'FreeBSD Ports Collection for powerpc64' = --with-system-zlib --with-gxx-include-dir=3D/usr/include/c++/v1/ = --with-sysroot=3D/ = --with-as=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-as = --with-ld=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-ld = --prefix=3D/usr/local --localstatedir=3D/var --mandir=3D/usr/local/man = --infodir=3D/usr/local/share/info/ --build=3Dx86_64-unknown-freebsd13.0 Thread model: posix gcc version 9.2.0 (FreeBSD Ports Collection for powerpc64)=20 COLLECT_GCC_OPTIONS=3D'-gdwarf-2' '-B' = '/usr/local/powerpc64-unknown-freebsd13.0/bin/' '-O2' '-pipe' '-I' = '/usr/src/lib/csu/powerpc64' '-I' '/usr/src/lib/csu/common' '-I' = '/usr/src/lib/libc/include' '-mlongcall' '-D' 'CRT_IRELOC_RELA' '-g' = '-std=3Dgnu99' '-Wno-format-zero-length' '-Wsystem-headers' '-Wall' = '-Wno-format-y2k' '-Wextra' '-Wstrict-prototypes' '-Wmissing-prototypes' = '-Wpointer-arith' '-Wreturn-type' '-Wcast-qual' '-Wwrite-strings' = '-Wswitch' '-Wshadow' '-Wunused-parameter' '-Wcast-align' = '-Wchar-subscripts' '-Winline' '-Wnested-externs' '-Wredundant-decls' = '-Wold-style-definition' '-Wno-pointer-sign' '-Wno-error=3Daddress' = '-Wno-error=3Darray-bounds' '-Wno-error=3Dattributes' = '-Wno-error=3Dbool-compare' '-Wno-error=3Dcast-align' = '-Wno-error=3Dclobbered' '-Wno-error=3Ddeprecated-declarations' = '-Wno-error=3Denum-compare' '-Wno-error=3Dextra' '-Wno-error=3Dinline' = '-Wno-error=3Dlogical-not-parentheses' '-Wno-error=3Dstrict-aliasing' = '-Wno-error=3Duninitialized' '-Wno-error=3Dunused-but-set-variable' = '-Wno-error=3Dunused-function' '-Wno-error=3Dunused-value' = '-Wno-error=3Dmisleading-indentation' '-Wno-error=3Dnonnull-compare' = '-Wno-error=3Dshift-negative-value' '-Wno-error=3Dtautological-compare' = '-Wno-error=3Dunused-const-variable' '-Wno-error=3Dbool-operation' = '-Wno-error=3Ddeprecated' '-Wno-error=3Dexpansion-to-defined' = '-Wno-error=3Dformat-overflow' '-Wno-error=3Dformat-truncation' = '-Wno-error=3Dimplicit-fallthrough' '-Wno-error=3Dint-in-bool-context' = '-Wno-error=3Dmemset-elt-size' '-Wno-error=3Dnoexcept-type' = '-Wno-error=3Dnonnull' '-Wno-error=3Dpointer-compare' = '-Wno-error=3Dstringop-overflow' = '-Wno-error=3Daggressive-loop-optimizations' = '-Wno-error=3Dcast-function-type' '-Wno-error=3Dcatch-value' = '-Wno-error=3Dmultistatement-macros' '-Wno-error=3Drestrict' = '-Wno-error=3Dsizeof-pointer-memaccess' '-Wno-error=3Dstringop-truncation'= '-v' '-S' '-o' 'crt1.s' /usr/local/libexec/gcc/powerpc64-unknown-freebsd13.0/9.2.0/cc1 -quiet = -v -I /usr/src/lib/csu/powerpc64 -I /usr/src/lib/csu/common -I = /usr/src/lib/libc/include -isysroot = /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po= werpc64/tmp -D CRT_IRELOC_RELA /usr/src/lib/csu/powerpc64/crt1.c -quiet = -dumpbase crt1.c -mlongcall -auxbase-strip crt1.s -gdwarf-2 -g -O2 = -Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -Wextra = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type = -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter = -Wcast-align -Wchar-subscripts -Winline -Wnested-externs = -Wredundant-decls -Wold-style-definition -Wno-pointer-sign = -Wno-error=3Daddress -Wno-error=3Darray-bounds -Wno-error=3Dattributes = -Wno-error=3Dbool-compare -Wno-error=3Dcast-align -Wno-error=3Dclobbered = -Wno-error=3Ddeprecated-declarations -Wno-error=3Denum-compare = -Wno-error=3Dextra -Wno-error=3Dinline = -Wno-error=3Dlogical-not-parentheses -Wno-error=3Dstrict-aliasing = -Wno-error=3Duninitialized -Wno-error=3Dunused-but-set-variable = -Wno-error=3Dunused-function -Wno-error=3Dunused-value = -Wno-error=3Dmisleading-indentation -Wno-error=3Dnonnull-compare = -Wno-error=3Dshift-negative-value -Wno-error=3Dtautological-compare = -Wno-error=3Dunused-const-variable -Wno-error=3Dbool-operation = -Wno-error=3Ddeprecated -Wno-error=3Dexpansion-to-defined = -Wno-error=3Dformat-overflow -Wno-error=3Dformat-truncation = -Wno-error=3Dimplicit-fallthrough -Wno-error=3Dint-in-bool-context = -Wno-error=3Dmemset-elt-size -Wno-error=3Dnoexcept-type = -Wno-error=3Dnonnull -Wno-error=3Dpointer-compare = -Wno-error=3Dstringop-overflow -Wno-error=3Daggressive-loop-optimizations = -Wno-error=3Dcast-function-type -Wno-error=3Dcatch-value = -Wno-error=3Dmultistatement-macros -Wno-error=3Drestrict = -Wno-error=3Dsizeof-pointer-memaccess -Wno-error=3Dstringop-truncation = -std=3Dgnu99 -version -o crt1.s GNU C99 (FreeBSD Ports Collection for powerpc64) version 9.2.0 = (powerpc64-unknown-freebsd13.0) compiled by GNU C version FreeBSD Clang 9.0.0 = (tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, = MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=3D100 --param = ggc-min-heapsize=3D131072 ignoring nonexistent directory = "/usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/include-fixed" ignoring nonexistent directory = "/usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/../../../../powerp= c64-unknown-freebsd13.0/include" #include "..." search starts here: #include <...> search starts here: /usr/src/lib/csu/powerpc64 /usr/src/lib/csu/common /usr/src/lib/libc/include /usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/include = /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po= werpc64/tmp/usr/include End of search list. GNU C99 (FreeBSD Ports Collection for powerpc64) version 9.2.0 = (powerpc64-unknown-freebsd13.0) compiled by GNU C version FreeBSD Clang 9.0.0 = (tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, = MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=3D100 --param = ggc-min-heapsize=3D131072 Compiler executable checksum: c6b29a72d44037ade47bd096976b7211 during RTL pass: final In file included from /usr/src/lib/csu/powerpc64/crt1.c:56: /usr/src/lib/csu/common/ignore_init.c: In function 'finalizer': /usr/src/lib/csu/common/ignore_init.c:100:1: internal compiler error: in = rs6000_pltseq_template, at config/rs6000/rs6000.c:21873 100 | } | ^ no stack trace because unwind library not available Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** Error code 1 Stop. make[5]: stopped in /usr/src/lib/csu/powerpc64 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Sun Dec 22 02:40:39 2019 Return-Path: Delivered-To: freebsd-toolchain@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 1C6941E5431 for ; Sun, 22 Dec 2019 02:40:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-20.consmr.mail.gq1.yahoo.com (sonic301-20.consmr.mail.gq1.yahoo.com [98.137.64.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47gRYK50Lfz3R7j for ; Sun, 22 Dec 2019 02:40:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: VDS6O5MVM1m3D00mWkuxcVkQO_OQ3jRYScXtDcvxGpMljmj1yGpSmQ67AOzbP5r 2TlU0yx6cCgP7ScnlyzZ763NvwJtDQRdgmmOxCha7zUkx6fPdImUSgZmHdrVj9j2hnJy5q1d9RxD NOAuC5eH7R_yCw5y9TFVq4YhWNEBnC58B.cTuWD9brLUEXfbqRpLdVT4pvm0YK2Iwd42ze2CGLsT JVgXzsizN1sI9mLgA5G_0RCMBNaAMjO8q4U0Oa5Z0TQieUl0LBQW1hyOazUFLZ5c6GDYXtvD1bIv 2XJVe1.rJ.lEQySsgvZVXXYyZNE0c3JcdZohx1LZqUBy6LuU1IPAj9yH_mywBD5c3Cf5tKkVVPTw JYvoWwtlvgcmW4d.HXZcIvg7mawLuew71RB8p6R4m_K6RKGMcuX9qF3XHAG5cxOVipJcnHbvDDeF sxcEoo26THB_l.XVh1e8ssyJuQ7jezy0B4c7e_O2YbRi5AR8YWj0vrtOmKfr20JPOC_TfBHnhqI3 rajCLdP8QqE_SHX7Hq53kz3FIAHBRMgTu04GY_tGbmSdtjPTq.jIdPQjvmgGEv3HE9uq9mciu.9f TC7F6GtsxwAxOX4qEB64nOyf1koEDExg4jlO38sh8AzbaCU6B_NqcyYomblK_HOh7yWwTFgGQ65W iCsOXFN4HTHZaoF1Sy7aqadAdyec7ag5L_Qw9nk7ZU1.g9aPQL6t68H5ef67ZBu6nAwuOnqlxplp Dhn3LDhdL12oekjLcmLV_EkVjeY7trvtEk3ZM6ugQkcmn0vWLjbbiJNEOIwHFLReY3K1_FBV4LUS CvvsAmxl4wBbtNvkuAzOtaBU47lhYywZTAcHz_2zhpWpirmnx8.VWGu_H0vn6dHGUhuLDCueQaFK 8VNHG2jnY5xgRI1ljxqkSyFXCFLatFy2JwPEfAd3diclu0MQ7QSOor79b0nPdzKrk2OB5v2rjtsf Z_r5gzUQUdqrBc9YYtYs6WbJ7w.cxigVJu44nLGLS6hQBTA0R3BvJtctyRfY2M4tnzvjIEr8Sy0. TIOHJm2y4UuWahhGNafQf9rlYn79Z3HJ.EDojs2IKQ8an8Xwq6bxBtQURBJWD_m_97Z_7oDpnIwE TXsfWUjBxj6DbC.pLYoXGAbGxiqNi4GfT1gIAy573EtyhSnZQuNGd4tclBFjs0Xls9Jsbwh62uTC BQ15uh1gnOED8foVoYsiioYZbeSbt2Sx6d2XJUwZ_0E6.uO5MuI492nCdGkYYJiSZDIF3.xUITU8 rT33CRszHNIMCZfRqxQfrUw7wyylF.Fb2isodSS9rdc7S.d4lb2AUU6..c9xoPZhOctH6IU0sk0_ caSDNCg6jpfqrz9cbEyX4fy72rSxj4b__o3pu_SxJJQYFMnK1Z44gzyueYYnhYu4iriqed.8M84t uRxPqdWiCJAmrquaV0bF95DJARLXa Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Sun, 22 Dec 2019 02:40:34 +0000 Received: by smtp408.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID b5419247de8e50b97e7f9ae82cd717d0; Sun, 22 Dec 2019 02:40:31 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: For devel/freebsd-gcc9@powerpc64 and devel/binutils@powerpc64 use: internal compiler error: in rs6000_pltseq_template, at config/rs6000/rs6000.c:21873 Date: Sat, 21 Dec 2019 18:40:29 -0800 References: <10761656-0BAF-41ED-B3B7-8F1DB9DF89DA@yahoo.com> To: FreeBSD Toolchain , freebsd-ppc@freebsd.org In-Reply-To: <10761656-0BAF-41ED-B3B7-8F1DB9DF89DA@yahoo.com> Message-Id: <0381B242-9E32-4FA4-98BD-A5EF92BFE9C4@yahoo.com> X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 47gRYK50Lfz3R7j X-Spamd-Bar: - X-Spamd-Result: default: False [-1.13 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.66)[-0.660,0]; NEURAL_SPAM_MEDIUM(0.03)[0.028,0]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[146.64.137.98.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (4.40), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Dec 2019 02:40:39 -0000 On 2019-Dec-21, at 16:40, Mark Millard wrote: > This was for a amd64->powerpc64 buildworld for a head > -r355976 based context. >=20 > The there is lots of command argument information from > the gcc toolchain being used with -v. The .meta report > also shows such. >=20 > =3D=3D=3D> lib/csu/powerpc64 (all) > Building = /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po= werpc64/lib/csu/powerpc64/crt1.s > Using built-in specs. > COLLECT_GCC=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-gcc9 > Target: powerpc64-unknown-freebsd13.0 > Configured with: = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/configure = --target=3Dpowerpc64-unknown-freebsd13.0 --disable-nls = --enable-languages=3Dc,c++ --enable-gnu-indirect-function = --enable-initfini-array --program-prefix=3Dpowerpc64-unknown-freebsd13.0- = --program-suffix=3D9 --without-headers --with-gmp=3D/usr/local = --with-pkgversion=3D'FreeBSD Ports Collection for powerpc64' = --with-system-zlib --with-gxx-include-dir=3D/usr/include/c++/v1/ = --with-sysroot=3D/ = --with-as=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-as = --with-ld=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-ld = --prefix=3D/usr/local --localstatedir=3D/var --mandir=3D/usr/local/man = --infodir=3D/usr/local/share/info/ --build=3Dx86_64-unknown-freebsd13.0 > Thread model: posix > gcc version 9.2.0 (FreeBSD Ports Collection for powerpc64)=20 > COLLECT_GCC_OPTIONS=3D'-gdwarf-2' '-B' = '/usr/local/powerpc64-unknown-freebsd13.0/bin/' '-O2' '-pipe' '-I' = '/usr/src/lib/csu/powerpc64' '-I' '/usr/src/lib/csu/common' '-I' = '/usr/src/lib/libc/include' '-mlongcall' '-D' 'CRT_IRELOC_RELA' '-g' = '-std=3Dgnu99' '-Wno-format-zero-length' '-Wsystem-headers' '-Wall' = '-Wno-format-y2k' '-Wextra' '-Wstrict-prototypes' '-Wmissing-prototypes' = '-Wpointer-arith' '-Wreturn-type' '-Wcast-qual' '-Wwrite-strings' = '-Wswitch' '-Wshadow' '-Wunused-parameter' '-Wcast-align' = '-Wchar-subscripts' '-Winline' '-Wnested-externs' '-Wredundant-decls' = '-Wold-style-definition' '-Wno-pointer-sign' '-Wno-error=3Daddress' = '-Wno-error=3Darray-bounds' '-Wno-error=3Dattributes' = '-Wno-error=3Dbool-compare' '-Wno-error=3Dcast-align' = '-Wno-error=3Dclobbered' '-Wno-error=3Ddeprecated-declarations' = '-Wno-error=3Denum-compare' '-Wno-error=3Dextra' '-Wno-error=3Dinline' = '-Wno-error=3Dlogical-not-parentheses' '-Wno-error=3Dstrict-aliasing' = '-Wno-error=3Duninitialized' '-Wno-error=3Dunused-but-set-variable' = '-Wno-error=3Dunused-function' '-Wno-error=3Dunused-value' = '-Wno-error=3Dmisleading-indentation' '-Wno-error=3Dnonnull-compare' = '-Wno-error=3Dshift-negative-value' '-Wno-error=3Dtautological-compare' = '-Wno-error=3Dunused-const-variable' '-Wno-error=3Dbool-operation' = '-Wno-error=3Ddeprecated' '-Wno-error=3Dexpansion-to-defined' = '-Wno-error=3Dformat-overflow' '-Wno-error=3Dformat-truncation' = '-Wno-error=3Dimplicit-fallthrough' '-Wno-error=3Dint-in-bool-context' = '-Wno-error=3Dmemset-elt-size' '-Wno-error=3Dnoexcept-type' = '-Wno-error=3Dnonnull' '-Wno-error=3Dpointer-compare' = '-Wno-error=3Dstringop-overflow' = '-Wno-error=3Daggressive-loop-optimizations' = '-Wno-error=3Dcast-function-type' '-Wno-error=3Dcatch-value' = '-Wno-error=3Dmultistatement-macros' '-Wno-error=3Drestrict' = '-Wno-error=3Dsizeof-pointer-memaccess' '-Wno-error=3Dstringop-truncation'= '-v' '-S' '-o' 'crt1.s' > /usr/local/libexec/gcc/powerpc64-unknown-freebsd13.0/9.2.0/cc1 -quiet = -v -I /usr/src/lib/csu/powerpc64 -I /usr/src/lib/csu/common -I = /usr/src/lib/libc/include -isysroot = /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po= werpc64/tmp -D CRT_IRELOC_RELA /usr/src/lib/csu/powerpc64/crt1.c -quiet = -dumpbase crt1.c -mlongcall -auxbase-strip crt1.s -gdwarf-2 -g -O2 = -Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -Wextra = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type = -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter = -Wcast-align -Wchar-subscripts -Winline -Wnested-externs = -Wredundant-decls -Wold-style-definition -Wno-pointer-sign = -Wno-error=3Daddress -Wno-error=3Darray-bounds -Wno-error=3Dattributes = -Wno-error=3Dbool-compare -Wno-error=3Dcast-align -Wno-error=3Dclobbered = -Wno-error=3Ddeprecated-declarations -Wno-error=3Denum-compare = -Wno-error=3Dextra -Wno-error=3Dinline = -Wno-error=3Dlogical-not-parentheses -Wno-error=3Dstrict-aliasing = -Wno-error=3Duninitialized -Wno-error=3Dunused-but-set-variable = -Wno-error=3Dunused-function -Wno-error=3Dunused-value = -Wno-error=3Dmisleading-indentation -Wno-error=3Dnonnull-compare = -Wno-error=3Dshift-negative-value -Wno-error=3Dtautological-compare = -Wno-error=3Dunused-const-variable -Wno-error=3Dbool-operation = -Wno-error=3Ddeprecated -Wno-error=3Dexpansion-to-defined = -Wno-error=3Dformat-overflow -Wno-error=3Dformat-truncation = -Wno-error=3Dimplicit-fallthrough -Wno-error=3Dint-in-bool-context = -Wno-error=3Dmemset-elt-size -Wno-error=3Dnoexcept-type = -Wno-error=3Dnonnull -Wno-error=3Dpointer-compare = -Wno-error=3Dstringop-overflow -Wno-error=3Daggressive-loop-optimizations = -Wno-error=3Dcast-function-type -Wno-error=3Dcatch-value = -Wno-error=3Dmultistatement-macros -Wno-error=3Drestrict = -Wno-error=3Dsizeof-pointer-memaccess -Wno-error=3Dstringop-truncation = -std=3Dgnu99 -version -o crt1.s > GNU C99 (FreeBSD Ports Collection for powerpc64) version 9.2.0 = (powerpc64-unknown-freebsd13.0) > compiled by GNU C version FreeBSD Clang 9.0.0 = (tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, = MPC version 1.1.0, isl version none > GGC heuristics: --param ggc-min-expand=3D100 --param = ggc-min-heapsize=3D131072 > ignoring nonexistent directory = "/usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/include-fixed" > ignoring nonexistent directory = "/usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/../../../../powerp= c64-unknown-freebsd13.0/include" > #include "..." search starts here: > #include <...> search starts here: > /usr/src/lib/csu/powerpc64 > /usr/src/lib/csu/common > /usr/src/lib/libc/include > /usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/include > = /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po= werpc64/tmp/usr/include > End of search list. > GNU C99 (FreeBSD Ports Collection for powerpc64) version 9.2.0 = (powerpc64-unknown-freebsd13.0) > compiled by GNU C version FreeBSD Clang 9.0.0 = (tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, = MPC version 1.1.0, isl version none > GGC heuristics: --param ggc-min-expand=3D100 --param = ggc-min-heapsize=3D131072 > Compiler executable checksum: c6b29a72d44037ade47bd096976b7211 > during RTL pass: final > In file included from /usr/src/lib/csu/powerpc64/crt1.c:56: > /usr/src/lib/csu/common/ignore_init.c: In function 'finalizer': > /usr/src/lib/csu/common/ignore_init.c:100:1: internal compiler error: = in rs6000_pltseq_template, at config/rs6000/rs6000.c:21873 > 100 | } > | ^ > no stack trace because unwind library not available > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > *** Error code 1 >=20 > Stop. > make[5]: stopped in /usr/src/lib/csu/powerpc64 > =3D=3D=3D> lib/csu/powerpc64 (all) > Building = /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po= werpc64/lib/csu/powerpc64/crt1.s > Using built-in specs. > COLLECT_GCC=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-gcc9 > Target: powerpc64-unknown-freebsd13.0 > Configured with: = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/configure = --target=3Dpowerpc64-unknown-freebsd13.0 --disable-nls = --enable-languages=3Dc,c++ --enable-gnu-indirect-function = --enable-initfini-array --program-prefix=3Dpowerpc64-unknown-freebsd13.0- = --program-suffix=3D9 --without-headers --with-gmp=3D/usr/local = --with-pkgversion=3D'FreeBSD Ports Collection for powerpc64' = --with-system-zlib --with-gxx-include-dir=3D/usr/include/c++/v1/ = --with-sysroot=3D/ = --with-as=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-as = --with-ld=3D/usr/local/bin/powerpc64-unknown-freebsd13.0-ld = --prefix=3D/usr/local --localstatedir=3D/var --mandir=3D/usr/local/man = --infodir=3D/usr/local/share/info/ --build=3Dx86_64-unknown-freebsd13.0 > Thread model: posix > gcc version 9.2.0 (FreeBSD Ports Collection for powerpc64)=20 > COLLECT_GCC_OPTIONS=3D'-gdwarf-2' '-B' = '/usr/local/powerpc64-unknown-freebsd13.0/bin/' '-O2' '-pipe' '-I' = '/usr/src/lib/csu/powerpc64' '-I' '/usr/src/lib/csu/common' '-I' = '/usr/src/lib/libc/include' '-mlongcall' '-D' 'CRT_IRELOC_RELA' '-g' = '-std=3Dgnu99' '-Wno-format-zero-length' '-Wsystem-headers' '-Wall' = '-Wno-format-y2k' '-Wextra' '-Wstrict-prototypes' '-Wmissing-prototypes' = '-Wpointer-arith' '-Wreturn-type' '-Wcast-qual' '-Wwrite-strings' = '-Wswitch' '-Wshadow' '-Wunused-parameter' '-Wcast-align' = '-Wchar-subscripts' '-Winline' '-Wnested-externs' '-Wredundant-decls' = '-Wold-style-definition' '-Wno-pointer-sign' '-Wno-error=3Daddress' = '-Wno-error=3Darray-bounds' '-Wno-error=3Dattributes' = '-Wno-error=3Dbool-compare' '-Wno-error=3Dcast-align' = '-Wno-error=3Dclobbered' '-Wno-error=3Ddeprecated-declarations' = '-Wno-error=3Denum-compare' '-Wno-error=3Dextra' '-Wno-error=3Dinline' = '-Wno-error=3Dlogical-not-parentheses' '-Wno-error=3Dstrict-aliasing' = '-Wno-error=3Duninitialized' '-Wno-error=3Dunused-but-set-variable' = '-Wno-error=3Dunused-function' '-Wno-error=3Dunused-value' = '-Wno-error=3Dmisleading-indentation' '-Wno-error=3Dnonnull-compare' = '-Wno-error=3Dshift-negative-value' '-Wno-error=3Dtautological-compare' = '-Wno-error=3Dunused-const-variable' '-Wno-error=3Dbool-operation' = '-Wno-error=3Ddeprecated' '-Wno-error=3Dexpansion-to-defined' = '-Wno-error=3Dformat-overflow' '-Wno-error=3Dformat-truncation' = '-Wno-error=3Dimplicit-fallthrough' '-Wno-error=3Dint-in-bool-context' = '-Wno-error=3Dmemset-elt-size' '-Wno-error=3Dnoexcept-type' = '-Wno-error=3Dnonnull' '-Wno-error=3Dpointer-compare' = '-Wno-error=3Dstringop-overflow' = '-Wno-error=3Daggressive-loop-optimizations' = '-Wno-error=3Dcast-function-type' '-Wno-error=3Dcatch-value' = '-Wno-error=3Dmultistatement-macros' '-Wno-error=3Drestrict' = '-Wno-error=3Dsizeof-pointer-memaccess' '-Wno-error=3Dstringop-truncation'= '-v' '-S' '-o' 'crt1.s' > /usr/local/libexec/gcc/powerpc64-unknown-freebsd13.0/9.2.0/cc1 -quiet = -v -I /usr/src/lib/csu/powerpc64 -I /usr/src/lib/csu/common -I = /usr/src/lib/libc/include -isysroot = /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po= werpc64/tmp -D CRT_IRELOC_RELA /usr/src/lib/csu/powerpc64/crt1.c -quiet = -dumpbase crt1.c -mlongcall -auxbase-strip crt1.s -gdwarf-2 -g -O2 = -Wno-format-zero-length -Wsystem-headers -Wall -Wno-format-y2k -Wextra = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type = -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter = -Wcast-align -Wchar-subscripts -Winline -Wnested-externs = -Wredundant-decls -Wold-style-definition -Wno-pointer-sign = -Wno-error=3Daddress -Wno-error=3Darray-bounds -Wno-error=3Dattributes = -Wno-error=3Dbool-compare -Wno-error=3Dcast-align -Wno-error=3Dclobbered = -Wno-error=3Ddeprecated-declarations -Wno-error=3Denum-compare = -Wno-error=3Dextra -Wno-error=3Dinline = -Wno-error=3Dlogical-not-parentheses -Wno-error=3Dstrict-aliasing = -Wno-error=3Duninitialized -Wno-error=3Dunused-but-set-variable = -Wno-error=3Dunused-function -Wno-error=3Dunused-value = -Wno-error=3Dmisleading-indentation -Wno-error=3Dnonnull-compare = -Wno-error=3Dshift-negative-value -Wno-error=3Dtautological-compare = -Wno-error=3Dunused-const-variable -Wno-error=3Dbool-operation = -Wno-error=3Ddeprecated -Wno-error=3Dexpansion-to-defined = -Wno-error=3Dformat-overflow -Wno-error=3Dformat-truncation = -Wno-error=3Dimplicit-fallthrough -Wno-error=3Dint-in-bool-context = -Wno-error=3Dmemset-elt-size -Wno-error=3Dnoexcept-type = -Wno-error=3Dnonnull -Wno-error=3Dpointer-compare = -Wno-error=3Dstringop-overflow -Wno-error=3Daggressive-loop-optimizations = -Wno-error=3Dcast-function-type -Wno-error=3Dcatch-value = -Wno-error=3Dmultistatement-macros -Wno-error=3Drestrict = -Wno-error=3Dsizeof-pointer-memaccess -Wno-error=3Dstringop-truncation = -std=3Dgnu99 -version -o crt1.s > GNU C99 (FreeBSD Ports Collection for powerpc64) version 9.2.0 = (powerpc64-unknown-freebsd13.0) > compiled by GNU C version FreeBSD Clang 9.0.0 = (tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, = MPC version 1.1.0, isl version none > GGC heuristics: --param ggc-min-expand=3D100 --param = ggc-min-heapsize=3D131072 > ignoring nonexistent directory = "/usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/include-fixed" > ignoring nonexistent directory = "/usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/../../../../powerp= c64-unknown-freebsd13.0/include" > #include "..." search starts here: > #include <...> search starts here: > /usr/src/lib/csu/powerpc64 > /usr/src/lib/csu/common > /usr/src/lib/libc/include > /usr/local/lib/gcc/powerpc64-unknown-freebsd13.0/9.2.0/include > = /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/powerpc.po= werpc64/tmp/usr/include > End of search list. > GNU C99 (FreeBSD Ports Collection for powerpc64) version 9.2.0 = (powerpc64-unknown-freebsd13.0) > compiled by GNU C version FreeBSD Clang 9.0.0 = (tags/RELEASE_900/final 372316), GMP version 6.1.2, MPFR version 4.0.2, = MPC version 1.1.0, isl version none > GGC heuristics: --param ggc-min-expand=3D100 --param = ggc-min-heapsize=3D131072 > Compiler executable checksum: c6b29a72d44037ade47bd096976b7211 > during RTL pass: final > In file included from /usr/src/lib/csu/powerpc64/crt1.c:56: > /usr/src/lib/csu/common/ignore_init.c: In function 'finalizer': > /usr/src/lib/csu/common/ignore_init.c:100:1: internal compiler error: = in rs6000_pltseq_template, at config/rs6000/rs6000.c:21873 > 100 | } > | ^ > no stack trace because unwind library not available > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > *** Error code 1 >=20 > Stop. > make[5]: stopped in /usr/src/lib/csu/powerpc64 >=20 I got basic backtrace information from running cc1 in gdb, breakpointing at internal_error: (gdb) bt #0 internal_error (gmsgid=3D0x369c77 "in %s, at %s:%d") at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/diagnos= tic.c:1536 #1 0x0000000001601f87 in fancy_abort (file=3D, = line=3D21873, function=3D0x399fa2 "rs6000_pltseq_template") at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/diagnos= tic.c:1607 #2 0x00000000015b2450 in rs6000_pltseq_template (operands=3D, which=3D1) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/config/= rs6000/rs6000.c:21873 #3 0x0000000000d5f719 in get_insn_template (code=3D, = insn=3D0x8028bfb00) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/final.c= :2071 #4 final_scan_insn_1 (insn=3D, file=3D0x801aebf70, = optimize_p=3D, nopeepholes=3D, = seen=3D0x7fffffffcd3c) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/final.c= :3040 #5 0x0000000000d5df1b in final_scan_insn (insn=3D, = file=3D0x801aebf70, optimize_p=3D2, nopeepholes=3D0, = seen=3D0x7fffffffcd3c) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/final.c= :3153 #6 final_1 (first=3D0x8028b6968, file=3D0x801aebf70, seen=3D3, = optimize_p=3D2) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/final.c= :2021 #7 0x0000000000d61c40 in rest_of_handle_final () at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/final.c= :4659 #8 (anonymous namespace)::pass_final::execute (this=3D) = at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/final.c= :4737 #9 0x0000000001102921 in execute_one_pass (pass=3D0x80262d860) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/passes.= c:2488 #10 0x00000000011038a1 in execute_pass_list_1 (pass=3D0x80262d860) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/passes.= c:2574 #11 0x00000000011038b3 in execute_pass_list_1 (pass=3D0x80262d3e0) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/passes.= c:2575 #12 0x00000000011038b3 in execute_pass_list_1 (pass=3D0x80262b820) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/passes.= c:2575 #13 0x00000000010f532a in execute_pass_list (fn=3D0x802773790, = pass=3D0x399fa2) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/passes.= c:2585 #14 0x0000000000c36564 in cgraph_node::expand (this=3D0x80287d5a0) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/cgraphu= nit.c:2198 #15 0x0000000000c3906c in expand_all_functions () at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/cgraphu= nit.c:2336 #16 symbol_table::compile (this=3D0x802406000) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/cgraphu= nit.c:2687 #17 0x0000000000c3960e in symbol_table::finalize_compilation_unit = (this=3D0x802406000) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/cgraphu= nit.c:2865 #18 0x00000000012951e1 in compile_file () at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/toplev.= c:481 #19 0x0000000001294c3d in do_compile () at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/toplev.= c:2205 #20 toplev::main (this=3D, argc=3D, = argv=3D) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/toplev.= c:2340 #21 0x00000000015ee27d in main (argc=3D3776418, argv=3D0x403dc4) at = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc64/gcc-9.2.0/gcc/main.c:= 39 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Sun Dec 22 21:00:32 2019 Return-Path: Delivered-To: freebsd-toolchain@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 AF59C1DCFCB for ; Sun, 22 Dec 2019 21:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47gvyS4Csjz3MZ1 for ; Sun, 22 Dec 2019 21:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 90AF31DCFCA; Sun, 22 Dec 2019 21:00:32 +0000 (UTC) Delivered-To: toolchain@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 907301DCFC9 for ; Sun, 22 Dec 2019 21:00:32 +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 47gvyS3PDJz3MYx for ; Sun, 22 Dec 2019 21:00:32 +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 6FFAE551E for ; Sun, 22 Dec 2019 21:00:32 +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 xBML0WtU063325 for ; Sun, 22 Dec 2019 21:00:32 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBML0W2T063324 for toolchain@FreeBSD.org; Sun, 22 Dec 2019 21:00:32 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201912222100.xBML0W2T063324@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: toolchain@FreeBSD.org Subject: Problem reports for toolchain@FreeBSD.org that need special attention Date: Sun, 22 Dec 2019 21:00:32 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Dec 2019 21:00:32 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 234232 | clang Assertion failed when building the port dev 1 problems total for which you should take action. From owner-freebsd-toolchain@freebsd.org Mon Dec 23 16:15:14 2019 Return-Path: Delivered-To: freebsd-toolchain@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 504B01CB298 for ; Mon, 23 Dec 2019 16:15:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47hPZp1Y7Zz3Kh9 for ; Mon, 23 Dec 2019 16:15:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 334CC1CB297; Mon, 23 Dec 2019 16:15:14 +0000 (UTC) Delivered-To: toolchain@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 330D81CB296 for ; Mon, 23 Dec 2019 16:15:14 +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 47hPZp0dQ3z3Kh8 for ; Mon, 23 Dec 2019 16:15:14 +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 110AD1A4EE for ; Mon, 23 Dec 2019 16:15:14 +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 xBNGFDBn056426 for ; Mon, 23 Dec 2019 16:15:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBNGFDU0056425 for toolchain@FreeBSD.org; Mon, 23 Dec 2019 16:15:13 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: toolchain@FreeBSD.org Subject: [Bug 220103] devel/glib20: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" (WITH_LLD_IS_LD) Date: Mon, 23 Dec 2019 16:15:08 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: triaxx@NetBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Dec 2019 16:15:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220103 Fr=C3=A9d=C3=A9ric Fauberteau changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |triaxx@NetBSD.org --- Comment #46 from Fr=C3=A9d=C3=A9ric Fauberteau --- Hi, I am not sure if the bug is really related but I think I have the same symptoms. I am using the pkgsrc framework (from NetBSD) to build glib-2.62.= 3 on FreeBSD 12.0-RELEASE-p12. I configured pkgsrc to use the basesystem Clang compiler: $ /usr/bin/clang --version FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin The meson configuration process completes without error. But the build proc= ess produces the followings: [93/1124] Linking target glib/libglib-2.0.so.0.6200.3. FAILED: glib/libglib-2.0.so.0.6200.3=20 clang -o glib/libglib-2.0.so.0.6200.3 'glib/4430778@@glib-2.0@sha/deprecated_gallocator.c.o' [...] 'glib/libcharset/6e4c96c@@charset@sta/localcharset.c.o' -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.8 -L/usr/pkg/lib -L/usr/lib -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libglib-2.0.so.0 -O2 -liconv -Wl,-R/usr/pkg/lib -Wl,-R/usr/lib -Wl,-z,nodelete -Wl,-Bsymbolic-functions -Wl,-R/usr/pkg/lib /usr/pkg/lib/libpcre.so -pthread -lintl -Wl,--end-group /usr/bin/ld: error: undefined symbol: environ >>> referenced by genviron.c >>> glib/4430778@@glib-2.0@sha/genviron.c.o:(g_listenv) /usr/bin/ld: error: undefined symbol: environ >>> referenced by genviron.c >>> glib/4430778@@glib-2.0@sha/genviron.c.o:(g_listenv) /usr/bin/ld: error: undefined symbol: environ >>> referenced by genviron.c >>> glib/4430778@@glib-2.0@sha/genviron.c.o:(g_get_environ) /usr/bin/ld: error: undefined symbol: environ >>> referenced by gspawn.c >>> glib/4430778@@glib-2.0@sha/gspawn.c.o:(fork_exec_with_fds) clang: error: linker command failed with exit code 1 (use -v to see invocat= ion) ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/devel/glib2 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/devel/glib2 I tried to build it using the Clang version provided by pkgsrc: $ /usr/pkg/bin/clang --version clang version 9.0.0 (tags/RELEASE_900/final) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/pkg/bin Since the problem is a linking error, I added LDFLAGS.FreeBSD+=3D -fuse-ld=3D/usr/pkg/bin/ld.lld to use the LLD version provided by pkgsrc: $ /usr/pkg/bin/ld.lld --version LLD 9.0.0 (compatible with GNU linkers) But I get similar errors: ld.lld: error: undefined symbol: environ >>> referenced by genviron.c >>> glib/4430778@@glib-2.0@sha/genviron.c.o:(g_listenv) >>> referenced by genviron.c >>> glib/4430778@@glib-2.0@sha/genviron.c.o:(g_listenv) >>> referenced by genviron.c >>> glib/4430778@@glib-2.0@sha/genviron.c.o:(g_get_environ) >>> referenced by gspawn.c >>> glib/4430778@@glib-2.0@sha/gspawn.c.o:(fork_exec_with_fds) clang-9: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/devel/glib2 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/devel/glib2 By inspecting the object file, I got the following output: $ readelf -s work/glib-2.62.3/output/glib/4430778\@\@glib-2.0\@sha/genviron= .c.o | grep environ 1: 0000000000000000 0 FILE LOCAL DEFAULT ABS genviron.c 7: 0000000000000005 17 OBJECT LOCAL DEFAULT 4 .L__func__.g_environ_getenv 8: 0000000000000027 17 OBJECT LOCAL DEFAULT 4 .L__func__.g_environ_setenv 9: 000000000000006b 19 OBJECT LOCAL DEFAULT 4 .L__func__.g_environ_unsetenv 14: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND environ 15: 0000000000000000 208 FUNC GLOBAL DEFAULT 2 g_environ_getenv 16: 00000000000000d0 424 FUNC GLOBAL DEFAULT 2 g_environ_setenv 17: 0000000000000280 264 FUNC GLOBAL DEFAULT 2 g_environ_unsete= nv 19: 0000000000000590 20 FUNC GLOBAL DEFAULT 2 g_get_environ --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Mon Dec 23 23:52:51 2019 Return-Path: Delivered-To: freebsd-toolchain@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 0F9271D3013 for ; Mon, 23 Dec 2019 23:52:51 +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 47hbkp6l4Lz4C4x for ; Mon, 23 Dec 2019 23:52:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E762E1D3012; Mon, 23 Dec 2019 23:52:50 +0000 (UTC) Delivered-To: toolchain@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 E725B1D3011 for ; Mon, 23 Dec 2019 23:52:50 +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 47hbkp5vXGz4C4w for ; Mon, 23 Dec 2019 23:52:50 +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 C61931F82C for ; Mon, 23 Dec 2019 23:52:50 +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 xBNNqoOg081012 for ; Mon, 23 Dec 2019 23:52:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBNNqoxl081011 for toolchain@FreeBSD.org; Mon, 23 Dec 2019 23:52:50 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: toolchain@FreeBSD.org Subject: [Bug 220103] devel/glib20: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" (WITH_LLD_IS_LD) Date: Mon, 23 Dec 2019 23:52:49 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution Message-ID: In-Reply-To: References: 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Dec 2019 23:52:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220103 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|Unable to Reproduce |FIXED --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Tue Dec 24 08:41:14 2019 Return-Path: Delivered-To: freebsd-toolchain@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 AC4E31E266F for ; Tue, 24 Dec 2019 08:41:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47hqSV4CCtz4cp1 for ; Tue, 24 Dec 2019 08:41:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9045D1E266E; Tue, 24 Dec 2019 08:41:14 +0000 (UTC) Delivered-To: toolchain@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 9008C1E266D for ; Tue, 24 Dec 2019 08:41:14 +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 47hqSV3Kqpz4cny for ; Tue, 24 Dec 2019 08:41:14 +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 6DDA725853 for ; Tue, 24 Dec 2019 08:41:14 +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 xBO8fETk030086 for ; Tue, 24 Dec 2019 08:41:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBO8fEwO030085 for toolchain@FreeBSD.org; Tue, 24 Dec 2019 08:41:14 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: toolchain@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: Tue, 24 Dec 2019 08:41:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: canardo909@gmx.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Dec 2019 08:41:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242593 --- Comment #5 from canardo --- (In reply to Piotr Kubaj from comment #4) Strange thing happens. After cleaning the build cache (for the first time after migration to qemu 4.2.0), GCC8 build was successful. My guest is Qemu 2.11 is too old, and had rotten the build cache. So this ticket can, I guess, be closed.=20 And we should keep in mind to not use an old version of Qemu to avoid probl= ems. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Tue Dec 24 11:20:52 2019 Return-Path: Delivered-To: freebsd-toolchain@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 D8C211E5AE5 for ; Tue, 24 Dec 2019 11:20:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47hv0h5TkQz3GFd for ; Tue, 24 Dec 2019 11:20:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BA2591E5AE4; Tue, 24 Dec 2019 11:20:52 +0000 (UTC) Delivered-To: toolchain@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 B9F0E1E5AE2 for ; Tue, 24 Dec 2019 11:20:52 +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 47hv0h4c43z3GFc for ; Tue, 24 Dec 2019 11:20:52 +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 999E5274DC for ; Tue, 24 Dec 2019 11:20:52 +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 xBOBKqkc023629 for ; Tue, 24 Dec 2019 11:20:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBOBKq1u023604 for toolchain@FreeBSD.org; Tue, 24 Dec 2019 11:20:52 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: toolchain@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: Tue, 24 Dec 2019 11:20:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gerald@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Dec 2019 11:20:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242593 Gerald Pfeifer changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|Open |Closed --- Comment #6 from Gerald Pfeifer --- Thanks for following up. (In general I don't recommend reporting issues happening with FreeBSD running on qemu running on a different operating system, that's just=20 quite a lot of variables/indirections.) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Dec 25 01:56:18 2019 Return-Path: Delivered-To: freebsd-toolchain@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 0471B1CEA19 for ; Wed, 25 Dec 2019 01:56:18 +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 47jGQn6Nsfz4Pg7 for ; Wed, 25 Dec 2019 01:56:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D99801CEA18; Wed, 25 Dec 2019 01:56:17 +0000 (UTC) Delivered-To: toolchain@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 D842D1CEA17 for ; Wed, 25 Dec 2019 01:56:17 +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 47jGQn5DM8z4Pg5 for ; Wed, 25 Dec 2019 01:56:17 +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 AA9E79441 for ; Wed, 25 Dec 2019 01:56:17 +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 xBP1uHo7001774 for ; Wed, 25 Dec 2019 01:56:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBP1uHF0001773 for toolchain@FreeBSD.org; Wed, 25 Dec 2019 01:56:17 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: toolchain@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: Wed, 25 Dec 2019 01:56:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gerald@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Dec 2019 01:56:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242593 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|toolchain@FreeBSD.org |gerald@FreeBSD.org --- Comment #7 from Kubilay Kocak --- ^Triage: Assign to committer that resolved --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Thu Dec 26 23:22:05 2019 Return-Path: Delivered-To: freebsd-toolchain@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 C02091DB9C5 for ; Thu, 26 Dec 2019 23:22:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47kQvw46p9z4Rbr for ; Thu, 26 Dec 2019 23:22:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: A81GsmgVM1mSTBO5UddhX6B7G7RnTx2aw9KB9sUQwFGk1RZP49UGelifdm_F5GD f0sO6IiBC3DF49tU03OEqX8eL.LcW0US8.N5Rn.WyPOn7oKbhfBqrYnWxJ8B7qAyT_h3IZaqinLY 3LgUMLG_6xNnHFmrGtUk.oivZJYZZWG71c_fZ.ittYj4KvOiS8I_YWpQV4eeUewT5H58nwmKESPD s5hWG7LVayD6MEn2lJO7rjccyK5KUCgRn6higU4UZeDDH6F9YFn7MfxBXKnpzEN6scXW67wA25_a g5WB4fRpOKopDM_9v312z5kxA_JCtc.FoQ97yq3psdtXGl77Y00HO9dMC3hin0fOehuDU6NcLI8g pGzGhr_.fqC_2a3ay3aUJXHbKKLbT3RRtc6aa9iQwZqwNxYJhJS_BsHSwjUJ0G7IN8Oxk.2Wn_0. psZRSRUF18dlW13G5szGRNUg3Jnpo2hWfKe4Rh1AYD60GwDQ7qo036NyY6CKCO4eP7ymz3iF3xb. kJWyZlTTVXYzCNz56Pezw2GOdaC2BJe8rEiXoTIL2XI495Fz_3o6HDdzZv1nkAAtq5x3QjFJE91V PqPwM0edXgMrACyKb669uff0JjWL2Hwzt.Q.H.ZfcrbLAao6GpbZ1Lhdy_ib7kWr1XrOq888N2GO VK1D88t59Dv2JtLSOGXcKnEZKSnOYkgpDowc3NLeMu7OitmQ9ixdoM2YK9QO9u6zWnDIWIp4oDln mNgYxC3SiWOCfZmIsl7JDbYg.5ViVuG.5YxVp8vGm4Dmu8LlMbYkJBxS0mI1LWg69UnK5FTx9lzW RkrzFF8D9J1kVOV1xKFx6xmmFHWHq966vKIMVUICT6dIzFe_bnonwLtKNo8gSUL7Hr1TpyLT34nK r9EQZ9LKhsC_WxbKKvgTC0e.gLd21bORxV8xWleqHj.P4OsmCSAbrDzOrZsWfPYJKBha3N9DaHkU 4PuC3_nxzukMVyXIMUyqdRfFNaurWvKC3fUm3Z_woi_pvRh.c_CTKBvJ9ktl6KQlU.Xhbtt0C141 cZkbeGsaR7yqdrgUmH573A_N8fLXvBDhcdGo0B9FXjgavKv8PVfduDHsGWwr99fHNu3E3.gRv5Cn sdXeNHPQmKXlLUQP7KBqrsVMjcmvq39DxLEZCDB3Dj5aGJE_zgL6dx33oV5LAW7IurnhyJqXW.3z N17hsGZVrjkMALfbYnfsHuiGJo7ryb_MNG.lWI7jyOUwM6ypKllVQOA13p4VpD1J5g5RSyoUed6X ibcYksvGwHMXD5R3mLVEBk1o6.beZBhX5h2cA7yM.06d94jhi3Wodf.cWp5xm2HzT2U1X3bsqNOY MRIwXWlhM9F1ZArc5YztH2zJA.1qZdFWBo8ODEzWR6DQyI9WToZvE9XhvUzfoI0jMa_KhLMKpLR1 ipFSBh0cuwuhHIv39d0nSeVknHRiGSOLXWc4.hsKUSg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Thu, 26 Dec 2019 23:22:02 +0000 Received: by smtp419.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3431a1f15531a59271342e51e137c5ed; Thu, 26 Dec 2019 23:22:00 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: devel/freebsd-gcc9@powerpc (for example) : it has the clang vs. gcc vec_step name conflict (for powerpc families): build fails under clang Message-Id: Date: Thu, 26 Dec 2019 15:21:58 -0800 To: John Baldwin , FreeBSD Toolchain , freebsd-ppc@freebsd.org, FreeBSD ports X-Mailer: Apple Mail (2.3608.40.2.2.4) References: X-Rspamd-Queue-Id: 47kQvw46p9z4Rbr X-Spamd-Bar: - X-Spamd-Result: default: False [-1.20 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.75)[-0.749,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.87), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.04)[0.045,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[205.69.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[205.69.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Dec 2019 23:22:05 -0000 I tried to build devel/freebsd-gcc9@powerpc on a powerpc64 (in an ELFv1 clang environment) and it reported (listing just one of the examples that pointed to vec_step): = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc/gcc-9.2.0/gcc/tree-vect= -loop.c:4595:12: error: expected unqualified-id tree vec_step =3D build_vector_from_val (cr_index_vector_type, = step); ^ (Unsure if white handling will still end up with ^ pointing to vec_step.) clang reserves a name that the gcc source code uses: vec_step . (I'll not get into the long, messy history of this name and multiple standards built on top of C/C++, not necessarily in a language appropriate way.) It turns out that: # ls -laT /usr/ports/devel/freebsd-gcc9/files/ total 44 drwxr-xr-x 2 root wheel 512 Dec 25 19:25:26 2019 . drwxr-xr-x 3 root wheel 512 Dec 25 19:25:26 2019 .. -rw-r--r-- 1 root wheel 4781 Dec 25 19:25:26 2019 = patch-freebsd-format-extensions -rw-r--r-- 1 root wheel 1413 Dec 25 19:25:26 2019 = patch-freebsd-libdir -rw-r--r-- 1 root wheel 588 Dec 25 19:25:26 2019 = patch-gcc-configure -rw-r--r-- 1 root wheel 16346 Dec 25 19:25:26 2019 = patch-gcc-freebsd-mips -rw-r--r-- 1 root wheel 231 Dec 25 19:25:26 2019 xtoolchain.mk.in is missing the patch-clang-vec_step that is in: FBSDG5L2# ls -laT /usr/ports/lang/gcc9/files/ total 32 drwxr-xr-x 2 root wheel 512 Dec 25 20:57:52 2019 . drwxr-xr-x 3 root wheel 512 Dec 25 21:07:33 2019 .. -rw-r--r-- 1 root wheel 3450 Jun 1 18:44:50 2019 = patch-arm-unwind-cxx-support -rw-r--r-- 1 root wheel 651 Sep 18 11:08:37 2019 = patch-clang-vec_step -rw-r--r-- 1 root wheel 2148 Jun 1 18:44:50 2019 patch-gets-no-more -rw-r--r-- 1 root wheel 2897 Jun 1 18:44:50 2019 = patch-gfortran-libgcc -rw-r--r-- 1 root wheel 932 Dec 25 19:25:10 2019 patch-powerpc32 -rw-r--r-- 1 root wheel 294 Sep 15 13:10:46 2019 pkg-message.in I do not know if other differences in the patch lists might be important to other aspects (in either direction). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Fri Dec 27 00:05:58 2019 Return-Path: Delivered-To: freebsd-toolchain@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 6AFF21DC586 for ; Fri, 27 Dec 2019 00:05:58 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-20.consmr.mail.gq1.yahoo.com (sonic313-20.consmr.mail.gq1.yahoo.com [98.137.65.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47kRtX3lXMz4Sv5 for ; Fri, 27 Dec 2019 00:05:56 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 0S_1wtwVM1mEwnRQgXFsddxdJ5LST8G7DlxgFCxGB_ZahQTVqR9kowV0.8IL1v1 Mpc4DWyBuhYENmE6bFoNw_KCAbc5NLu2MuB4iofDpq6A2ptHmm4OYFWXvPlU9nxWmfI6CipRWX9p W0tFyvRicQTmBp06cHDwUZ1VrB7vheMTKvke_ZnAYtEkbCaLBMzzkguUBkALEJL9Ps_YGsJdKOtl zflaH.Z6ZxGj16Edc3eiw4YTGv.Vh5xbGes9Clq3hnxIkFTC0I6sGSlhl4MZ.mIQZuphTpepvVki cRBCTcbpQHymDp9Gb5adaXbT_.U6c31_O7ZyRX683Xqj9V3Rppxrt7pBWpWVAs9iIUERmxP_oIK_ EwXxr7vpEl0TPetBBmUavhcYnVMzIRbCboI9.yh2I3Z2OoVZQ.gtYZue8O7hRq5O62Nmz7oQhz4X 0ukZ7z..x.zBai4WjavFdkRctql_NQc8uSyDrb9t_APdWFrmfzJykhznKZbGJVpeh1L_Cujkqeoe UDxaY.cDIPFF.c3CDyRM_oS252xoUhFI9t91Wt6LwlybGyu.8voLSJeH9gZZh9MDZIAYc11z9GR. tOeIgFmujZ6WE5i6Yv.w6SHbhRsHkCHxBlLk_Dm7_W9EtItF2dHjJPA4RGiYJisLL7RpyJmFfW_W 1rfXJVEqxPiqn8bPJWhaF.u73h7y8OkMDlFz11jokfs7IfolSOwMBHJBWnUhdppuhnGa1xcXjmtm kc.es02p4lGcT_tqhYrM0OUjdOpcjlGyN1_Xd3WVTYC6tSL3hJr2fCkvl6Nn2Aoh_wYUf0sIO.C2 HAJR_CrC8EhE3KiJ.svv2_Uqap_WbbRa1st1t5Vx_6s3_sP6S5aDHcRXWxS7OlOB1UV4J_TYKcI4 zw2fBnSo6j3U3AjqXMWyw78VO3CD8ASEDPpdEZ52FBWc6YsYroB_nf_zaO1GWidmeWRzfzO_ZIWa RR9j8KuN6emOQm.Oo3b8gOfZnLuvIR94IE13f.NJocgOnGdF.MUdi6TWHGiEwXf_Gd4H6AmJu6_F 0iLiKQOWtLoJyyRMVJ378vr9jGFE91S2DkW2Ppa2YOQh0uQJn6RKDo_EC7E52DrjJAl6bS2SfXl5 6WmMFwXM8ECk2VFEQ4.hUe9TthCPC.9la8A2cCcWQ4Zq3Bf0hGK2A2e64LABPQpMnDx5f6dEVsgH WzthTSW6qTREo7I4CHzK2R.CkLdhfFjCEaSHwI3C.pZJikNctLwEKJgbniP9e002KQG9egVAp4jS CMKAqIoP_wTM32XvAHQElE20Sk32mtDVK5_S3ESZ1CNQmUgNc4jhqtGEXPutVkJCECdmg.VlANtX qG1XvIImiU.nu4l0Gy9f1E5X8T6k0ysVadMHT0rGiF59RhFbYbKNABeBVTfi9fIxMgEPwL1CLjVv uDj.8TiNDoOmo.0SYF.Sk_39ghHYlwtIux7zIs6isng-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Fri, 27 Dec 2019 00:05:53 +0000 Received: by smtp407.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 2bb26dffaecc776b5e6103104071845d; Fri, 27 Dec 2019 00:05:48 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: devel/freebsd-gcc9@powerpc (for example) : it has the clang vs. gcc vec_step name conflict (for powerpc families): build fails under clang From: Mark Millard In-Reply-To: Date: Thu, 26 Dec 2019 16:05:47 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <227049B0-B9DD-46F9-9BC8-3B5403250C92@yahoo.com> References: To: John Baldwin , FreeBSD Toolchain , freebsd-ppc@freebsd.org, FreeBSD ports X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 47kRtX3lXMz4Sv5 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.54 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.19)[-0.188,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.86)[-0.857,0]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_FIVE(0.00)[5]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[83.65.137.98.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (4.31), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2019 00:05:58 -0000 On 2019-Dec-26, at 15:21, Mark Millard wrote: > I tried to build devel/freebsd-gcc9@powerpc on a powerpc64 (in an > ELFv1 clang environment) and it reported (listing just one of the > examples that pointed to vec_step): >=20 >=20 > = /wrkdirs/usr/ports/devel/freebsd-gcc9/work-powerpc/gcc-9.2.0/gcc/tree-vect= -loop.c:4595:12: error: expected unqualified-id > tree vec_step =3D build_vector_from_val (cr_index_vector_type, = step); > ^ >=20 > (Unsure if white handling will still end up with ^ > pointing to vec_step.) >=20 > clang reserves a name that the gcc source code uses: > vec_step . (I'll not get into the long, messy history > of this name and multiple standards built on top of > C/C++, not necessarily in a language appropriate > way.) >=20 > It turns out that: >=20 > # ls -laT /usr/ports/devel/freebsd-gcc9/files/ > total 44 > drwxr-xr-x 2 root wheel 512 Dec 25 19:25:26 2019 . > drwxr-xr-x 3 root wheel 512 Dec 25 19:25:26 2019 .. > -rw-r--r-- 1 root wheel 4781 Dec 25 19:25:26 2019 = patch-freebsd-format-extensions > -rw-r--r-- 1 root wheel 1413 Dec 25 19:25:26 2019 = patch-freebsd-libdir > -rw-r--r-- 1 root wheel 588 Dec 25 19:25:26 2019 = patch-gcc-configure > -rw-r--r-- 1 root wheel 16346 Dec 25 19:25:26 2019 = patch-gcc-freebsd-mips > -rw-r--r-- 1 root wheel 231 Dec 25 19:25:26 2019 xtoolchain.mk.in >=20 > is missing the patch-clang-vec_step that is in: >=20 > FBSDG5L2# ls -laT /usr/ports/lang/gcc9/files/ > total 32 > drwxr-xr-x 2 root wheel 512 Dec 25 20:57:52 2019 . > drwxr-xr-x 3 root wheel 512 Dec 25 21:07:33 2019 .. > -rw-r--r-- 1 root wheel 3450 Jun 1 18:44:50 2019 = patch-arm-unwind-cxx-support > -rw-r--r-- 1 root wheel 651 Sep 18 11:08:37 2019 = patch-clang-vec_step > -rw-r--r-- 1 root wheel 2148 Jun 1 18:44:50 2019 = patch-gets-no-more > -rw-r--r-- 1 root wheel 2897 Jun 1 18:44:50 2019 = patch-gfortran-libgcc > -rw-r--r-- 1 root wheel 932 Dec 25 19:25:10 2019 patch-powerpc32 > -rw-r--r-- 1 root wheel 294 Sep 15 13:10:46 2019 pkg-message.in >=20 > I do not know if other differences in the patch > lists might be important to other aspects (in > either direction). I should have also noted that devel/freebsd-gcc6 has the same issue: # ls -laT /usr/ports/devel/freebsd-gcc6/files/ total 44 drwxr-xr-x 2 root wheel 512 Dec 25 19:25:37 2019 . drwxr-xr-x 3 root wheel 512 Dec 25 19:25:37 2019 .. -rw-r--r-- 1 root wheel 4657 Dec 25 19:25:37 2019 = patch-freebsd-format-extensions -rw-r--r-- 1 root wheel 1413 Dec 25 19:25:37 2019 = patch-freebsd-libdir -rw-r--r-- 1 root wheel 16435 Dec 25 19:25:37 2019 = patch-gcc-freebsd-mips -rw-r--r-- 1 root wheel 204 Dec 25 19:25:37 2019 xtoolchain.mk.in It also needs patch-clang-vec_step (or some equivalent) for powerpc and powerpc64 targeting to compile via clang, because of clang reserving the vec_step identifier and the gcc source code using that identifier. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Fri Dec 27 03:54:52 2019 Return-Path: Delivered-To: freebsd-toolchain@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 120D91E1715 for ; Fri, 27 Dec 2019 03:54:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-8.consmr.mail.gq1.yahoo.com (sonic315-8.consmr.mail.gq1.yahoo.com [98.137.65.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47kXyg0fQVz4fJk for ; Fri, 27 Dec 2019 03:54:50 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: rmL7xKwVM1k3eoZ.m40i_iDHNow_PI9lEVjuEVyLfYgpONxTV89P62ybr7ymWyI o9qwMbIb4OkrQtkuyuHjoZG7yhrMvfQ0sX2nykDWZfPmcM6EKEilT.6ROYUL6p1vbRFJIaFa1x.P y69hFI6Ae.lHqXGhZZru8IZ9XC18Zhe1C_fDZWrD1KMumuXOtFZnr5L3QpQIdRa1dRGfcGmOv7_4 MNLeZnj3vovCKrBnbuiHODesYwXWCaHo8PX1NcaH.GZE4qcg.NePSS_yJdU1BEtVJtnUmPt4JyXd dtaLwT7ynEjpNGAcYNf1R8ig5n8GBZYGpT2IewxnIfs__MRNRL2KrpWaVzPSWpe8iAHnz2kCsEeQ YJmmCuth2YDCKslDYEJyTT.OVl8GLD_ZakalTrpleNS.eKKUlfKUG.i9udwx8OMKP9lAEktlFxBj khHMbaYSFT6kj342ZuS3QVurENbjqLl8A5kVzoOn7UgcDbTqk1s1h4zVp.AgeyVSAKeQy7fcxoI0 eiW4WjXXb80DVHdGsighRWXsM6Ga0lfpLu7emTyUzCjplOi8h25xUoq5UXOcGkHRWqzDc6jG7Ob1 f2EeUPe8j24LAAGWLAUhJzo9vA8LJUULPehlX9c4162A6q0vgcCKREjAya5PV9ukfaNmINwmo3s7 9dZYzesAAUCREMosBOa_vfU6qwc1YYs8VYJa.Y_gxbFGecyq0T_ECYsgiWlaOIFPj48MK5bOtrV8 QZkFsjHOcN8ZUDN_SSBIwAfdD2fYhGTTKcb6t.aJq1Y_Yuvl_xkClHoJQ9yyj73AqHZP6lE47bHH fZw5L7UkxsX9dApte4HnOiw9XEyg.4hYWZBhuarDEB1NXaxt4ot0nn0aK0jyuTCMS7bEgQfCpimN yLUXJjtZ.Y_sGAdUg53uY_ZXGw.T6RU5xSzvFXGp0rFq.idk3HZVGh2fzVmwlo2_MYCDcs7ztSDV 6YtHpdUWIJFp_C7Hu46KnkWNOzwxXQcYcwO3emRBgAxO06X6NZ73jXTq.OtpyMUF_yf7hF5XdLiC WB1pQUrxH7yj8w1znSNNVRdL2JaLamkJhCaLTEH6GBpdCDH5PzuYGMMyZg7cN1qJ5QmZu9038F9D z8BaXpu0zRSKPyKT6kh8iKDCRsPmkj4TVLLDAwcwAJAbEs7kkbWXGxyUQXQ_1Sm9e0.ivk0WMVz6 iBOCMzXciH5DIcWPrL5u3dSqSALFW9oMUZBhsKNbAMSuCEOBWTu4s9xIIEZIHR5.t8dgW7SyXy7p qy0VIHaE11SIGVmFi9xPwvXnIVLFqRAUzqwrUxZUVfo3a2_YJR9w58RTW9X3mrcmO_HtIfbrGfda dZFUKXgh68W2DcccOijAsIYXNVhyFUrZaHovAbvb8jHIn8mZOkmhPbOkzOgXf7.WaOs7BeiuIKJc R_BQCxH4sC.WA49TY8Edy.Dqr2pAoiGYnmTBr Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Fri, 27 Dec 2019 03:54:48 +0000 Received: by smtp409.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 63302fbc417f689249c0129fc761362e; Fri, 27 Dec 2019 03:54:44 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: A devel/freebsd-gcc*/Makefile suggestion to avoid base/binutil preventing freebsd-gcc* builds Message-Id: Date: Thu, 26 Dec 2019 19:54:42 -0800 To: John Baldwin , FreeBSD Toolchain X-Mailer: Apple Mail (2.3608.40.2.2.4) References: X-Rspamd-Queue-Id: 47kXyg0fQVz4fJk X-Spamd-Bar: - X-Spamd-Result: default: False [-1.07 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.74)[-0.737,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.46), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.17)[0.168,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[32.65.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[32.65.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2019 03:54:52 -0000 Context: devel/freebsd-gcc* (for example) using: --with-as=3D${LOCALBASE}/bin/${BU_PREFIX}-as \ --with-ld=3D${LOCALBASE}/bin/${BU_PREFIX}-ld The likes of ${BU_PREFIX}-ld possibly also exists someplace else on the path in use. So I suggest that the BUILD_DEPENDS and RUN_DEPENDS cause the full path to be checked so that the full path will be created if they do not exist already. So, using devel/freebsd-gcc9 as an example, . . . # svnlite diff /usr/ports/devel/freebsd-gcc9/ Index: /usr/ports/devel/freebsd-gcc9/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/ports/devel/freebsd-gcc9/Makefile (revision 520539) +++ /usr/ports/devel/freebsd-gcc9/Makefile (working copy) @@ -16,8 +16,8 @@ LIB_DEPENDS=3D libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libmpc.so:math/mpc -BUILD_DEPENDS=3D ${BU_PREFIX}-as:devel/binutils@${TARGETARCH} -RUN_DEPENDS=3D ${BU_PREFIX}-as:devel/binutils@${TARGETARCH} +BUILD_DEPENDS=3D = ${LOCALBASE}/bin/${BU_PREFIX}-as:devel/binutils@${TARGETARCH} +RUN_DEPENDS=3D = ${LOCALBASE}/bin/${BU_PREFIX}-as:devel/binutils@${TARGETARCH} =20 FLAVORS=3D aarch64 amd64 i386 mips mips64 powerpc powerpc64 riscv64 = sparc64 TARGETARCH=3D ${FLAVOR} This avoids later not finding the file via the full path in such contexts. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Fri Dec 27 04:47:40 2019 Return-Path: Delivered-To: freebsd-toolchain@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 378D61E28BA for ; Fri, 27 Dec 2019 04:47:40 +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 47kZ7c0ntcz3DBb for ; Fri, 27 Dec 2019 04:47:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 195E51E28B9; Fri, 27 Dec 2019 04:47:40 +0000 (UTC) Delivered-To: toolchain@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 192291E28B8 for ; Fri, 27 Dec 2019 04:47:40 +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 47kZ7b71Q5z3DBZ for ; Fri, 27 Dec 2019 04:47:39 +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 EC4E1BA53 for ; Fri, 27 Dec 2019 04:47:39 +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 xBR4ldmF007014 for ; Fri, 27 Dec 2019 04:47:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBR4ldSe007013 for toolchain@FreeBSD.org; Fri, 27 Dec 2019 04:47:39 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: toolchain@FreeBSD.org Subject: [Bug 239266] lang/gcc8 (and lang/gcc9) fail to build with clang8: tree-vect-loop.c:4979:12: error: expected unqualified-id Date: Fri, 27 Dec 2019 04:47:39 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed 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: gerald@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to resolution Message-ID: In-Reply-To: References: 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2019 04:47:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239266 Gerald Pfeifer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Closed |Open Assignee|gerald@FreeBSD.org |toolchain@FreeBSD.org Resolution|FIXED |--- --- Comment #33 from Gerald Pfeifer --- Reopening, since the general issue in clang has *not* been addressed yet (which lang/gcc10-devel or anyone trying to build GCC from upstream sources directly still runs into). --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Fri Dec 27 04:49:53 2019 Return-Path: Delivered-To: freebsd-toolchain@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 A46B91E2955; Fri, 27 Dec 2019 04:49:53 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) (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 47kZB868lKz3DF4; Fri, 27 Dec 2019 04:49:52 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id 6F43533E08; Thu, 26 Dec 2019 23:49:51 -0500 (EST) Received: from anthias (unknown [103.16.157.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 8BCD533E06; Thu, 26 Dec 2019 23:49:47 -0500 (EST) Date: Fri, 27 Dec 2019 14:49:43 +1000 (+10) From: Gerald Pfeifer To: Mark Millard cc: John Baldwin , freebsd-toolchain@freebsd.org, freebsd-ppc@freebsd.org, freebsd-ports@freebsd.org Subject: Re: devel/freebsd-gcc9@powerpc (for example) : it has the clang vs. gcc vec_step name conflict (for powerpc families): build fails under clang In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 47kZB868lKz3DF4 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of gerald@pfeifer.com designates 209.68.5.143 as permitted sender) smtp.mailfrom=gerald@pfeifer.com X-Spamd-Result: default: False [4.54 / 15.00]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[121.157.16.103.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+a:hamza.pair.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[pfeifer.com]; NEURAL_SPAM_MEDIUM(0.39)[0.388,0]; RCPT_COUNT_FIVE(0.00)[5]; BAD_REP_POLICIES(0.10)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.76)[0.763,0]; RCVD_IN_DNSWL_NONE(0.00)[143.5.68.209.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.11)[ip: (-7.39), ipnet: 209.68.0.0/18(-1.98), asn: 7859(-1.11), country: US(-0.05)]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:7859, ipnet:209.68.0.0/18, country:US]; MIME_TRACE(0.00)[0:+] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2019 04:49:53 -0000 On Thu, 26 Dec 2019, Mark Millard wrote: > I tried to build devel/freebsd-gcc9@powerpc on a powerpc64 (in an > ELFv1 clang environment) and it reported (listing just one of the > examples that pointed to vec_step): I maintain this is a bug in clang which should be address there. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266 > It turns out that: > > # ls -laT /usr/ports/devel/freebsd-gcc9/files/ > total 44 > drwxr-xr-x 2 root wheel 512 Dec 25 19:25:26 2019 . > drwxr-xr-x 3 root wheel 512 Dec 25 19:25:26 2019 .. > -rw-r--r-- 1 root wheel 4781 Dec 25 19:25:26 2019 patch-freebsd-format-extensions > -rw-r--r-- 1 root wheel 1413 Dec 25 19:25:26 2019 patch-freebsd-libdir > -rw-r--r-- 1 root wheel 588 Dec 25 19:25:26 2019 patch-gcc-configure > -rw-r--r-- 1 root wheel 16346 Dec 25 19:25:26 2019 patch-gcc-freebsd-mips > -rw-r--r-- 1 root wheel 231 Dec 25 19:25:26 2019 xtoolchain.mk.in > > is missing the patch-clang-vec_step that is in: > > FBSDG5L2# ls -laT /usr/ports/lang/gcc9/files/ That is a hack that can be used to work around the issue; I strongly recommend addressing this in clang properly, though. Gerald From owner-freebsd-toolchain@freebsd.org Fri Dec 27 07:39:53 2019 Return-Path: Delivered-To: freebsd-toolchain@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 067811E5A02 for ; Fri, 27 Dec 2019 07:39:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.gq1.yahoo.com (sonic314-21.consmr.mail.gq1.yahoo.com [98.137.69.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47kdyH4Llvz3L8T for ; Fri, 27 Dec 2019 07:39:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: jSt0TS8VM1msSJFtH1u7CP1T7mtFRQ1_.PyFukvjzCrmzH6bXI3FjoS6aeq0GHX 7cghshDqGcepy.a4MyEYmq5eD9w7eAwms05ZGnzVU9HVZTsiH7ApVoz0Tt03a65qgHwrozs3k0mO AnvaQF8r0NAWvd6hJV.lKbmAcLolQQDMbyesLKo_.x69iGD0nesy4.Z1UzMAseypsUenBSvOLSzC eIpEzB8iJMFR2HEHjmlFFWRwYyCgF1aSLouidjDh7_EdG0FSAkkNED1pLQQJ8GuQXuzpGsnArlOa w.av3orW_nO9qd.oXGDvOPsMDMPhlLH5p0Hva8_oZy00yAVqHF6b4ey_IAiUcerBeHysai_0xQnl NcwAHmW9rDZUnY4A2HpquA868JltHp9OFzmmqzYjrU1TGywrN2gC2T_rrehUM.322HRgzC8f2Mfr GktMGSsJYIh314MhclTDMV1fqo02pyl1ciCA1YDGr90zzKVrr7oOVahmwe8ZF_7Ljm0237Ps44I1 IE8FvB29AU9Gum3zOEp0E8zlLpRAtddewwMnWI0j2Kt68P3IwKd9jdAV.9c7_NELKX9lnZuYzFHb np6rN6A_5XSdZUICOhiruyAjjeVR2Rdmjoa7vBtiRshPi.JrOIytQAT_sihnY9uECeUhMVfyjFJ4 DqxmVoRcowd4Ony.2w.hYVw5.9A7xD4RQcxF23_GDgp23RKiYm6qvx4WoZPwnOimgXCWDVohaL2o k0jHnAou1nkJQplsxbmtUaSiaZBBVwzRQxzU613Dv6p_L5mDr8ioztStKDGjIy.sTdWQn_uJ4my1 FsXvfs.Hg4xdr2Gh9jYrctUQVfmXjH5W.kUIOoCEOOlxhTX48_bL1MYIdWTN8kK4E6APPDmV3zwL SEOmqSvX20VKafrt4LARlv9guZUOqVbelvETgYMwCWhT2RMWjj1KRYCU_f.07uhDnD.16Wk3G5UI 365E_1xNrRaTCcRyTkyBsgYrjkAjoj_2_4RasfnyeN.ZVhYVRQ7_PHN1_cMEIoMIpHgXTM9S2Ww1 5ojZbCQbNA0SMGaXDrhdA4M7n4Qq5iWbsJCIr99w3TXqkn07zLr0r4c8DqGQzM9J5IHHF89F.8gJ bJo9vPWxlqEs42DNL9xHM0.3ElpqVmEYOEuqBMBB.GjQuD79J.l.23cve99LJwpeq6bcc1mBTheh VWlRsk_2yANRIlFvXk4u3v59qj3v6.utuneSLG._BCfD3mLPvS1UDMXuzmsWY3DQZkFOkIQXm.UB _cl3qOdWwtPd_vxLnY8IpUBzE4ejkY3WCiypKCZ3Fm3h1vSKUfBJA3zS4MtT3DGG2s2A4XnfmSlj DZPeLGKHE_huNDWXCgh9knZiOxaD6ZOshbdOmwtYNQHXHG0uhwRvgSiNfGqN3ru8ybtb_GflRpO2 urIkVUL1V2VZQe8cTwG00bOexzPr14Ojh3po- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Fri, 27 Dec 2019 07:39:48 +0000 Received: by smtp425.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 22a6b456439b76b4d6389950dbff5f11; Fri, 27 Dec 2019 07:39:47 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: devel/freebsd-gcc9@powerpc (for example) : it has the clang vs. gcc vec_step name conflict (for powerpc families): build fails under clang From: Mark Millard In-Reply-To: Date: Thu, 26 Dec 2019 23:39:45 -0800 Cc: John Baldwin , freebsd-toolchain@freebsd.org, freebsd-ppc@freebsd.org, freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Gerald Pfeifer X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 47kdyH4Llvz3L8T X-Spamd-Bar: - X-Spamd-Result: default: False [-1.16 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.76)[-0.758,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.68), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.10)[0.095,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[84.69.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[84.69.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2019 07:39:53 -0000 On 2019-Dec-26, at 20:49, Gerald Pfeifer wrote: > On Thu, 26 Dec 2019, Mark Millard wrote: >> I tried to build devel/freebsd-gcc9@powerpc on a powerpc64 (in an >> ELFv1 clang environment) and it reported (listing just one of the >> examples that pointed to vec_step): >=20 > I maintain this is a bug in clang which should be address there. >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239266 I wish they would, but . . . Unfortunately, this is likely a hard sell to the upstream clang folks because https://www.nxp.com/docs/en/reference-manual/ALTIVECPIM.pdf defines vec_step in "2.5.3 Value for Adjusting Pointers" and does not bother with specifying language namespace niceties, as I remember. That dates back to 1999-June. (The "POWER expert" quoted in comment 11 was wrong about the Altivec PIM not having a definition.) Clang has been this way for a long time and ends up considering how many AltiVec related builds would be broken by such a breaking change for those builds. The later OpenCL specification of its vec_step has the same sort of status as I remember. Thus, the same type of considerations likely are involved again. So I expect that, if devel/freebsd-gcc[69] waits for clang to be fixed, instead of having a (hopefully temporary) workaround, then for a significant time those ports likely will not work for being built via clang for targeting powerpc64 or powerpc. An unfortunate context, for sure. >> It turns out that: >>=20 >> # ls -laT /usr/ports/devel/freebsd-gcc9/files/ >> total 44 >> drwxr-xr-x 2 root wheel 512 Dec 25 19:25:26 2019 . >> drwxr-xr-x 3 root wheel 512 Dec 25 19:25:26 2019 .. >> -rw-r--r-- 1 root wheel 4781 Dec 25 19:25:26 2019 = patch-freebsd-format-extensions >> -rw-r--r-- 1 root wheel 1413 Dec 25 19:25:26 2019 = patch-freebsd-libdir >> -rw-r--r-- 1 root wheel 588 Dec 25 19:25:26 2019 = patch-gcc-configure >> -rw-r--r-- 1 root wheel 16346 Dec 25 19:25:26 2019 = patch-gcc-freebsd-mips >> -rw-r--r-- 1 root wheel 231 Dec 25 19:25:26 2019 = xtoolchain.mk.in >>=20 >> is missing the patch-clang-vec_step that is in: >>=20 >> FBSDG5L2# ls -laT /usr/ports/lang/gcc9/files/ >=20 > That is a hack that can be used to work around the issue; I strongly > recommend addressing this in clang properly, though. >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Sat Dec 28 10:33:04 2019 Return-Path: Delivered-To: freebsd-toolchain@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 E14D31E4A86 for ; Sat, 28 Dec 2019 10:33:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-23.consmr.mail.gq1.yahoo.com (sonic312-23.consmr.mail.gq1.yahoo.com [98.137.69.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47lKlg3fdHz4FXB for ; Sat, 28 Dec 2019 10:33:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: lR0oWdAVM1n4J3p60ITQLfYIcCDy6YaPkNNVfq1J_r4hDI6masLMCzdXrXu7yCW sj2G35fYaJHGLnMbBaFvDWlihObpL5pU3fU0mPaY6MaG6lUFQqtd6NR9e4QsxYzINs7yiBg7d5cF Oc0Jv9B.ihP90X4BaJXKMGcAQ8XVI7_FLZ2MttAXrbPCuIltB0gt1tNEyZuM0F2SAdmXu8yDdRzZ PPKNrw7XMTyTCGvWzC_DdgHnjCxNwwxUD_4rE1nJ19JpqGHRMJEorL_xcJsmXqbp5RE4ASLt947P XWktPBB3kB_J1scvk0Vhtcm0S4eAnuPOcJ7S03l.ggYzlSFTtN7L.Ezx8z8fSgswrOAptjtncq5J v7SMwR5KYI76lyxVZgCR3IOo2CW9k54ZRUdV0fPRlHFlXwv2eDqkjJpSsxjNmu9tHnIbT3DYTq9G bfkbXClkfxQYBwsS296NsuLV4FKu2QnLoo3SX23ACfcuwHb698KZLoba5y9ImYhQbo2Gp9KlAMKH tQ.c3gqUPagaaTEHkycbZhJ.lWs.OUA_BOHHx.YQA6KdpeNWnMi0kVSc1v4VTaA3_hzd5CD8r7Yo bZ23bb.LEGNRQvdBkBSvIKrH4KPXvY4tQuFsaG4eDpj63IjOhpbQbjfgjhJlA.1ZHLNcMRPSdzOV SvLon7iJ.5bHkryxClM65oAdScdPDjExg4KPVpYx479PhrFqq85cVZqWWVUTKpmHNexf6_8e2Tef buzr6StHwAUV6f5zV5XSBF6iRSXX60gg0CQPUJJBr1KR_9sztjcq5M4vTzRmDGzQC.xu_8xKcRdN tamkfwb5rJuGugsVgj6eN1tV0Ldm7wle3nQWHBfVrRZ1ikIR.ZIv.9rhrfTUWYGiEKvYHpwfla77 j8GSzwfgvCr.a2BLOL7SriZCEO4.NnEhlwwFJuh55r2fx8WKxM7mK2_SDynSK45Llr3VGaX8FkFB _tF7oLKtf8ZM8g1uby3bJQMbQLtCCWFW9j0CpAFOeYDuFOp3yovlfURo8rNRoMLFa_JHdwaNb0e4 EKqMSTnSnJ5AA3.3H9GLoeAX4F8ptNn1y4pZ326bzXWrKTx0jiLAoHYBh4RYez_chh3WeOZ_gIUL jS7n0I86Z9PSz.brt6uw.f0uQ3ixzxX85Sj0nHe_uNV56S5YGDnXw._51Fua1rC1KRvVmf2GoVKT MRcIxBvvHnaNS3G_IDI46UxaVdE8kIvxmTcPsNF7toE7QUEX1DdG4wIGpWnIzQNRvomBAW9vj7NY iN.O2zWLUtLa4Sg1ABRZh_QRIAOwbYnw36kRVFepjELJCO8ne2JH48tsbNZYL84WylX22_R6A0KA hvrR0VH1auqzJw3KZmi3a2uuwZkNdWqhbFrKR5G1TBwGK5R5By8t6emAJ8f945qKleEJo6BoyRJk yXP61i63FnnUqp5d08zNk1pBwGLyTWPjNOslJ Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Sat, 28 Dec 2019 10:33:01 +0000 Received: by smtp425.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID fba36b45a4d8ae6f90692b0281d1f05c; Sat, 28 Dec 2019 10:32:58 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: base/binutils build on 32-bit powerpc fails for not finding elf64_fbsd.* ldscripts Message-Id: Date: Sat, 28 Dec 2019 02:32:57 -0800 To: John Baldwin , FreeBSD Toolchain , freebsd-ppc@freebsd.org X-Mailer: Apple Mail (2.3608.40.2.2.4) References: X-Rspamd-Queue-Id: 47lKlg3fdHz4FXB X-Spamd-Bar: - X-Spamd-Result: default: False [-1.88 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.58)[-0.575,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.81)[-0.809,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.46), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[204.69.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[204.69.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Dec 2019 10:33:04 -0000 In a 32-bit powerpc environment (head -r356066 or so, clang based), I attempted to "make package" (not a cross build) for /usr/ports/base/binutils ( as of ports -r520539 ) and the end result was failures to find 64-bit ldscripts: =3D=3D=3D> Building package for freebsd-binutils-2.33.1 pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.x:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.xbn:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.xc:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.xd:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.xdc:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.xdw:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.xn:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.xr:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.xs:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.xsc:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.xsw:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.xu:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc_fbsd.xw:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.x:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.xbn:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.xc:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.xd:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.xdc:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.xdw:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.xn:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.xr:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.xs:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.xsc:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.xsw:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.xu:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.= 0/lib/ldscripts/elf64ppc.xw:No such file or directory *** Error code 1 For reference, the attempt built (or for binutils tried to): # ls -ldT /wrkdirs/usr/ports/*/* drwxr-xr-x 3 root wheel 512 Dec 28 02:04:11 2019 = /wrkdirs/usr/ports/base/binutils drwxr-xr-x 3 root wheel 512 Dec 28 02:04:55 2019 = /wrkdirs/usr/ports/devel/gettext-runtime drwxr-xr-x 3 root wheel 512 Dec 28 02:04:38 2019 = /wrkdirs/usr/ports/devel/gmake drwxr-xr-x 3 root wheel 512 Dec 28 02:04:52 2019 = /wrkdirs/usr/ports/ports-mgmt/dialog4ports drwxr-xr-x 3 root wheel 512 Dec 28 02:07:44 2019 = /wrkdirs/usr/ports/print/indexinfo (I already had pkg 1.12.0 added.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Sat Dec 28 21:27:39 2019 Return-Path: Delivered-To: freebsd-toolchain@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 96B3C1C8EFB for ; Sat, 28 Dec 2019 21:27:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-22.consmr.mail.gq1.yahoo.com (sonic302-22.consmr.mail.gq1.yahoo.com [98.137.68.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47lcGy1mNVz3Gyt for ; Sat, 28 Dec 2019 21:27:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: aZWfKZoVM1nPIa3nbb9LPtxq8CXvt01m7Bl_TbNZjmh7Lox6lGQ2H.wpwb8aI4T VgArX9QZK9KOFq3Vq.M3G4emzdKTAaKClPTnmaYlcsGhA1acSf5GXGICmia5IWv_QQ.Jw9hJrI35 0_UGFy12ami1_jpofAJEVxxgM85PZjldPDvpdvDSfyKg3RnWB.v9jaRVbPP7.0bNvCseF7_BAyu1 UDfcrlE5nk_4LrT.UsssxpMA19u1cLA_an98RvtgoH8OOeLQNUk3ZRZs_FL8EeJ8m8PqT.P1Le.Q f67McfvayPLfKmAR._y1Q3f3Fau9XAvjGxkRB3tSG4Mxuhm.OPCrtmt3eFmFPuqoyhcf2P8YJi_1 V2s6I1HEJJHb7FYYKMxmbz__Q5hsT14mv6DXJRCwtSFA6sR3i6bg5h1aXeqdk4gWvA9fRMKZDi2F ZKScaQFuli_zoSmIzd0K0nVqblWGQqVmi4a593._VqmyK2v57Mafh8pGxVeEoMnj5xeddsDx1rm1 7co4dkbFozIPM6VAp9wwizdfoBGnY8DOKqOZ5pnxPOOpvdzCJsOxBhmS8VXzKNJrBalpLA2oRYMm mqk3LWiB4i7vubhvVCDQ_FlndFOgCOGUDsMR9hcLh5P0HdNzRaE6Ct3_9sK4STd7Qn5MfMFAjq3a HZyf26sfM3BcpLF2vFSMPZIUJABmywFUoD1HZblF6t0Lr9RpazGe7efZTZws6i.O2dSG983ORq81 AIiOWgm86KOvM6YUjL2WElq_fYjevakaLr0ong6KwrnKWxfQgJxXfvo3hJdJZN1x4RqobT5MVDJ0 ELdEf2RNvUOp2sZP403LAr2ec.jhDt5Mu48xUG_X.Ieg7nzjTWrWcppJgEtn_qOFcq61GBL_jRnl awakcTLKhmoMLs8HemIkBz5Xe.nBsxHlbZ_TyFtOcbu3dy0g8Fa8oxD3O56V0hxHLJBZ4kj8CDMf beqxLhX5Gu.vszec7ycjIslCIE.W5el7oUf_8qaTwWKAkSvtzcTy0UyhCWetJRv_volBHcjOOIF5 .gPbtzTH.U5c.4VaKG4k9vp.sjPo.6.vXa40Pz2Fq0xrcYkZ6LmkUXtwRDKREn.okKdH79GaXrwK 8vr5bLs1IVeNcrHiH4_0oVAGBsylib7e0Jfm4fDlL3RlT9X965HlDgVuy86NONTszuWWBlZXSg9L .53iiSvS1T_7aklKRcgaarQoguAo17aOBt9nJ6d_AY3MEguF91cvBm_iof6WwJDFiGI85uhpGfcO KTRa3pAgEI1grjGithBmyBG.AVIMZmiuzi_jArtjFLnFzzUEaSMnM.wdoEMNnPPh.WTwOWked8.R zxVsDaiDSpUmEYnXqdO26BokcN5OKr_.nR46DOwGddF71dsEvcMX2ODxE8AJregonKL6AWRIxIms RquGOtgVQPgWQH8jJWfQHum490AKXwVy2ciRE Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.gq1.yahoo.com with HTTP; Sat, 28 Dec 2019 21:27:35 +0000 Received: by smtp419.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID cd469827a5dc1ff8bb28116278c02507; Sat, 28 Dec 2019 21:27:34 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: devel/aarch64-none-elf-gcc build failed with long list of "pkg-static: Unable to access file . . ." during package stage Message-Id: <1A735BFA-27C0-4C11-9A0F-6F06B5898805@yahoo.com> Date: Sat, 28 Dec 2019 13:27:33 -0800 To: John Baldwin , FreeBSD Toolchain X-Mailer: Apple Mail (2.3608.40.2.2.4) References: <1A735BFA-27C0-4C11-9A0F-6F06B5898805.ref@yahoo.com> X-Rspamd-Queue-Id: 47lcGy1mNVz3Gyt X-Spamd-Bar: - X-Spamd-Result: default: False [-1.72 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.46)[-0.465,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.76)[-0.755,0]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[148.68.137.98.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (6.26), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Dec 2019 21:27:39 -0000 In attempting a devel/aarch64-none-elf-gcc build (in a amd64->armv7 cross-build context), it failed with: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> Building package for aarch64-none-elf-gcc-6.4.0_7 pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc= /aarch64-none-elf/6.4.0/plugin/gtype.state:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc= /aarch64-none-elf/6.4.0/plugin/include/ada/gcc-interface/ada-tree.def:No = such file or direct ory pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc= /aarch64-none-elf/6.4.0/plugin/include/addresses.h:No such file or = directory pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc= /aarch64-none-elf/6.4.0/plugin/include/alias.h:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc= /aarch64-none-elf/6.4.0/plugin/include/all-tree.def:No such file or = directory . . . (long list) . . . pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc= /aarch64-none-elf/6.4.0/plugin/include/wide-int.h:No such file or = directory pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc= /aarch64-none-elf/6.4.0/plugin/include/xcoff.h:No such file or directory pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc= /aarch64-none-elf/6.4.0/plugin/include/xcoffout.h:No such file or = directory pkg-static: Unable to access file = /wrkdirs/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/libexec= /gcc/aarch64-none-elf/6.4.0/plugin/gengtype:No such file or directory *** Error code 1 Stop. make: stopped in /usr/ports/devel/aarch64-none-elf-gcc =3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for aarch64-none-elf-gcc-6.4.0_7 build of devel/aarch64-none-elf-gcc | aarch64-none-elf-gcc-6.4.0_7 ended = at Sat Dec 28 04:40:12 PST 2019 FreeBSD head -r356109 based context. ports -r520539 based context. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)