From owner-freebsd-toolchain@freebsd.org Sun May 13 05:38:24 2018 Return-Path: Delivered-To: freebsd-toolchain@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 08408FC4B81 for ; Sun, 13 May 2018 05:38:24 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic301-2.consmr.mail.bf2.yahoo.com (sonic301-2.consmr.mail.bf2.yahoo.com [74.6.129.41]) (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 9D5AC78384 for ; Sun, 13 May 2018 05:38:23 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: 3AByDzYVM1kfLchKDbJOMrndNv0jRULHAH5iDIpJ5ck4KmD1u46ZYih2eDe5TQ_ 9mbqulDe8FanD08E2oWrA8m5yz1eI7JMOBIFVQzeUL1fotkqrFkZ9kKvsbx14eGxXXyoiXV7htic M5JP7qCECm3rTMFtTB1koY1Na7LOursBV97MoIdzyQYD0YSXvsjobqm9dgFHeJKz6gZgZXVI6Q1i Wbx2B7OzfnOcDJN5YIEkw_GCB5FuobwOQiYaMlypFQRvb8_cGUTxiteCCKDC8yv69C4WgJRRX97n hsb_P3mFnINmvXUOgr296rreYU.LYgX8axP24w.aZVEOcg0epKwvsfXsLQMWzihLJ9BHSTZF_Dsn 32ZmPt63oUr0.UxPKIGZtrilYBSr8z9NdygugLKjNWMLteBJE5DszyMAneSg0doKny.2R9L5wcmF a.r48D9BQgRBqFaumWwM8GGM4yuHiAbe6.J.YdXvNuse3smZ5a5RPoLVx8BFh8Hu.HXK9RnMjCb3 W0KWeLpLgQaaIfY2ZmFsX48COvVGLB6PIQi3frT69aD9gAqg.ptLGkxYulsK9iOXsG.mA3HU__G1 .02Hrz35AAOIwU.01_0u3.33E2Qg_0GsXoiJm0aSt78ZDcAfHUGfc3g-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Sun, 13 May 2018 05:38:22 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp412.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 41d87fe9eb5369bc85fd426fd95d1a3d; Sun, 13 May 2018 05:38:22 +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 11.3 \(3445.6.18\)) Subject: Re: svn commit: r469449 - in head: Mk base/binutils base/gcc base/gcc/files Message-Id: <7DA47BC9-CA07-4C34-B4C6-78B0081A7E19@yahoo.com> Date: Sat, 12 May 2018 22:38:20 -0700 To: John Baldwin , freebsd-toolchain@freebsd.org X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 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, 13 May 2018 05:38:24 -0000 pkg-plist.mips seems to be missing any objcopy variant. (Is objcopy not = needed?) (Only this mips variant uses %%BUTARGET%% notation in the pkg-plist.* = file.) pkg.plist.powerpc64 has 3 objcopy variants/places but 2 man1's. pkg.plist.sparc64 has 2 objcopy variants/places but one man1. (no bin/sparc64-unknown-freebsd*-objcopy nor man1/sparc64-unknown-freebsd*-objcopy.1.gz compared to powerpc64) pkg.plist.sparc64 is not using the *-unknown-freebsd* style of naming at all. (Not limited to objcopy.) I'm guessing it was not updated when base/binutils/Makefile got: BUTARGET=3D ${ARCH}-unknown-${OPSYS:tl}${OSREL} and base/gcc/Makefile got: GCC_TARGET=3D ${ARCH}-unknown-${OPSYS:tl}${OSREL} Details: # pwd /usr/ports/base/binutils # grep objcopy pkg-plist.* pkg-plist.powerpc64:bin/objcopy pkg-plist.powerpc64:bin/powerpc64-unknown-freebsd12.0-objcopy pkg-plist.powerpc64:powerpc64-unknown-freebsd12.0/bin/objcopy pkg-plist.powerpc64:share/man/man1/objcopy.1.gz = pkg-plist.powerpc64:share/man/man1/powerpc64-unknown-freebsd12.0-objcopy.1= .gz pkg-plist.sparc64:bin/objcopy pkg-plist.sparc64:share/man/man1/objcopy.1.gz pkg-plist.sparc64:sparc64-freebsd/bin/objcopy # svnlite info /usr/ports/ | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 469767 Last Changed Rev: 469767 (I've never used/targeted mips or sparc64 but I've targeted powerpc64 some of the time.) =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 May 13 08:14:07 2018 Return-Path: Delivered-To: freebsd-toolchain@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 61151FCD72C for ; Sun, 13 May 2018 08:14:07 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic306-20.consmr.mail.ne1.yahoo.com (sonic306-20.consmr.mail.ne1.yahoo.com [66.163.189.82]) (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 EBEDF6B366 for ; Sun, 13 May 2018 08:14:06 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: Pw0_wp4VM1lkGxGurXv0.uOWGljyz8XyYnm2ayR5DqEhFYwzBORcGhH2AZ7sGZF 743LbM6T.jJeoVFEL.y5DahLoQ1dZ1adub3sU_29wYfb1_aZk9OFbzwSwOx6YWF5r7zZTDftjpZi SKmSqG5E_0V_vXsp4JWxt4Yl6j5AeYjM88NlDK9xYa289ssIRLxVQaNlumcsM2yjeR0E4grCau.O lNSjZLSeDBYjzbQSheTl0wNN2gERHGwannajrgFKV9YBEwO2HgBCiWXwYUQgY_hLlegE.KaTfqrG tWlvv_BwZ5ePTrO6TRe7hyJVutjHAS306j8vgFJYqXRkNp0vu5tzx4asJiZ5andE_OSbM2QDWxE9 IcSJdqmGHyBrbwvOExQtNqK5aXDoi3VY4O6l1jFEATkOngxHGV_HVcn7xLmLTSKFN5WES.5640q2 _rUTi02yhvJMGNYE6Nx6aER2X1PoI9tASFIVXi9xMO2JjT3Chv3wbvEnILDDGZs6KzY89C9CFtIE Elqws63GTA3.MiYfdGFD9OuSYVvIcKCku6izj3WobWvsYxLAx9ntoJcq24yV3DrSrmxvLwRlcVzf csIlve2XZFdP__zq5TNZkPMPVh9kL2O82ukNaAqeRU3S4vw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sun, 13 May 2018 08:13:59 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp417.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 5c19a5b6b7aca08a23836d59d003e95a; Sun, 13 May 2018 08:13:56 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Still true at -r333575 : head -r320458 (e.g.) amd64 -> powerpc64 cross build's install32 during installworld: /usr/src/share/mk/bsd.linker.mk tried to use "head" when PATH provided no access (head is missing) From: Mark Millard In-Reply-To: <8EB87EA5-0ED6-4F46-80FC-1A0DB29CF7D6@dsl-only.net> Date: Sun, 13 May 2018 01:13:55 -0700 Cc: FreeBSD Toolchain , FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <84A73CB0-CBCB-4EE4-A4B7-B8B2F25EECB5@yahoo.com> References: <0E42D991-D350-4DC1-A683-CEA506167520@dsl-only.net> <8F22B659-90DE-42E5-B4C6-75C9B9626462@dsl-only.net> <8EB87EA5-0ED6-4F46-80FC-1A0DB29CF7D6@dsl-only.net> To: Bryan Drewery X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 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, 13 May 2018 08:14:07 -0000 Retrying the amd64 -> powerpc64 cross build via a powerpc64-gcc this time, combined with WITH_LIB32=3D , got: "sh: head: not found" and = its later consequences, like before for installworld (to a directory on the amd64 host context). This is from the /usr/src/share/mk/bsd.linker.mk = line that results in: (/usr/local/powerpc64-freebsd/bin/ld --version || echo none) | head -n 1 but head is not available by default at the time (lib32 context). (I = make head be available via using LOCAL_ITOOLS=3Dhead in order to work around = the issue.) An example of the messages (without having LOCAL_ITOOLS=3Dhead) is: --- _installlinks --- install -l s ../../libexec/ld-elf32.so.1 = /usr/obj/DESTDIRs/xtcgcc-powerpc64-installworld/usr/libexec/ld-elf32.so.1 cd /usr/src/usr.bin/ldd; PROG=3Dldd32 . . . . . . . . . MAKEOBJDIRPREFIX=3D MK_MAN=3Dno MK_HTML=3Dno MK_TOOLCHAIN=3Dno = -DLIBRARIES_ONLY install sh: head: not found make[4]: "/usr/src/share/mk/bsd.linker.mk" line 47: warning: = "(/usr/local/powerpc64-unknown-freebsd12.0/bin/ld --version || echo = none) | head -n 1" returned non-zero status make[4]: "/usr/src/share/mk/bsd.linker.mk" line 58: warning: Unknown = linker from XLD=3D/usr/local/powerpc64-unknown-freebsd12.0/bin/ld: , = defaulting to bfd The two "make[4]" lines are consequences of the prior "sh: head: not = found" issue that leaded to a "non-zero status" independent of the prior = "--version" and "echo none" material. It then leads to assuming bfd. Using LOCAL_ITOOLS=3Dhead makes head available and so then the status = value check works. On 2017-Nov-25, at 4:54 PM, Mark Millard wrote: . . . On 2017-Jul-26, at 3:06 AM, Mark Millard wrote: . . . =3D=3D=3D Mark Millard marklmi26-fbsd at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Mon May 14 13:57:05 2018 Return-Path: Delivered-To: freebsd-toolchain@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 10AD7DC4331 for ; Mon, 14 May 2018 13:57:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9E43E7F322 for ; Mon, 14 May 2018 13:57:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5DE7BDC432C; Mon, 14 May 2018 13:57:04 +0000 (UTC) Delivered-To: toolchain@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 4B59DDC4314 for ; Mon, 14 May 2018 13:57:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D8A0E7F305 for ; Mon, 14 May 2018 13:57:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0D1C5C55D for ; Mon, 14 May 2018 13:57:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4EDv2mV096845 for ; Mon, 14 May 2018 13:57:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4EDv2Rs096844 for toolchain@FreeBSD.org; Mon, 14 May 2018 13:57:02 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 227723] clang 6.0 breaks php56/opcache Date: Mon, 14 May 2018 13:57:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iron.udjin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ale@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.26 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, 14 May 2018 13:57:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227723 iron.udjin@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iron.udjin@gmail.com --- Comment #8 from iron.udjin@gmail.com --- After I manually applied this patch to php56-5.6.36 on 11.2-PRERELEASE r333= 394 it fixed the problem with opcache. Please commit this patch. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Mon May 14 14:25:10 2018 Return-Path: Delivered-To: freebsd-toolchain@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 D736BDDBBD6 for ; Mon, 14 May 2018 14:25:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6F7AF876A6 for ; Mon, 14 May 2018 14:25:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2B268DDBBD5; Mon, 14 May 2018 14:25:10 +0000 (UTC) Delivered-To: toolchain@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 18E2ADDBBD3 for ; Mon, 14 May 2018 14:25:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA182876A0 for ; Mon, 14 May 2018 14:25:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EC1B8C993 for ; Mon, 14 May 2018 14:25:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4EEP8PE090436 for ; Mon, 14 May 2018 14:25:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4EEP8HC090435 for toolchain@FreeBSD.org; Mon, 14 May 2018 14:25:08 GMT (envelope-from bugzilla-noreply@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: [Bug 227723] clang 6.0 breaks php56/opcache Date: Mon, 14 May 2018 14:25:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ale@FreeBSD.org X-Bugzilla-Flags: 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.26 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, 14 May 2018 14:25:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227723 --- Comment #9 from commit-hook@freebsd.org --- A commit references this bug: Author: flo Date: Mon May 14 14:24:14 UTC 2018 New revision: 469895 URL: https://svnweb.freebsd.org/changeset/ports/469895 Log: Prevent php 5.6 (opcache) from segfaulting when compiled with clang 6.0 PR: 227723 Submitted by: dim Reported by: flo, lampa@fit.vutbr.cz Approved by: maintainer timeout MFH: 2018Q2 Changes: head/lang/php56/Makefile head/lang/php56/files/patch-Zend_zend__compile.h head/lang/php56/files/patch-Zend_zend__execute.h --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Mon May 14 16:10:19 2018 Return-Path: Delivered-To: freebsd-toolchain@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 D7792DF7CFE for ; Mon, 14 May 2018 16:10:19 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from smtp.freebsd.org (unknown [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 88C4180AF7; Mon, 14 May 2018 16:10:19 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (ralph.baldwin.cx [66.234.199.215]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 5460D17E7D; Mon, 14 May 2018 16:10:19 +0000 (UTC) (envelope-from jhb@freebsd.org) From: John Baldwin To: Mark Millard , delphij@freebsd.org Cc: freebsd-toolchain@freebsd.org Subject: Re: svn commit: r469449 - in head: Mk base/binutils base/gcc base/gcc/files Date: Mon, 14 May 2018 09:00:49 -0700 Message-ID: <1682545.a7oihbGy4G@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.1-STABLE; KDE/4.14.30; amd64; ; ) In-Reply-To: <7DA47BC9-CA07-4C34-B4C6-78B0081A7E19@yahoo.com> References: <7DA47BC9-CA07-4C34-B4C6-78B0081A7E19@yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 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, 14 May 2018 16:10:20 -0000 On Saturday, May 12, 2018 10:38:20 PM Mark Millard wrote: > pkg-plist.mips seems to be missing any objcopy variant. (Is objcopy not needed?) > (Only this mips variant uses %%BUTARGET%% notation in the pkg-plist.* file.) > > pkg.plist.powerpc64 has 3 objcopy variants/places but 2 man1's. > > pkg.plist.sparc64 has 2 objcopy variants/places but one man1. > (no bin/sparc64-unknown-freebsd*-objcopy nor > man1/sparc64-unknown-freebsd*-objcopy.1.gz compared to powerpc64) > > pkg.plist.sparc64 is not using the *-unknown-freebsd* style of naming > at all. (Not limited to objcopy.) I'm guessing it was not updated when > base/binutils/Makefile got: > > BUTARGET= ${ARCH}-unknown-${OPSYS:tl}${OSREL} > > and base/gcc/Makefile got: > > GCC_TARGET= ${ARCH}-unknown-${OPSYS:tl}${OSREL} > > > > Details: > > # pwd > /usr/ports/base/binutils > > # grep objcopy pkg-plist.* > pkg-plist.powerpc64:bin/objcopy > pkg-plist.powerpc64:bin/powerpc64-unknown-freebsd12.0-objcopy > pkg-plist.powerpc64:powerpc64-unknown-freebsd12.0/bin/objcopy > pkg-plist.powerpc64:share/man/man1/objcopy.1.gz > pkg-plist.powerpc64:share/man/man1/powerpc64-unknown-freebsd12.0-objcopy.1.gz > pkg-plist.sparc64:bin/objcopy > pkg-plist.sparc64:share/man/man1/objcopy.1.gz > pkg-plist.sparc64:sparc64-freebsd/bin/objcopy > > # svnlite info /usr/ports/ | grep "Re[plv]" > Relative URL: ^/head > Repository Root: svn://svn.freebsd.org/ports > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 > Revision: 469767 > Last Changed Rev: 469767 > > (I've never used/targeted mips or sparc64 but > I've targeted powerpc64 some of the time.) Yes, we are now using objcopy from elftoolchain and it seems that base/binutils was not updated when that happened. We should probably remove objcopy from the other plists. It would probably be best to use BUTARGET in the plist files. It would perhaps be really useful to start building base/binutils and base/gcc on a regular basis on platforms they have been ported to to detect regressions. At some point we are going to want to have package repositories with those available as well, but perhaps I can work with Xin Li to start building worlds via external toolchains which can then be used as CROSS_SYSROOTs to build pkg, base/binutils, and base/gcc in Jenkins. -- John Baldwin From owner-freebsd-toolchain@freebsd.org Mon May 14 17:50:55 2018 Return-Path: Delivered-To: freebsd-toolchain@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 549B4DFD237; Mon, 14 May 2018 17:50:55 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB7EA7B8BA; Mon, 14 May 2018 17:50:54 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it0-x229.google.com with SMTP id p3-v6so12422774itc.0; Mon, 14 May 2018 10:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=KeD+v2ksyTZGBeMeecyIVeHVm7HyBB7lVqL1sBunHGo=; b=koolnF0h/jaA+D3fXDF6fBf1VeNYkO2dkqq8x1ydfPlBmgIMJQjEQSNkAWmFxM2wWL 5A1QV9gsDGK1R6Rt7kwP8GguwBVkA/gGDVhBgRfcqGO1q1Ueoyi0UNFRGevVLL0qoFUh SGnnSN4t5mYP265TrXbyg5zR0vT42eFOsjFI+jxzRF/UqMawRRsywDRQnCFAD/yw7uOL cDiyeHq3JxkqL5oTL3RMHYnPUbZhWKwnQC5lSmw+bAylThHrIgMxbgxbYzbZvBWRKp4R Epk4/DbvxxztE1tqR027GVKvhal1opXyjygi3Q+pq080yace5A+/Dn5tj0L+/jsdrSBp VV2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=KeD+v2ksyTZGBeMeecyIVeHVm7HyBB7lVqL1sBunHGo=; b=OwiDVhErubHdd9Ckr5lJAJeeGWNZzydUia8Miu9jhh7ixPq2F6w2jC2YmkAmx+6oUY itjveK22auKl2mGBFrSdtUlfqx3wQAXgVz36KB8Bi8of7xwEOQXcDrFmtB3u1xaeC+HO 5V56gpq1KBBVC/FsCZiy24O0u/I0S3hjrXqY+2PcHTgEvHdvVsCla7yQwhwUrTvJmyaZ n1X0FpGoVlmK9lMOiDhyISxHPhGDYPZrmZcFtH/jkfpGaj2ZjbeNUZWMKcFjhDxL6RaJ r9exYmpAhN0QDHjnXt4cZNU/XV5OV3TVDZrSqknVAqpmFRNTLaG73/8f1wW7lAT2C7nw +Ajg== X-Gm-Message-State: ALKqPwcoak00czj7LD8/TlxQJhoEeuROi6+WqfbYzp3N8W+zCsjMIWyQ +t6xugyyyVa1bKhK05NgMf4W+FwMoLm9Hro27fwwjQ== X-Google-Smtp-Source: AB8JxZrByTOhuptaKq3MXIiy8kak23eSj22GvnoNMPJ6QD1a3oKefgNbiI33JJXzH7q2mmkgqZsO3/0VcP1RDF9uMrA= X-Received: by 2002:a24:3555:: with SMTP id k82-v6mr10373058ita.49.1526320254222; Mon, 14 May 2018 10:50:54 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.130.167 with HTTP; Mon, 14 May 2018 10:50:33 -0700 (PDT) From: Ed Maste Date: Mon, 14 May 2018 13:50:33 -0400 X-Google-Sender-Auth: 1o2Dlmi1Wq8lJ9WbLbn_85l46ZQ Message-ID: Subject: HEADS-UP: Linker issues building amd64 kernels with config & make To: FreeBSD Current , "freebsd-toolchain@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 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, 14 May 2018 17:50:55 -0000 As of r333461 the amd64 kernel makes use of ifuncs, and requires support in the linker. A safety belt added in r333470 enforces this, and will produce an explicit error if the linker does not support ifuncs. lld is the default bootstrap linker for amd64 and has ifunc support. The typical 'make buildworld' (or kernel-toolchain) followed by 'make buildkernel' process will use lld and successfully link a working kernel. The old-style kernel build (using 'config' followed by a 'make' in the kernel directory) uses the host linker (/usr/bin/ld). This still defaults to GNU ld 2.17.50, which does not support ifuncs. This can be worked around in one of two ways: 1. Install lld as the system linker (/usr/bin/ld), by adding WITH_LLD_IS_LD to /etc/src.conf and building and install world. WITH_LLD_IS_LD will become the default on amd64 in the near future - I'm just waiting on updates to the lang/ghc port and another exp-run. 2. Override LD when you build the kernel: $ LD=ld.lld make These tool chain components will undergo additional changes for the next while. From owner-freebsd-toolchain@freebsd.org Mon May 14 18:15:15 2018 Return-Path: Delivered-To: freebsd-toolchain@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 E5783DFE642 for ; Mon, 14 May 2018 18:15:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 813BC7FCB5 for ; Mon, 14 May 2018 18:15:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3EA84DFE639; Mon, 14 May 2018 18:15:14 +0000 (UTC) Delivered-To: toolchain@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 2A077DFE635 for ; Mon, 14 May 2018 18:15:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B415E7FCB4 for ; Mon, 14 May 2018 18:15:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0BA33E9C6 for ; Mon, 14 May 2018 18:15:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4EIFCfv045307 for ; Mon, 14 May 2018 18:15:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4EIFC0e045296 for toolchain@FreeBSD.org; Mon, 14 May 2018 18:15:12 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 227723] clang 6.0 breaks php56/opcache Date: Mon, 14 May 2018 18:15:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: flo@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ale@FreeBSD.org X-Bugzilla-Flags: 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.26 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, 14 May 2018 18:15:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227723 Florian Smeets changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --- Comment #10 from Florian Smeets --- Patch was committed to the tree. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Tue May 15 00:05:04 2018 Return-Path: Delivered-To: freebsd-toolchain@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 46207EA94A2; Tue, 15 May 2018 00:05:04 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF3A67882D; Tue, 15 May 2018 00:05:03 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 7A6FABF1; Tue, 15 May 2018 00:05:03 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 5DC0A5B0C; Tue, 15 May 2018 00:05:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id A7DfIo8VZORh; Tue, 15 May 2018 00:04:59 +0000 (UTC) To: Mark Millard DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 0E9605B04 Cc: FreeBSD Toolchain , FreeBSD PowerPC ML References: <0E42D991-D350-4DC1-A683-CEA506167520@dsl-only.net> <8F22B659-90DE-42E5-B4C6-75C9B9626462@dsl-only.net> <8EB87EA5-0ED6-4F46-80FC-1A0DB29CF7D6@dsl-only.net> <84A73CB0-CBCB-4EE4-A4B7-B8B2F25EECB5@yahoo.com> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Autocrypt: addr=bdrewery@FreeBSD.org; prefer-encrypt=mutual; keydata= xsBNBFJphmsBCADiFgmS4bIzwZijrS31SjEMzg+n5zNellgM+HkShwehpqCiyhXdWrvH6dTZ a6u50pbUIX7doTR7W7PQHCjCTqtpwvcj0eulZva+iHFp+XrbgSFHn+VVXgkYP2MFySyZRFab D2qqzJBEJofhpv4HvY6uQI5K99pMqKr1Z/lHqsijYYu4RH2OfwB5PinId7xeldzWEonVoCr+ rfxzO/UrgA6v/3layGZcKNHFjmc3NqoN1DXtdaEHqtjIozzbndVkH6lkFvIpIrI6i5ox8pwp VxsxLCr/4Musd5CWgHiet5kSw2SzNeA8FbxdLYCpXNVu+uBACEbCUP+CSNy3NVfEUxsBABEB AAHNJEJyeWFuIERyZXdlcnkgPGJkcmV3ZXJ5QEZyZWVCU0Qub3JnPsLAgAQTAQoAKgIbAwUL CQgHAwUVCgkICwUWAwIBAAIeAQIXgAIZAQUCWujOIgUJCmB7NwAKCRA113G7bkaXz/xpB/9b /UWIPbieY1IeIuHF2pyYPE7Hytkh3HVsxMA0F5Ma2AYQsXZZeKNKWrF7RPyDyDwUklLHJkhm k3EfClBbHxf08kMIm1vWCJRtgxic9knY/bzYGiWMpHjg3cSd1XfrYH1autYqTZAjDwIkgOjU dR//Tbn4V36sY7y2jz+kdMVWvK53U32aZqiwBbCn4DPe1wSZcUs17mV/0uZdIoGdj74B1orN A/0py5vHYo6HcbBNoaR8pKRLf5VZNRsxqGIMhTucx4SJWcHpuRBWYyvJSFzwvxdK4ZD4Yqoc kFGPVtOXktVMai9exrLvP3G77fKMu8DI6j4QRU4wCesnHuIfRPFuzsBNBFJphmsBCACiVFPf kNfaFtUSuY0395ueo/rMyHPGPQ2iwvERFCpeFGSQSgagpenNHLpFQKTg/dl6FOoST5tqyxMq fyHGHDzzU51bvA/IfaGoNi/BIhTe/toZNMRvpcI3PLjiGcnJnuwCCbAVOAGdb+t5cZtpNdOI cKYmrYG3u9RiBpe6dTF+qLrD/8Bs1wjhduQ8fcNNgnkXu8xDH4ZxY0lIc3QgvYWp9vimlQe6 iKjUd2/DX28ETZcD5h6pYV331KMPTrEI0p0yvFijUZce8c1XHFyL1j9sBAha5qpszJl6Uq5i LolhKRcGfcdmtD72vHQjUYglUyudSJUVyo2gMYjdbiFKzJulABEBAAHCwGUEGAEKAA8CGwwF AlrozigFCQpgez0ACgkQNddxu25Gl8+m5Af/R3VEdxNMAcDIes9ADhQyofj20SPV3eCJ3HYR OebTSuNdOudGt4AAyA8Ks94u9hiIp5IGsc6RDsT9W7O2vgXhd6eV3eiY5Oif5xLIYrIDVu1Y 1GyRxRrPEn/QOqDN6uFZCPwK1aOapGcYCrO9lB0gMuTVfgHanU61rgC9tMX0OoAOyRd+V3/M 8lDNhjJdF/IpO3SdYzKfkwduy4qamw4Gphcx/RfYQvYLq/eDkP8d50PphWdboqWBwNRHayro W/07OGzfxM5fJ5mBsXPQcO2QcRjkyHf6xCM6Hi1qQL4OnXMNE/ZTX0lnOj1/pH93TlzSHZMP TaiiA/MBD3vGsXBmBg== Organization: FreeBSD Subject: Re: Still true at -r333575 : head -r320458 (e.g.) amd64 -> powerpc64 cross build's install32 during installworld: /usr/src/share/mk/bsd.linker.mk tried to use "head" when PATH provided no access (head is missing) Message-ID: <9086ff35-009b-c965-4970-3f8ad4fe6e6b@FreeBSD.org> Date: Mon, 14 May 2018 17:04:54 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <84A73CB0-CBCB-4EE4-A4B7-B8B2F25EECB5@yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xUnsQmDdAaQK1ZcNG661OOtPY8XP2g7nN" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 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, 15 May 2018 00:05:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xUnsQmDdAaQK1ZcNG661OOtPY8XP2g7nN Content-Type: multipart/mixed; boundary="1ETGVcUMnAsaAkxy3gD8mKaG2yODbb5zi"; protected-headers="v1" From: Bryan Drewery To: Mark Millard Cc: FreeBSD Toolchain , FreeBSD PowerPC ML Message-ID: <9086ff35-009b-c965-4970-3f8ad4fe6e6b@FreeBSD.org> Subject: Re: Still true at -r333575 : head -r320458 (e.g.) amd64 -> powerpc64 cross build's install32 during installworld: /usr/src/share/mk/bsd.linker.mk tried to use "head" when PATH provided no access (head is missing) References: <0E42D991-D350-4DC1-A683-CEA506167520@dsl-only.net> <8F22B659-90DE-42E5-B4C6-75C9B9626462@dsl-only.net> <8EB87EA5-0ED6-4F46-80FC-1A0DB29CF7D6@dsl-only.net> <84A73CB0-CBCB-4EE4-A4B7-B8B2F25EECB5@yahoo.com> In-Reply-To: <84A73CB0-CBCB-4EE4-A4B7-B8B2F25EECB5@yahoo.com> --1ETGVcUMnAsaAkxy3gD8mKaG2yODbb5zi Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 5/13/2018 1:13 AM, Mark Millard wrote: > Retrying the amd64 -> powerpc64 cross build via a powerpc64-gcc > this time, combined with WITH_LIB32=3D , got: "sh: head: not found" and= its > later consequences, like before for installworld (to a directory on the= > amd64 host context). This is from the /usr/src/share/mk/bsd.linker.mk l= ine > that results in: >=20 > (/usr/local/powerpc64-freebsd/bin/ld --version || echo none) | head -n = 1 >=20 > but head is not available by default at the time (lib32 context). (I ma= ke > head be available via using LOCAL_ITOOLS=3Dhead in order to work around= the > issue.) >=20 > An example of the messages (without having LOCAL_ITOOLS=3Dhead) is: >=20 > --- _installlinks --- > install -l s ../../libexec/ld-elf32.so.1 /usr/obj/DESTDIRs/xtcgcc-powe= rpc64-installworld/usr/libexec/ld-elf32.so.1 > cd /usr/src/usr.bin/ldd; PROG=3Dldd32 . . . > . . . > . . . MAKEOBJDIRPREFIX=3D MK_MAN=3Dno MK_HTML=3Dno MK_TOOLCHAIN=3Dno = -DLIBRARIES_ONLY install > sh: head: not found > make[4]: "/usr/src/share/mk/bsd.linker.mk" line 47: warning: "(/usr/loc= al/powerpc64-unknown-freebsd12.0/bin/ld --version || echo none) | head -n= 1" returned non-zero status > make[4]: "/usr/src/share/mk/bsd.linker.mk" line 58: warning: Unknown li= nker from XLD=3D/usr/local/powerpc64-unknown-freebsd12.0/bin/ld: , defaul= ting to bfd >=20 >=20 > The two "make[4]" lines are consequences of the prior "sh: head: not fo= und" > issue that leaded to a "non-zero status" independent of the prior "--ve= rsion" > and "echo none" material. It then leads to assuming bfd. >=20 > Using LOCAL_ITOOLS=3Dhead makes head available and so then the status v= alue > check works. >=20 Sure but this command being executed never should be executing during install; Adding 'head' as a tool isn't the right fix. I have never been able to recreate the problem here. I have an idea I'll test. >=20 >=20 > On 2017-Nov-25, at 4:54 PM, Mark Millard wrote:= >=20 > . . . >=20 > On 2017-Jul-26, at 3:06 AM, Mark Millard wrote:= >=20 > . . . >=20 > =3D=3D=3D > Mark Millard > marklmi26-fbsd at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) >=20 >=20 >=20 >=20 >=20 >=20 --=20 Regards, Bryan Drewery --1ETGVcUMnAsaAkxy3gD8mKaG2yODbb5zi-- --xUnsQmDdAaQK1ZcNG661OOtPY8XP2g7nN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJa+iQqAAoJEDXXcbtuRpfPFDAH/334+Sv8BYDx1h4oqNyzvlYV qJ2WHfrIPj7kOUD+GP2JnInTcZwJaz3cTGqjw0Ao5zf0hJR942c5nksixcIf6wgn l8hHV6z1g1lENR80WYRE96K0mj8bRlEeZtpvZqLQyZPioG1U5p51rELj/UTIZdtt sColEQBk+xrvh890d5HYtYs4cmKCHfoqg1+XeDsBynDW2DvVJ4Q8tsiy39dl3YBA FR0zqkrUc/3xiHGu6F5rVYtWlrgmkM+A/dbA39G/htPjqoOFSGTTK4uMdkNbN4km 7KGTMYWGM7YWDqVS2Q/W5vq7zPwbF3Gi1ZQd3zATWZJ/ZjRXKqbyKyeLmuPHPOI= =yLqe -----END PGP SIGNATURE----- --xUnsQmDdAaQK1ZcNG661OOtPY8XP2g7nN-- From owner-freebsd-toolchain@freebsd.org Tue May 15 04:50:39 2018 Return-Path: Delivered-To: freebsd-toolchain@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 6ABABEDAFF2 for ; Tue, 15 May 2018 04:50:39 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic315-15.consmr.mail.bf2.yahoo.com (sonic315-15.consmr.mail.bf2.yahoo.com [74.6.134.125]) (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 0B96A7917D for ; Tue, 15 May 2018 04:50:38 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: Gk_j_qMVM1mbodRsAZ8D6nQjEyLBHNkTtN4GjuZW8FYmIwXwG2kKP4ihZTFoHSI wfUooZovyXSR5D9YF4mOXn5xObh7KJrTmDOIysoTyKYgHUp21V79uo36kNkBx9FkH3oeIa003HUT K0a1RRJE1IMhMnY4QWz2U.C5swvygBbzql3QuYkKdoM2EtQ52w50P18sOWWUWEE3EalTiF0wqyV8 2JQzNoPXfi1kKm7r53ih19Gj_N4edZysBAbuR8h42rn0bkYjSf2qPCLi1jY0KxXTc4rs8GZbhBcM 3bmabAS8iMfxSF.gF46huG0I4LC6EMdDdd.bXk0_tJdEkpaDfospCQ9JesE22kUmpe0JcFQ6inWd BXrrjN09mt_uiRg9.lW6ixkqpSUVGte5efycb7UN1eobC2f3RwdLQbEVb99ovliSp69qv_CmK0VC _awVW3uyoNPaTbWuXobfUgDX88UE677rqVShDCpL_JLP_STdIYfrHQ_T5eag8kp1..6EAwqPlQx8 H.xKpchBIi3UFPTFV33UYOQOdDxfWII4aalqgqYuHYlrQYpxMmH9tdQzs6sgB.nAwWvlx9U_rUZK HtAmvLhF8qViK1F.wRCA8BUMG_ABm8JFqRwJbWXKIDpLwfyGEUez5SX0IuiHEr_MFE8f5wuDkcBH 9G3Y4NcAH Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.bf2.yahoo.com with HTTP; Tue, 15 May 2018 04:50:32 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp412.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 2b4020e8bcedf8052415af0c6d6ae7f2; Tue, 15 May 2018 04:50:29 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: svn commit: r469449 - in head: Mk base/binutils base/gcc base/gcc/files From: Mark Millard In-Reply-To: <1682545.a7oihbGy4G@ralph.baldwin.cx> Date: Mon, 14 May 2018 21:50:26 -0700 Cc: delphij@freebsd.org, freebsd-toolchain@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <7DA47BC9-CA07-4C34-B4C6-78B0081A7E19@yahoo.com> <1682545.a7oihbGy4G@ralph.baldwin.cx> To: John Baldwin X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 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, 15 May 2018 04:50:39 -0000 On 2018-May-14, at 9:00 AM, John Baldwin wrote: > On Saturday, May 12, 2018 10:38:20 PM Mark Millard wrote: >> . . . >> > > Yes, we are now using objcopy from elftoolchain and it seems that > base/binutils was not updated when that happened. We should probably > remove objcopy from the other plists. > > It would probably be best to use BUTARGET in the plist files. > > It would perhaps be really useful to start building base/binutils and > base/gcc on a regular basis on platforms they have been ported to to > detect regressions. At some point we are going to want to have > package repositories with those available as well, but perhaps I can > work with Xin Li to start building worlds via external toolchains > which can then be used as CROSS_SYSROOTs to build pkg, base/binutils, > and base/gcc in Jenkins. > I'll note that for powerpc64, and the historical range of devel/powerpc64-gcc vintages that I've tried over the years, I've never had a WITH_LIB32= buildworld end up with a lib32 environment that worked. crtbeginS seems to get some code generation (register usage) from the wrong ABI and ends up using R30's value as a bad-address to dereference inappropriately. WITHOUT_LIB32= may be appropriate. (lib32 works in my experimental clang-based buildworlds. But clang has other problems for powerpc64 and 32-bit powerpc.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Tue May 15 13:07:12 2018 Return-Path: Delivered-To: freebsd-toolchain@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 50537ED87AB for ; Tue, 15 May 2018 13:07:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DC8E883F42 for ; Tue, 15 May 2018 13:07:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 999B9ED87A9; Tue, 15 May 2018 13:07:11 +0000 (UTC) Delivered-To: toolchain@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 73E48ED87A8 for ; Tue, 15 May 2018 13:07:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0948A83F19 for ; Tue, 15 May 2018 13:07:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 403AB1881A for ; Tue, 15 May 2018 13:07:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4FD7A8p045889 for ; Tue, 15 May 2018 13:07:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4FD7AMa045888 for toolchain@FreeBSD.org; Tue, 15 May 2018 13:07:10 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 220822] Missing libatomic.a for clang? Date: Tue, 15 May 2018 13:07:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dbaio@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- 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.26 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, 15 May 2018 13:07:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220822 Danilo G. Baio changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dbaio@freebsd.org --- Comment #7 from Danilo G. Baio --- I am getting this error when building dns/knot2 only in FreeBSD 12 i386, cl= ang 6.0.0, pr #227620. ./.libs/libknotd.a(libknotd_la-query_module.o): In function `knotd_mod_stats_incr': query_module.c:(.text+0x9d0): undefined reference to `__atomic_fetch_add_8' ./.libs/libknotd.a(libknotd_la-query_module.o): In function `knotd_mod_stats_decr': query_module.c:(.text+0xa80): undefined reference to `__atomic_fetch_sub_8' ./.libs/libknotd.a(libknotd_la-query_module.o): In function `knotd_mod_stats_store': query_module.c:(.text+0xb30): undefined reference to `__atomic_store_8' cc: error: linker command failed with exit code 1 (use -v to see invocation) ------------------------------------------------------------------------ root@12-i386-head:~ # gcc6 -dM -E -x c /dev/null | grep LLONG_LOCK #define __GCC_ATOMIC_LLONG_LOCK_FREE 1 root@12-i386-head:~ # clang -dM -E -x c /dev/null | grep LLONG_LOCK #define __CLANG_ATOMIC_LLONG_LOCK_FREE 1 #define __GCC_ATOMIC_LLONG_LOCK_FREE 1 root@12-i386-head:~ # clang --version FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) ------------------------------------------------------------------------ root@11-i386-head:~ # gcc6 -dM -E -x c /dev/null | grep LLONG_LOCK #define __GCC_ATOMIC_LLONG_LOCK_FREE 1 root@11-i386-head:~ # clang -dM -E -x c /dev/null | grep LLONG_LOCK #define __GCC_ATOMIC_LLONG_LOCK_FREE 1 root@11-i386-head:~ # clang --version FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) ------------------------------------------------------------------------ --=20 You are receiving this mail because: You are the assignee for the bug.=