From owner-freebsd-ports@freebsd.org Sun May 19 04:11:22 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E494815A20A2 for ; Sun, 19 May 2019 04:11:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-22.consmr.mail.ne1.yahoo.com (sonic306-22.consmr.mail.ne1.yahoo.com [66.163.189.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 7DF8A75949 for ; Sun, 19 May 2019 04:11:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: hWbfxd4VM1l7063tsklZcMVziD6g5LP18BevkLrjxnJnStPvC_qHEB5m3o1KPOn brDPCi_6cCSl90fo7pX4WriQEzGwBVVI2NV0pOMyzVWhef.LVmFTIwRWi6iFT0e19v4mHyRKpFKJ QGKkYZkiDyul.yJJLPzzy9b7VvhlpEXQ_7ni.DD0ACc5ysZ7eGthUWTzVrNiDZjrVuthhKqzT44J whwXdZeDYpYbVyGoS3ScooBZ_dRVTbUqhPF3CzTOnkmbHuzHd7j3P1KOC4rxNGRP3ZMCIX1P484m bEywnkeOhkGWrZ.WhGuScBHi5SqZoVVXrkxe1.2riecTTSZJGQifcYNG53x9tKX_Pe48gjMdG6fj W_i9jnWaT4mRTM32_zp6LqDEuEkdpEDOJ818K4Qi.LWsgR7W7w_X9q6BsGd0GdArg8TE9x4GodB4 xm.WH16v7V0AxNJJsXf51038Huko1cYb0jH7Tt8EaBOmKQdOJADsQi7RVnC.VHFFwRkBVYYsf2TY _ZIJY3oGkFahHUlWBZ4iLMIh66vczi34Fhg8nl7uGZoKuMVkYc6OwI6i8k2ou.iAEVawRO0gwH81 lCUJRzE.aBkzFn5QKoGRM45m0tqqg5C82qAGLhkGJvEqOGoeJ.EXJ9wwuW3DmCfOHudsquvlELju symkZLz_90zFjvFckhJp5LnGjJ_gtx8w2QZyaNBUZY9h35Cz0W5LbpSFVWobiGEZJLzK95D7nCm6 Ak2QZ7vddXZZXi3KSmGi0WU7SXECIee.eSnyVSOekIGC7iDUODmslTTmxTVK1jidhaxlKykvq5LW uG6rAJGWSb8x.46H4vS5pguqLba70lMKznIlvyGT0Wx6gUpR1Jumr2cU8JIN1dSAZjB_ZGBdZRQM HE56pMLKL8viP2xuoyJvmYVrl6mN1dz.lhybMP7O_7ji5ur.e6pMGZQ8vT9SfkL9SORVXHlIqJcZ 4_LuTxt679NrJOhhq1vy1EB8f_HIXYnDc7qpL12KxJ0eird2rOJq1y5z1.fpExdJ2Gi9OxgsPtX1 Yzfz6v_Tm5XgZMSfBxNpVvtBgzZ9CrPsUPINKdKea0fYfRk7iVA95uGHtYjR0ieAWZu1Hw.Jtjer Fe04cbRqmJbEmTwIaeAIHTtpCuq49N3WNrTV31JEbTURQOfTOmy_TJTDFbFfc7FBNva9ag8jTKtt iWEc31YlQfpp12h_U5GZ_g24vo29aDEL6.FvbV3WgoQWUHUe44W7qGOhQgPw7dlTD0hTW Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sun, 19 May 2019 04:11:13 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.103]) ([76.115.7.162]) by smtp402.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 7e7a35ec9b03b3b62981fc168704202d; Sun, 19 May 2019 04:11:11 +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 12.4 \(3445.104.11\)) Subject: FYI: Unable to build -r501994 ports' lang/gcc8 on clang 8 based powerpc64 system (no -O1 use): "does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or ..." Message-Id: Date: Sat, 18 May 2019 21:11:09 -0700 Cc: ports-list freebsd To: FreeBSD Toolchain , FreeBSD PowerPC ML , "gerald@freebsd.org" X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 7DF8A75949 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.40 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; LONG_SUBJ(1.54)[205]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; 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:36646, ipnet:66.163.184.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.52)[-0.518,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(0.70)[0.697,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.47)[ip: (4.84), ipnet: 66.163.184.0/21(1.42), asn: 36646(1.14), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.72)[0.722,0]; RCVD_IN_DNSWL_NONE(0.00)[84.189.163.66.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2019 04:11:22 -0000 This was in a poudriere bulk build on a head -r347549 based powerpc64 system with system clang 8 for cc and c++ and base/binutils for ld. I was attempting a build with the -O1 changes disabled. (Note: the system is self hosting for buildworld buildkernel via the clang 8 and base/binutils combination.) So having issues with building lang/gcc8 is not limited to gcc 4.2.1's tool chain for powerpc64. (I've not yet tested -O1 use as the bulk build still has lots of other things to build.) . . . c++: warning: argument unused during compilation: '-nopie' = [-Wunused-command-line-argument] /usr/bin/ld: libbackend.a(ipa-inline.o)(.text+0x540): sibling call = optimization to = `_ZN16function_summaryIP14ipa_fn_summaryE3getEP11cgraph_node' does not = allow automatic multiple TOCs; recompile with=20 -mminimal-toc or -fno-optimize-sibling-calls, or make = `_ZN16function_summaryIP14ipa_fn_summaryE3getEP11cgraph_node' extern /usr/bin/ld: libbackend.a(ipa-inline.o)(.text+0xa58): sibling call = optimization to = `_ZN16function_summaryIP14ipa_fn_summaryE3getEP11cgraph_node' does not = allow automatic multiple TOCs; recompile with=20 -mminimal-toc or -fno-optimize-sibling-calls, or make = `_ZN16function_summaryIP14ipa_fn_summaryE3getEP11cgraph_node' extern . . . /usr/bin/ld: libbackend.a(ipa-inline.o)(.text+0x1150): sibling call = optimization to = `_ZN10hash_tableIN8hash_mapI8int_hashIiLi0ELin1EEP16ipa_call_summary21simp= le_hashmap_traitsI19default_hash_traitsIS2 = _ES4_EE10hash_entryE11xcallocatorE19find_slot_with_hashERKij13insert_optio= n' does not allow automatic multiple TOCs; recompile with -mminimal-toc = or -fno-optimize-sibling-calls, or make `_ZN10hash_tab = leIN8hash_mapI8int_hashIiLi0ELin1EEP16ipa_call_summary21simple_hashmap_tra= itsI19default_hash_traitsIS2_ES4_EE10hash_entryE11xcallocatorE19find_slot_= with_hashERKij13insert_option' extern /usr/bin/ld: libbackend.a(ipa-inline.o)(.text+0x1224): sibling call = optimization to = `_ZN10hash_tableIN8hash_mapI8int_hashIiLi0ELin1EEP16ipa_call_summary21simp= le_hashmap_traitsI19default_hash_traitsIS2 = _ES4_EE10hash_entryE11xcallocatorE19find_slot_with_hashERKij13insert_optio= n' does not allow automatic multiple TOCs; recompile with -mminimal-toc = or -fno-optimize-sibling-calls, or make `_ZN10hash_tab = leIN8hash_mapI8int_hashIiLi0ELin1EEP16ipa_call_summary21simple_hashmap_tra= itsI19default_hash_traitsIS2_ES4_EE10hash_entryE11xcallocatorE19find_slot_= with_hashERKij13insert_option' extern . . . For reference . . . # cc -v FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on = LLVM 8.0.0) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin # c++ -v FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on = LLVM 8.0.0) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin # ld -v GNU ld (GNU Binutils) 2.32 I used: # svnlite diff /usr/ports/lang/gcc8/ | more Index: /usr/ports/lang/gcc8/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/lang/gcc8/Makefile (revision 501994) +++ /usr/ports/lang/gcc8/Makefile (working copy) @@ -62,7 +62,7 @@ =20 .elif ${ARCH} =3D=3D powerpc64 CONFIGURE_ENV+=3D UNAME_m=3D"powerpc64" -MAKE_ARGS+=3D CFLAGS_FOR_TARGET=3D"-O1" CXXFLAGS_FOR_TARGET=3D"-O1" = BOOT_CFLAGS=3D"-O1" # PR235975 +#MAKE_ARGS+=3D CFLAGS_FOR_TARGET=3D"-O1" CXXFLAGS_FOR_TARGET=3D"-O1" = BOOT_CFLAGS=3D"-O1" # PR235975 =20 .elif ${ARCH} =3D=3D powerpcspe CONFIGURE_ARGS+=3D --with-cpu=3D8548 --enable-e500_double = --without-fp @@ -80,7 +80,7 @@ CONFIGURE_ARGS+=3D--with-build-config=3Dbootstrap-debug ALL_TARGET=3D bootstrap-lean .endif -INSTALL_TARGET=3D install-strip +#INSTALL_TARGET=3D install-strip .if ${UID} !=3D 0 BINMODE=3D 755 .endif =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)