From owner-freebsd-ppc@freebsd.org Mon Jun 24 02:23:48 2019 Return-Path: Delivered-To: freebsd-ppc@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 3769315BC07B for ; Mon, 24 Jun 2019 02:23:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D2421814BD for ; Mon, 24 Jun 2019 02:23:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id ABA6A1269; Mon, 24 Jun 2019 02:23:47 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id A93151268 for ; Mon, 24 Jun 2019 02:23:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36839814B9 for ; Mon, 24 Jun 2019 02:23:47 +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 8E3BE1A4D4 for ; Mon, 24 Jun 2019 02:23:46 +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 x5O2Nkpw004850 for ; Mon, 24 Jun 2019 02:23:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5O2NkKV004847 for powerpc@FreeBSD.org; Mon, 24 Jun 2019 02:23:46 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: powerpc@FreeBSD.org Subject: [Bug 238724] textproc/asciidoc 8.6.10 requires python 2.7 in spite of make.conf DEFAULT_VERSIONS+=python=3.7 Date: Mon, 24 Jun 2019 02:23:46 +0000 X-Bugzilla-Reason: 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: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: flagtypes.name bug_status cc 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-Rspamd-Queue-Id: D2421814BD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.989,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2019 02:23:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238724 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(sunpoe |maintainer-feedback+ |t@FreeBSD.org) | Status|New |Closed CC| |python@FreeBSD.org Resolution|--- |Works As Intended --- Comment #4 from Kubilay Kocak --- >From the (8.6.10) README [1]: NOTE: The current version of AsciiDoc requires *Python 2.6 or 2.7* to run.=20=20 There is an open issue for a Python 3 port: python 3 port of asciidoc https://github.com/asciidoc/asciidoc/issues/83 Currently the port exists as a 'fork' with its own site, not as a PR against upstream asciidoc code. Efforts to have upstream code support Python 3 shou= ld be directed upstream. At present, asciidoc requiring 2.7 is a reflection of actual and current Py= thon support upstream, and is intended behaviour / not a bug [1] https://github.com/asciidoc/asciidoc/blob/8.6.10/INSTALL.txt --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Tue Jun 25 02:41:04 2019 Return-Path: Delivered-To: freebsd-ppc@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 9EAFB15B8821 for ; Tue, 25 Jun 2019 02:41:04 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 952206CACA for ; Tue, 25 Jun 2019 02:41:02 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-lj1-x229.google.com with SMTP id x25so14629653ljh.2 for ; Mon, 24 Jun 2019 19:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alumni-cwru-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=ltxLfPFZfgOlZ6YPO9ZfbMW8wx4Hh5Y6gcpp2DmF2xs=; b=isj+t3GHs0vIkJFjA5ncJSZTRmTXwsl9E9UxN0g+8O2K6zV6GtP3IE/ooWpb6rWsCP 8aWukGRAiJCFxzY2ED4mBrGb3qaJoKQpWcNzy/oUPD90IeUtoY0Q9iIvNc1X7blaU63U GZjKQnf5NAcBKZDNChDP4/u8MGtIXixZk6seuu5in2U6u6cVBY05Tu0Xsu30MbJ5nmwh 6b8tN75twHOcg+P77B1Bul/aTEUX9UvdKExeqS6NkZirTotyDXRYcPvJqOTD3daUQgnY ++zP6mAD1TsQHbooqfULcYd4h1rj8tmPK9qRw/Wx4puGua7ry+Ph6zTjKLltsgjQpVJ0 7rtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ltxLfPFZfgOlZ6YPO9ZfbMW8wx4Hh5Y6gcpp2DmF2xs=; b=owwh3m/rhJdWVTRco0So1CQICt3BSGr4vvwKxZ+lUyS8j6AAuElKzK1khpTTaIWGDe rz7/gj2c8OFow7Rbe+sZ9sUp9nzqsfhNNP0i+dJF2e29IH6wueDqB7Cx8C5nlcIClckU QJe6HlMie5wMPLTzo3affGp9Amn0Ff9r2E130ERk7+BjiYwig+o1RVjM6k/GSxaP7FLP t3qsTEys1VKjnYXC1gTyzXpdKQBEWS79B5k+FX4FqwDqUSrMula1l97PW0ZG/eEzgEkf GWGyumPnWJ5MRkvRnxfiZkQdSdPOq0TEonhYEEJmy2lb+9s4rCdAeZL9exbhHHZA56JO OtRA== X-Gm-Message-State: APjAAAWZAZPEBT4wT6ceJojxH+Nrlo5iZVBDBLT2P3LlUBrbu6STBeGv uPkBOk5iM84ghRf6AWDL593z6NeltiR1UtzgnLfGMFQ+ X-Google-Smtp-Source: APXvYqz4V4EDUIKZzMco55L+ZC1rD1c3QMcjiG9hU/xaL6d4t6OQ9glA/bHPy5wFOvf5+X3y/OyYcIJlUwtovAajRqk= X-Received: by 2002:a2e:6e0c:: with SMTP id j12mr60108230ljc.123.1561430460490; Mon, 24 Jun 2019 19:41:00 -0700 (PDT) MIME-Version: 1.0 From: Justin Hibbits Date: Mon, 24 Jun 2019 21:40:48 -0500 Message-ID: Subject: FreeBSD/powerpc and FreeBSD/powerpcspe toolchain update To: FreeBSD PowerPC ML Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 952206CACA X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alumni-cwru-edu.20150623.gappssmtp.com header.s=20150623 header.b=isj+t3GH; spf=pass (mx1.freebsd.org: domain of chmeeedalf@gmail.com designates 2a00:1450:4864:20::229 as permitted sender) smtp.mailfrom=chmeeedalf@gmail.com X-Spamd-Result: default: False [-6.06 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[alumni-cwru-edu.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[cwru.edu]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[alumni-cwru-edu.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[9.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.95)[-0.951,0]; IP_SCORE(-2.90)[ip: (-9.56), ipnet: 2a00:1450::/32(-2.57), asn: 15169(-2.33), country: US(-0.06)]; FORGED_SENDER(0.30)[jrh29@alumni.cwru.edu,chmeeedalf@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[jrh29@alumni.cwru.edu,chmeeedalf@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jun 2019 02:41:05 -0000 As of r349351 32-bit powerpc toolchains need to be rebuilt as part of buildworld, in order to take advantage of the new Secure Procedure Linkage Table (Secure-PLT) format. This can be done by passing "WITHOUT_SYSTEM_TOOLCHAIN=" on the 'make buildworld' command line. Cross-building should work fine with no changes, as that already builds a new toolchain. If building with an external toolchain, such as gcc8, add 'CFLAGS+= -msecure-plt' to /etc/src.conf to ensure the new PLT is used, otherwise it will default to BSS-PLT, which is fully compatible, but not as secure. There is breakage intended at all, so please let me know if there are any problems. I will submit ports updates for review in the next few days, so that ports can implicitly take advantage of secure-PLT as well. - Justin From owner-freebsd-ppc@freebsd.org Tue Jun 25 17:16:46 2019 Return-Path: Delivered-To: freebsd-ppc@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 211F315D1FB4 for ; Tue, 25 Jun 2019 17:16:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BBD496D019 for ; Tue, 25 Jun 2019 17:16:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 942A11FD81; Tue, 25 Jun 2019 17:16:45 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 8DC761FD80 for ; Tue, 25 Jun 2019 17:16:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2238A6D016 for ; Tue, 25 Jun 2019 17:16:45 +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 63BE0F3E7 for ; Tue, 25 Jun 2019 17:16:44 +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 x5PHGisU056117 for ; Tue, 25 Jun 2019 17:16:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5PHGiEj056116 for powerpc@FreeBSD.org; Tue, 25 Jun 2019 17:16:44 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: powerpc@FreeBSD.org Subject: [Bug 232387] head -r345558 (updated): system crash during kldload if_epair on powerpc64 (for more modern buildworld buildkernel toolchain experiments), Probably also: ipfw.ko linuxkpi.ko siftr.ko Date: Tue, 25 Jun 2019 17:16:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: vimage 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: powerpc@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-Rspamd-Queue-Id: BBD496D019 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.971,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jun 2019 17:16:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232387 --- Comment #24 from commit-hook@freebsd.org --- A commit references this bug: Author: luporl Date: Tue Jun 25 17:15:45 UTC 2019 New revision: 349377 URL: https://svnweb.freebsd.org/changeset/base/349377 Log: [PowerPC64] Don't mark module data as static Fixes panic when loading ipfw.ko and if_epair.ko built with modern compil= er. Similar to arm64 and riscv, when using a modern compiler (!gcc4.2), code generated tries to access data in the wrong location, causing kernel panic (data storage interrupt trap) when loading if_epair and ipfw. Issue was reproduced with kernel/module compiled using gcc8 and clang8. It affects both ELFv1 and ELFv2 ABI environments. PR: 232387 Submitted by: alfredo.junior_eldorado.org.br Reported by: Mark Millard Reviewed by: jhibbits Differential Revision: https://reviews.freebsd.org/D20461 Changes: head/sys/net/vnet.h head/sys/sys/pcpu.h --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Wed Jun 26 23:56:47 2019 Return-Path: Delivered-To: freebsd-ppc@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 999C415D5273 for ; Wed, 26 Jun 2019 23:56:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-22.consmr.mail.ne1.yahoo.com (sonic305-22.consmr.mail.ne1.yahoo.com [66.163.185.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 3848D8CB8B for ; Wed, 26 Jun 2019 23:56:45 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: f3GXMqYVM1ki9vCpQYGgi6XhOWEt_UK1LIFEdtaMsjHe6A_DmyKirWhdCuDNLd_ DzP405Z6r93vqOROkRT8owdZkVtv1VYGmCyde_Xk1.QtOY0Fk9dhQe_whGMYwAmOaMC5dVyJW6MW Mq9YUiT0HzPx3CRTellemJtNV7Zf7hBqZS_HuCH44bJ3I7atW9zXZRxG.VLN2glOoNaJzqmfAdv_ 1wXS_sw6xRX3yuzSdL9ug3ZySt0OhTgme5QPtBS3.Zk6Zp6jlKV_x6RfJJJd2T13TaAZ9DpYDx_0 RMr2ui7x6K7UElgv5UcyeyWb7A5LE_9LE9JmCrjG1r4L.mrEz4vbFwWjlyvaW9LLBYNT5FDq9GIg fbFCXN49toRwVjaq0DxLadjDxmbdN299hGj3VwyrZKxdXcwxWcEY7e28k5wnMVzbb1YN4sn.L6Dv eMOt.EKAhbuC84xfOmW4f.QEUannPvYMIPlJRrvdIZp0YYgVmVwg3JeIkEZD6gZd54Sq588eYZbt tluAO5bk.P78HvrMcudseCBSb6t2pyNmFm6SpYBHJf5BV616FqmtkPYHrMYbNhaowR0IEh95cRlZ pFzIYVyVFQTAdQtdeZqxAmBwYp4Mnw7g9XDp_X5LLI2B10xNNZIgwr39sc0REqZQQoSirCoqVlW1 rvQEnNb51dcSxuVgzJ7ekSqYY1GIG7DUUCAGNwh1ywCad_Kq4cAGzT1HsQJDIMST5rKGk_WIt.Vd Auj9eHYUUmENMXXsyzJlTMF0QJjDO1FKqGPKvMP2LrDMbXJUGXZfEIOEZs9e9yiXYV9ExBgYgWGr bOWn8rqrosDuM24IU_UPzCOTEwUPzQl5e4SdVaEOiyH.y_Xy0Zh25bKncRcDbt5rbjrBeyPfcWLO 5jzlmMy7X5zgc5E4GjkvksxCmF9zJRsly2.3_F_3GYoyk7hlAOARwveQrZ_kTDWVdSeBryWYmAoH rdGDyTxhInYoc5eopWEtN3RMrVOs_RPUc7EBAfbuBFg9TxornSqkQMyy7yus5oyOkkxHl.giV_6n Z5Fc8B7Iof50TYxc8Yp5iH6GpBKVFJzpnIt85565Bw3GcFW9kqxzCvzoEuQT4Dxj5bdvp7DY0gFc 343PRjYvpw0llJUftAh1GeCV_CNtLPnQ2i8.oxzapnlbYaJv599tEmgoka.JSNfLue2K3GNbcmiC dw0YGCl1VIFVNL4qqeTgzE2M7g3ondOKXxit42CgtlFYnjB6aocKjSn4- Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Wed, 26 Jun 2019 23:56:39 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.115]) ([67.170.167.181]) by smtp404.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 5c3dba7d07ea0b7144ad68d67a8e224e; Wed, 26 Jun 2019 23:56:38 +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: Update to based on head -r349444: cross build using system clang 8.0.1 and devel/powerpc64-binutils failed for libc.so.7.full : bss-plt forced due to .../tmp/usr/lib/crtbeginS.o then exit code 1 Message-Id: Date: Wed, 26 Jun 2019 16:57:37 -0700 To: freeBSD PowerPC ML X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 3848D8CB8B X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.28 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; 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: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)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.63)[0.630,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.34)[ip: (4.44), ipnet: 66.163.184.0/21(1.29), asn: 36646(1.03), country: US(-0.06)]; NEURAL_SPAM_MEDIUM(0.45)[0.448,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.37)[0.373,0]; RCVD_IN_DNSWL_NONE(0.00)[148.185.163.66.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jun 2019 23:56:48 -0000 This was an amd64->powerpc (32-bit) cross build. it happens even when /usr/obj/powerpcvtsc_clang_altbinutils/ is empty at the start. --- libc.so.7.full --- building shared library libc.so.7 /usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to = /usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.pow= erpc/tmp/usr/lib/crtbeginS.o cc: error: linker command failed with exit code 1 (use -v to see = invocation) *** [libc.so.7.full] Error code 1 make[4]: stopped in /usr/src/lib/libc .ERROR_TARGET=3D'libc.so.7.full' = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc= /usr/src/powerpc.powerpc/lib/libc/libc.so.7.full.meta' .MAKE.LEVEL=3D'4' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'@echo building shared library libc.so.7; @rm -f libc.so.7 = libc.so; cc -target powerpc-unknown-freebsd13.0 = --sysroot=3D/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src= /powerpc.powerpc/tmp -B/usr/local/powerpc64-unknown-freebsd13.0/bin/ = -Wl,--secure-plt -nodefaultlibs -Wl,--version-script=3DVersion.map = -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o = libc.so.7.full -Wl,-soname,libc.so.7 = `NM=3D'/usr/local/powerpc64-unknown-freebsd13.0/bin/nm' NMFLAGS=3D'' = lorder trivial-vdso_tc.pico machdep_ldisd.pico bt_close.pico = bt_conv.pico bt_debug.pico bt_delete.pico bt_get.pico bt_open.pico = bt_overflow.pico bt_page.pico bt_put.pico bt_search.pico bt_seq.pico = bt_split.pico bt_utils.pico db.pico hash.pico hash_bigkey.pico = hash_buf.pico hash_func.pico hash_log2.pico hash_page.pico ndbm.pico = mpool.pico mpool-compat.pico rec_close.pico rec_delete.pico rec_get.pico = rec_open.pico rec_put.pico rec_search.pico rec_seq.pico rec_utils.pico = creat.pico gethostid.pico getwd.pico killpg.pico sethostid.pico = setpgrp.pico setrgid.pico setruid.pico sigcompat.pico = __getosreldate.pico __pthread_mutex_init_calloc_cb_stub.pico = __xuname.pico _once_stub.pico _pthread_stubs.pico _rand48.pico = _spinlock_stub.pico _thread_init.pico alarm.pico arc4random.pico = arc4random-compat.pico arc4random_uniform.pico assert.pico auxv.pico = basename.pico basename_compat.pico cap_sandboxed.pico = check_utility_compat.pico clock.pico clock_getcpuclockid.pico = closedir.pico confstr.pico crypt.pico ctermid.pico daemon.pico = devname.pico dirfd.pico dirname.pico dirname_compat.pico disklabel.pico = dlfcn.pico drand48.pico dup3.pico elf_utils.pico erand48.pico err.pico = errlst.pico errno.pico exec.pico exect.pico fdevname.pico = feature_present.pico fmtcheck.pico fmtmsg.pico fnmatch.pico = fpclassify.pico frexp.pico fstab.pico ftok.pico fts.pico ftw.pico = getbootfile.pico getbsize.pico getcap.pico getcwd.pico = getdomainname.pico getentropy.pico getgrent.pico getgrouplist.pico = gethostname.pico getloadavg.pico getlogin.pico getmntinfo.pico = getnetgrent.pico getosreldate.pico getpagesize.pico getpagesizes.pico = getpeereid.pico getprogname.pico getpwent.pico getttyent.pico = getusershell.pico getutxent.pico getvfsbyname.pico glob.pico = initgroups.pico isatty.pico isinf.pico isnan.pico jrand48.pico = lcong48.pico libc_dlopen.pico lockf.pico lrand48.pico mrand48.pico = nftw.pico nice.pico nlist.pico nrand48.pico opendir.pico pause.pico = pmadvise.pico popen.pico posix_spawn.pico psignal.pico pututxline.pico = pw_scan.pico raise.pico readdir.pico readpassphrase.pico recvmmsg.pico = rewinddir.pico scandir.pico seed48.pico seekdir.pico semctl.pico = sendmmsg.pico setdomainname.pico sethostname.pico setjmperr.pico = setmode.pico setproctitle.pico setprogname.pico siginterrupt.pico = siglist.pico signal.pico sigsetops.pico sleep.pico srand48.pico = statvfs.pico stringlist.pico strtofflags.pico sysconf.pico sysctl.pico = sysctlbyname.pico sysctlnametomib.pico syslog.pico telldir.pico = termios.pico time.pico times.pico timespec_get.pico timezone.pico = tls.pico ttyname.pico ttyslot.pico ualarm.pico ulimit.pico uname.pico = usleep.pico utime.pico utxdb.pico valloc.pico wait.pico wait3.pico = waitpid.pico waitid.pico wordexp.pico devname-compat11.pico = fts-compat.pico fts-compat11.pico ftw-compat11.pico = getmntinfo-compat11.pico glob-compat11.pico nftw-compat11.pico = readdir-compat11.pico scandir-compat11.pico unvis-compat.pico = pwcache.pico unvis.pico vis.pico cancelpoints_sem.pico = cancelpoints_sem_new.pico _ctx_start.pico eabi.pico infinity.pico = ldexp.pico makecontext.pico signalcontext.pico syncicache.pico = _set_tp.pico trivial-getcontextx.pico fabs.pico flt_rounds.pico = fpgetmask.pico fpgetround.pico fpgetsticky.pico fpsetmask.pico = fpsetround.pico _setjmp.pico setjmp.pico sigsetjmp.pico gmon.pico = mcount.pico citrus_bcs.pico citrus_bcs_strtol.pico = citrus_bcs_strtoul.pico citrus_csmapper.pico citrus_db.pico = citrus_db_factory.pico citrus_db_hash.pico citrus_esdb.pico = citrus_hash.pico citrus_iconv.pico citrus_lookup.pico = citrus_lookup_factory.pico citrus_mapper.pico citrus_memstream.pico = citrus_mmap.pico citrus_module.pico citrus_none.pico = citrus_pivot_factory.pico citrus_prop.pico citrus_stdenc.pico = bsd_iconv.pico iconv_compat.pico inet_addr.pico inet_cidr_ntop.pico = inet_cidr_pton.pico inet_lnaof.pico inet_makeaddr.pico = inet_net_ntop.pico inet_net_pton.pico inet_neta.pico inet_netof.pico = inet_network.pico inet_ntoa.pico inet_ntop.pico inet_pton.pico = nsap_addr.pico ev_streams.pico ev_timers.pico ascii.pico big5.pico = btowc.pico collate.pico collcmp.pico euc.pico fix_grouping.pico = gb18030.pico gb2312.pico gbk.pico ctype.pico isctype.pico iswctype.pico = ldpart.pico lmessages.pico lmonetary.pico lnumeric.pico localeconv.pico = mblen.pico mbrlen.pico mbrtowc.pico mbsinit.pico mbsnrtowcs.pico = mbsrtowcs.pico mbtowc.pico mbstowcs.pico mskanji.pico nextwctype.pico = nl_langinfo.pico nomacros.pico none.pico rpmatch.pico rune.pico = runetype.pico setlocale.pico setrunelocale.pico table.pico tolower.pico = toupper.pico utf8.pico wcrtomb.pico wcsnrtombs.pico wcsrtombs.pico = wcsftime.pico wcstof.pico wcstod.pico wcstoimax.pico wcstol.pico = wcstold.pico wcstoll.pico wcstombs.pico wcstoul.pico wcstoull.pico = wcstoumax.pico wctob.pico wctomb.pico wctrans.pico wctype.pico = wcwidth.pico xlocale.pico c16rtomb_iconv.pico c32rtomb_iconv.pico = mbrtoc16_iconv.pico mbrtoc32_iconv.pico md5c.pico ns_name.pico = ns_netint.pico ns_parse.pico ns_print.pico ns_samedomain.pico = ns_ttl.pico base64.pico ether_addr.pico eui64.pico gai_strerror.pico = getaddrinfo.pico gethostbydns.pico gethostbyht.pico gethostbynis.pico = gethostnamadr.pico getifaddrs.pico getifmaddrs.pico getnameinfo.pico = getnetbydns.pico getnetbyht.pico getnetbynis.pico getnetnamadr.pico = getproto.pico getprotoent.pico getprotoname.pico getservent.pico = if_indextoname.pico if_nameindex.pico if_nametoindex.pico ip6opt.pico = linkaddr.pico map_v4v6.pico name6.pico ntoh.pico nsdispatch.pico = nslexer.pico nsparser.pico nss_compat.pico rcmd.pico rcmdsh.pico = recv.pico rthdr.pico sctp_sys_calls.pico send.pico sockatmark.pico = sourcefilter.pico vars.pico nscache.pico nscachedcli.pico msgcat.pico = acl_branding.pico acl_calc_mask.pico acl_copy.pico acl_delete.pico = acl_delete_entry.pico acl_entry.pico acl_flag.pico acl_free.pico = acl_from_text.pico acl_from_text_nfs4.pico acl_get.pico = acl_id_to_name.pico acl_init.pico acl_perm.pico acl_set.pico = acl_strip.pico acl_support.pico acl_support_nfs4.pico acl_to_text.pico = acl_to_text_nfs4.pico acl_valid.pico extattr.pico mac.pico mac_exec.pico = mac_get.pico mac_set.pico subr_acl_nfs4.pico acl_compat.pico adddi3.pico = anddi3.pico ashldi3.pico ashrdi3.pico cmpdi2.pico divdi3.pico = fixdfdi.pico fixsfdi.pico fixunsdfdi.pico fixunssfdi.pico floatdidf.pico = floatdisf.pico floatunsdidf.pico iordi3.pico lshldi3.pico lshrdi3.pico = moddi3.pico muldi3.pico negdi2.pico notdi2.pico qdivrem.pico subdi3.pico = ucmpdi2.pico udivdi3.pico umoddi3.pico xordi3.pico regcomp.pico = regerror.pico regexec.pico regfree.pico herror.pico h_errno.pico = mtctxres.pico res_comp.pico res_data.pico res_debug.pico = res_findzonecut.pico res_init.pico res_mkquery.pico res_mkupdate.pico = res_query.pico res_send.pico res_state.pico res_update.pico = _flock_stub.pico asprintf.pico clrerr.pico dprintf.pico fclose.pico = fcloseall.pico fdopen.pico feof.pico ferror.pico fflush.pico fgetc.pico = fgetln.pico fgetpos.pico fgets.pico fgetwc.pico fgetwln.pico fgetws.pico = fileno.pico findfp.pico flags.pico fmemopen.pico fopen.pico = fopencookie.pico fprintf.pico fpurge.pico fputc.pico fputs.pico = fputwc.pico fputws.pico fread.pico freopen.pico fscanf.pico fseek.pico = fsetpos.pico ftell.pico funopen.pico fvwrite.pico fwalk.pico fwide.pico = fwprintf.pico fwscanf.pico fwrite.pico getc.pico getchar.pico = getdelim.pico getline.pico gets.pico gets_s.pico getw.pico getwc.pico = getwchar.pico makebuf.pico mktemp.pico open_memstream.pico = open_wmemstream.pico perror.pico printf.pico printf-pos.pico putc.pico = putchar.pico puts.pico putw.pico putwc.pico putwchar.pico refill.pico = remove.pico rewind.pico rget.pico scanf.pico setbuf.pico setbuffer.pico = setvbuf.pico snprintf.pico sprintf.pico sscanf.pico stdio.pico = swprintf.pico swscanf.pico tempnam.pico tmpfile.pico tmpnam.pico = ungetc.pico ungetwc.pico vasprintf.pico vdprintf.pico vfprintf.pico = vfscanf.pico vfwprintf.pico vfwscanf.pico vprintf.pico vscanf.pico = vsnprintf.pico vsprintf.pico vsscanf.pico vswprintf.pico vswscanf.pico = vwprintf.pico vwscanf.pico wbuf.pico wprintf.pico wscanf.pico = wsetup.pico xprintf.pico xprintf_float.pico xprintf_int.pico = xprintf_str.pico xprintf_errno.pico xprintf_hexdump.pico = xprintf_quote.pico xprintf_time.pico xprintf_vis.pico asctime.pico = difftime.pico localtime.pico strftime.pico strptime.pico timelocal.pico = time32.pico clock_gettime.pico gettimeofday.pico = __vdso_gettimeofday.pico __error.pico interposing_table.pico = getdents.pico lstat.pico mknod.pico stat.pico fstat.pico fstatat.pico = fstatfs.pico getfsstat.pico statfs.pico getdirentries.pico brk.pico = pipe.pico vadvise.pico compat-stub.pico accept.pico accept4.pico = aio_suspend.pico clock_nanosleep.pico close.pico connect.pico fcntl.pico = fdatasync.pico fsync.pico fork.pico kevent.pico msync.pico = nanosleep.pico open.pico openat.pico poll.pico ppoll.pico pselect.pico = ptrace.pico read.pico readv.pico recvfrom.pico recvmsg.pico select.pico = sendmsg.pico sendto.pico setcontext.pico sigprocmask.pico = sigsuspend.pico sigtimedwait.pico sigwait.pico sigwaitinfo.pico = swapcontext.pico wait4.pico wait6.pico write.pico writev.pico = sigaction.pico cerror.pico syscall.pico link.pico unlink.pico chdir.pico = fchdir.pico freebsd11_mknod.pico chmod.pico chown.pico break.pico = getpid.pico mount.pico unmount.pico setuid.pico getuid.pico geteuid.pico = getpeername.pico getsockname.pico access.pico chflags.pico fchflags.pico = sync.pico kill.pico getppid.pico dup.pico freebsd10_pipe.pico = getegid.pico profil.pico ktrace.pico getgid.pico setlogin.pico acct.pico = sigaltstack.pico ioctl.pico reboot.pico revoke.pico symlink.pico = readlink.pico execve.pico umask.pico chroot.pico vfork.pico sbrk.pico = freebsd11_vadvise.pico munmap.pico mprotect.pico madvise.pico = mincore.pico getgroups.pico setgroups.pico getpgrp.pico setpgid.pico = setitimer.pico swapon.pico getitimer.pico getdtablesize.pico dup2.pico = setpriority.pico socket.pico getpriority.pico bind.pico setsockopt.pico = listen.pico getrusage.pico getsockopt.pico settimeofday.pico fchown.pico = fchmod.pico setreuid.pico setregid.pico rename.pico flock.pico = mkfifo.pico shutdown.pico socketpair.pico mkdir.pico rmdir.pico = utimes.pico adjtime.pico setsid.pico quotactl.pico nlm_syscall.pico = nfssvc.pico lgetfh.pico getfh.pico sysarch.pico rtprio.pico semsys.pico = msgsys.pico shmsys.pico setfib.pico ntp_adjtime.pico setgid.pico = setegid.pico seteuid.pico freebsd11_stat.pico freebsd11_fstat.pico = freebsd11_lstat.pico pathconf.pico fpathconf.pico getrlimit.pico = setrlimit.pico freebsd11_getdirentries.pico __syscall.pico __sysctl.pico = mlock.pico munlock.pico undelete.pico futimes.pico getpgid.pico = freebsd7___semctl.pico semget.pico semop.pico freebsd7_msgctl.pico = msgget.pico msgsnd.pico msgrcv.pico shmat.pico freebsd7_shmctl.pico = shmdt.pico shmget.pico clock_settime.pico clock_getres.pico = ktimer_create.pico ktimer_delete.pico ktimer_settime.pico = ktimer_gettime.pico ktimer_getoverrun.pico ffclock_getcounter.pico = ffclock_setestimate.pico ffclock_getestimate.pico = clock_getcpuclockid2.pico ntp_gettime.pico minherit.pico rfork.pico = issetugid.pico lchown.pico aio_read.pico aio_write.pico lio_listio.pico = freebsd11_getdents.pico lchmod.pico lutimes.pico freebsd11_nstat.pico = freebsd11_nfstat.pico freebsd11_nlstat.pico preadv.pico pwritev.pico = fhopen.pico freebsd11_fhstat.pico modnext.pico modstat.pico = modfnext.pico modfind.pico kldload.pico kldunload.pico kldfind.pico = kldnext.pico kldstat.pico kldfirstmod.pico getsid.pico setresuid.pico = setresgid.pico aio_return.pico aio_cancel.pico aio_error.pico = mlockall.pico munlockall.pico __getcwd.pico sched_setparam.pico = sched_getparam.pico sched_setscheduler.pico sched_getscheduler.pico = sched_yield.pico sched_get_priority_max.pico sched_get_priority_min.pico = sched_rr_get_interval.pico utrace.pico kldsym.pico jail.pico = nnpfs_syscall.pico sigpending.pico __acl_get_file.pico = __acl_set_file.pico __acl_get_fd.pico __acl_set_fd.pico = __acl_delete_file.pico __acl_delete_fd.pico __acl_aclcheck_file.pico = __acl_aclcheck_fd.pico extattrctl.pico extattr_set_file.pico = extattr_get_file.pico extattr_delete_file.pico aio_waitcomplete.pico = getresuid.pico getresgid.pico kqueue.pico freebsd11_kevent.pico = extattr_set_fd.pico extattr_get_fd.pico extattr_delete_fd.pico = __setugid.pico eaccess.pico afs3_syscall.pico nmount.pico = __mac_get_proc.pico __mac_set_proc.pico __mac_get_fd.pico = __mac_get_file.pico __mac_set_fd.pico __mac_set_file.pico kenv.pico = lchflags.pico uuidgen.pico sendfile.pico mac_syscall.pico = freebsd11_getfsstat.pico freebsd11_statfs.pico freebsd11_fstatfs.pico = freebsd11_fhstatfs.pico ksem_close.pico ksem_post.pico ksem_wait.pico = ksem_trywait.pico ksem_init.pico ksem_open.pico ksem_unlink.pico = ksem_getvalue.pico ksem_destroy.pico __mac_get_pid.pico = __mac_get_link.pico __mac_set_link.pico extattr_set_link.pico = extattr_get_link.pico extattr_delete_link.pico __mac_execve.pico = sigreturn.pico getcontext.pico swapoff.pico __acl_get_link.pico = __acl_set_link.pico __acl_delete_link.pico __acl_aclcheck_link.pico = thr_create.pico thr_exit.pico thr_self.pico thr_kill.pico = jail_attach.pico extattr_list_fd.pico extattr_list_file.pico = extattr_list_link.pico ksem_timedwait.pico thr_suspend.pico = thr_wake.pico kldunloadf.pico audit.pico auditon.pico getauid.pico = setauid.pico getaudit.pico setaudit.pico getaudit_addr.pico = setaudit_addr.pico auditctl.pico _umtx_op.pico thr_new.pico = sigqueue.pico kmq_open.pico kmq_setattr.pico kmq_timedreceive.pico = kmq_timedsend.pico kmq_notify.pico kmq_unlink.pico abort2.pico = thr_set_name.pico aio_fsync.pico rtprio_thread.pico sctp_peeloff.pico = sctp_generic_sendmsg.pico sctp_generic_sendmsg_iov.pico = sctp_generic_recvmsg.pico pread.pico pwrite.pico mmap.pico lseek.pico = truncate.pico ftruncate.pico thr_kill2.pico shm_open.pico = shm_unlink.pico cpuset.pico cpuset_setid.pico cpuset_getid.pico = cpuset_getaffinity.pico cpuset_setaffinity.pico faccessat.pico = fchmodat.pico fchownat.pico fexecve.pico freebsd11_fstatat.pico = futimesat.pico linkat.pico mkdirat.pico mkfifoat.pico = freebsd11_mknodat.pico readlinkat.pico renameat.pico symlinkat.pico = unlinkat.pico posix_openpt.pico gssd_syscall.pico jail_get.pico = jail_set.pico jail_remove.pico closefrom.pico __semctl.pico msgctl.pico = shmctl.pico lpathconf.pico __cap_rights_get.pico cap_enter.pico = cap_getmode.pico pdfork.pico pdkill.pico pdgetpid.pico = getloginclass.pico setloginclass.pico rctl_get_racct.pico = rctl_get_rules.pico rctl_get_limits.pico rctl_add_rule.pico = rctl_remove_rule.pico posix_fallocate.pico posix_fadvise.pico = cap_rights_limit.pico cap_ioctls_limit.pico cap_ioctls_get.pico = cap_fcntls_limit.pico cap_fcntls_get.pico bindat.pico connectat.pico = chflagsat.pico pipe2.pico aio_mlock.pico procctl.pico futimens.pico = utimensat.pico fhstat.pico fhstatfs.pico mknodat.pico = cpuset_getdomain.pico cpuset_setdomain.pico getrandom.pico getfhat.pico = fhlink.pico fhlinkat.pico fhreadlink.pico funlinkat.pico _exit.pico = _getlogin.pico _clock_gettime.pico _gettimeofday.pico _fstat.pico = _fstatat.pico _fstatfs.pico _getfsstat.pico _statfs.pico = _getdirentries.pico _accept.pico _accept4.pico _aio_suspend.pico = _clock_nanosleep.pico _close.pico _connect.pico _fcntl.pico = _fdatasync.pico _fsync.pico _fork.pico _kevent.pico _msync.pico = _nanosleep.pico _open.pico _openat.pico _poll.pico _ppoll.pico = _pselect.pico _ptrace.pico _read.pico _readv.pico _recvfrom.pico = _recvmsg.pico _select.pico _sendmsg.pico _sendto.pico _setcontext.pico = _sigprocmask.pico _sigsuspend.pico _sigtimedwait.pico _sigwait.pico = _sigwaitinfo.pico _swapcontext.pico _wait4.pico _wait6.pico _write.pico = _writev.pico _sigaction.pico stack_protector.pico = stack_protector_compat.pico auth_none.pico auth_unix.pico = authunix_prot.pico bindresvport.pico clnt_bcast.pico clnt_dg.pico = clnt_generic.pico clnt_perror.pico clnt_raw.pico clnt_simple.pico = clnt_vc.pico rpc_dtablesize.pico getnetconfig.pico getnetpath.pico = getrpcent.pico getrpcport.pico mt_misc.pico pmap_clnt.pico = pmap_getmaps.pico pmap_getport.pico pmap_prot.pico pmap_prot2.pico = pmap_rmt.pico rpc_prot.pico rpc_commondata.pico rpc_callmsg.pico = rpc_generic.pico rpc_soc.pico rpcb_clnt.pico rpcb_prot.pico = rpcb_st_xdr.pico rpcsec_gss_stub.pico svc.pico svc_auth.pico svc_dg.pico = svc_auth_unix.pico svc_generic.pico svc_raw.pico svc_run.pico = svc_simple.pico svc_vc.pico auth_time.pico auth_des.pico = authdes_prot.pico des_crypt.pico des_soft.pico crypt_client.pico = key_call.pico key_prot_xdr.pico getpublickey.pico svc_auth_des.pico = netname.pico netnamer.pico rpcdname.pico rtime.pico crypt_clnt.pico = crypt_xdr.pico uuid_compare.pico uuid_create.pico uuid_create_nil.pico = uuid_equal.pico uuid_from_string.pico uuid_hash.pico uuid_is_nil.pico = uuid_stream.pico uuid_to_string.pico xdr.pico xdr_array.pico = xdr_float.pico xdr_mem.pico xdr_rec.pico xdr_reference.pico = xdr_sizeof.pico xdr_stdio.pico xdryp.pico yp_xdr.pico yplib.pico = subr_capability.pico _hdtoa.pico _hldtoa.pico _ldtoa.pico glue.pico = gdtoa_dmisc.pico gdtoa_dtoa.pico gdtoa_gdtoa.pico gdtoa_gethex.pico = gdtoa_gmisc.pico gdtoa_hd_init.pico gdtoa_hexnan.pico gdtoa_misc.pico = gdtoa_smisc.pico gdtoa_strtod.pico gdtoa_strtodg.pico gdtoa_strtof.pico = gdtoa_strtord.pico gdtoa_sum.pico gdtoa_ulp.pico modf.pico C99_Exit.pico = a64l.pico abort.pico abs.pico atexit.pico atof.pico atoi.pico atol.pico = atoll.pico bsearch.pico cxa_thread_atexit.pico = cxa_thread_atexit_impl.pico div.pico exit.pico getenv.pico getopt.pico = getopt_long.pico getsubopt.pico hcreate.pico hcreate_r.pico = hdestroy_r.pico heapsort.pico heapsort_b.pico hsearch_r.pico = imaxabs.pico imaxdiv.pico insque.pico l64a.pico labs.pico ldiv.pico = llabs.pico lldiv.pico lsearch.pico merge.pico mergesort_b.pico = ptsname.pico qsort.pico qsort_r.pico quick_exit.pico radixsort.pico = rand.pico random.pico reallocarray.pico reallocf.pico realpath.pico = remque.pico set_constraint_handler_s.pico strfmon.pico strtoimax.pico = strtol.pico strtold.pico strtoll.pico strtoq.pico strtoul.pico = strtonum.pico strtoull.pico strtoumax.pico strtouq.pico system.pico = tdelete.pico tfind.pico tsearch.pico twalk.pico jemalloc_jemalloc.pico = jemalloc_arena.pico jemalloc_background_thread.pico jemalloc_base.pico = jemalloc_bin.pico jemalloc_bitmap.pico jemalloc_ckh.pico = jemalloc_ctl.pico jemalloc_div.pico jemalloc_extent.pico = jemalloc_extent_dss.pico jemalloc_extent_mmap.pico jemalloc_hash.pico = jemalloc_hooks.pico jemalloc_large.pico jemalloc_log.pico = jemalloc_malloc_io.pico jemalloc_mutex.pico jemalloc_mutex_pool.pico = jemalloc_nstime.pico jemalloc_pages.pico jemalloc_prng.pico = jemalloc_prof.pico jemalloc_rtree.pico jemalloc_stats.pico = jemalloc_sz.pico jemalloc_tcache.pico jemalloc_ticker.pico = jemalloc_tsd.pico jemalloc_witness.pico bcmp.pico bcopy.pico bzero.pico = explicit_bzero.pico ffs.pico ffsl.pico ffsll.pico fls.pico flsl.pico = flsll.pico memccpy.pico memchr.pico memrchr.pico memcmp.pico memcpy.pico = memmem.pico memmove.pico memset.pico memset_s.pico stpcpy.pico = stpncpy.pico strcasecmp.pico strcat.pico strcasestr.pico strchr.pico = strchrnul.pico strcmp.pico strcoll.pico strcpy.pico strcspn.pico = strdup.pico strerror.pico strlcat.pico strlcpy.pico strlen.pico = strmode.pico strncat.pico strncmp.pico strncpy.pico strndup.pico = strnlen.pico strnstr.pico strpbrk.pico strrchr.pico strsep.pico = strsignal.pico strspn.pico strstr.pico strtok.pico strxfrm.pico = swab.pico timingsafe_bcmp.pico timingsafe_memcmp.pico wcpcpy.pico = wcpncpy.pico wcscasecmp.pico wcscat.pico wcschr.pico wcscmp.pico = wcscoll.pico wcscpy.pico wcscspn.pico wcsdup.pico wcslcat.pico = wcslcpy.pico wcslen.pico wcsncasecmp.pico wcsncat.pico wcsncmp.pico = wcsncpy.pico wcsnlen.pico wcspbrk.pico wcsrchr.pico wcsspn.pico = wcsstr.pico wcstok.pico wcswidth.pico wcsxfrm.pico wmemchr.pico = wmemcmp.pico wmemcpy.pico wmemmove.pico wmemset.pico | tsort -q` = -lcompiler_rt -lssp_nonshared ;' .CURDIR=3D'/usr/src/lib/libc' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/= powerpc.powerpc/lib/libc' .TARGETS=3D'all' = DESTDIR=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/= powerpc.powerpc/tmp' LD_LIBRARY_PATH=3D'' MACHINE=3D'powerpc' MACHINE_ARCH=3D'powerpc' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20181221' = PATH=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/pow= erpc.powerpc/tmp/usr/sbin:/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.p= owerpc/usr/src/powerpc.powerpc/tmp/usr/bin:/usr/obj/powerpcvtsc_clang_altb= inutils/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/legacy/usr/sbin:/usr/o= bj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.powerpc/t= mp/legacy/usr/bin:/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/u= sr/src/powerpc.powerpc/tmp/legacy/bin::/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/p= owerpc.powerpc' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang_altbinutils-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk = /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/libc/Makefile = /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk = /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk = /usr/src/lib/libc/powerpc/Makefile.inc /usr/src/lib/libc/db/Makefile.inc = /usr/src/lib/libc/db/btree/Makefile.inc = /usr/src/lib/libc/db/db/Makefile.inc = /usr/src/lib/libc/db/hash/Makefile.inc = /usr/src/lib/libc/db/man/Makefile.inc = /usr/src/lib/libc/db/mpool/Makefile.inc = /usr/src/lib/libc/db/recno/Makefile.inc = /usr/src/lib/libc/compat-43/Makefile.inc = /usr/src/lib/libc/gdtoa/Makefile.inc /usr/src/lib/libc/gen/Makefile.inc = /usr/src/lib/libc/powerpc/gen/Makefile.inc = /usr/src/lib/libc/powerpc/gen/Makefile.common = /usr/src/lib/libc/gmon/Makefile.inc /usr/src/lib/libc/iconv/Makefile.inc = /usr/src/lib/libc_nonshared/Makefile.iconv = /usr/src/lib/libc/inet/Makefile.inc /usr/src/lib/libc/isc/Makefile.inc = /usr/src/lib/libc/locale/Makefile.inc /usr/src/lib/libc/md/Makefile.inc = /usr/src/lib/libc/nameser/Makefile.inc = /usr/src/lib/libc/net/Makefile.inc /usr/src/lib/libc/nls/Makefile.inc = /usr/src/lib/libc/posix1e/Makefile.inc = /usr/src/lib/libc/quad/Makefile.inc /usr/src/lib/libc/regex/Makefile.inc = /usr/src/lib/libc/resolv/Makefile.inc = /usr/src/lib/libc/stdio/Makefile.inc = /usr/src/lib/libc/stdlib/Makefile.inc = /usr/src/lib/libc/stdlib/jemalloc/Makefile.inc = /usr/src/lib/libc/stdtime/Makefile.inc = /usr/src/lib/libc/string/Makefile.inc /usr/src/lib/libc/sys/Makefile.inc = /usr/src/sys/sys/syscall.mk /usr/src/lib/libc/powerpc/sys/Makefile.inc = /usr/src/lib/libc/secure/Makefile.inc /usr/src/lib/libc/rpc/Makefile.inc = /usr/src/lib/libc/uuid/Makefile.inc /usr/src/lib/libc/xdr/Makefile.inc = /usr/src/lib/libc/yp/Makefile.inc = /usr/src/lib/libc/capability/Makefile.inc /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/lib/libc/../Makefile.inc = /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk = /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk = /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.files.mk = /usr/src/share/mk/bsd.dirs.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.dep.mk = /usr/src/share/mk/bsd.clang-analyze.mk /usr/src/share/mk/bsd.obj.mk = /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.sys.mk' .PATH=3D'. /usr/src/lib/libc /usr/src/lib/libc/db/btree = /usr/src/lib/libc/db/db /usr/src/lib/libc/db/hash = /usr/src/lib/libc/db/man /usr/src/lib/libc/db/mpool = /usr/src/lib/libc/db/recno /usr/src/lib/libc/compat-43 = /usr/src/lib/libc/gdtoa /usr/src/lib/libc/powerpc/gen = /usr/src/lib/libc/gen /usr/src/etc /usr/src/contrib/libc-pwcache = /usr/src/contrib/libc-vis /usr/src/lib/libc/gmon /usr/src/lib/libc/iconv = /usr/src/lib/libc/inet /usr/src/lib/libc/isc /usr/src/lib/libc/locale = /usr/src/lib/libmd /usr/src/lib/libc/nameser /usr/src/lib/libc/net = /usr/src/lib/libc/nls /usr/src/lib/libc/posix1e /usr/src/lib/libc/quad = /usr/src/lib/libc/regex /usr/src/lib/libc/resolv /usr/src/lib/libc/stdio = /usr/src/lib/libc/stdlib /usr/src/lib/libc/stdlib/jemalloc = /usr/src/lib/libc/stdtime /usr/src/contrib/tzcode/stdtime = /usr/src/lib/libc/string /usr/src/sys/libkern = /usr/src/lib/libc/powerpc/sys /usr/src/lib/libc/sys = /usr/src/lib/libc/secure /usr/src/lib/libc/rpc /usr/src/lib/libc/. = /usr/src/lib/libc/uuid /usr/src/lib/libc/xdr /usr/src/lib/libc/yp = /usr/src/sys/kern /usr/src/lib/libc/capability' 1 error =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Jun 27 00:04:15 2019 Return-Path: Delivered-To: freebsd-ppc@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 C835415D5AFC for ; Thu, 27 Jun 2019 00:04:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-15.consmr.mail.bf2.yahoo.com (sonic309-15.consmr.mail.bf2.yahoo.com [74.6.129.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 7D7958D268 for ; Thu, 27 Jun 2019 00:04:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: lxFhzG8VM1lHlqnmn55zaUlAoCizxIJ7zm7v8pyDKQbyP.GTKxCe9FaBogwgRFz H3xMBfv59AAg.qMqomf6JV8vAc3X.CKXEgfUopJzBjy4RZ1K3wxdT2r6EQXpLud14eNBpFXuDimM Ake2WEG7qjixrmacK5S1Klf3MMA3lS_z49zU6dFtR2oQTNHk_ExGnyblLhyMRvCyNBy4RHEf0CoF QWu5uxc7x2oNexQ0HQtfq_knz2KgRLUcTvhyb1Q95oTYEPxVt4ApgOU8hEe2iCYRiDRvSCicgB7C uBqsovkmxck3KV1zQqvQmatdfl3MGj0VmXWwq60w.IZHOcPViXDPDkn8gwhEyEBL3ic0x6ywgO.y lDKrYSufR7BfzE0YB3uibCoimIXBudvHJ12RdNhpzjh.4y9Fhzy7vNCyXO.Q4.PyG1XvnATD9zX_ kmHMoEYn5RxhTOq5bMJEoFUvraGkCs9udiL1Afm2Li05J.q_Y._ePhhXVpfAePxD49tVQVxRmCcq NORUfmgbo5itU5OHYv7JllMrgcLgQolOfft96JFlFihD2ehJZ651QWxAlkgfXEM63DSL5ScWnKfu fmr7mJN2mfG8fEyvyERmgWHdppCkGyuL.eWLPznQTp_yJy5l_qdocPC1hKvIw_CgTof4vMriiS5q d7w_GL2p_QB1XrZoLSBUqbQXPCvKq2e7qk49TecR58wjXcuZTBfVVUOkVXWihWL.BkBtmJHyPq5p 8sW9v6DuFRguqMfTspgwAwI39ljGkSCN96f5E6.wlz.EnEd6FlpEml0ih51M35OMDK4KZnKdLy34 Z6jwjtn64rZABEampvchzH_E1dbg5WRTMoSoH0I_CtaB8qPOyAv.YuZZEQdfDMmxi4KvVX8KELnP DGsZN4RD5NWFcAuWbiyLZ_ya.r_qdsgfMqs01jnO8o8HNz5IIuPrkAvg8fOotcN8Na3O_rDbp22s 3hPxz4h2hn7ij9mBHxdYSUjdKMStkZTKHP_TtZNzDy16d6XbLLPqks1qfxd9PIIFEOcOtp6vwXYQ _EcxqZ25vwnWp_gc99gNAwR4k5Qoevg2Fu0lqASgtnRPQGYPpJGvbilcmysmuzepuysNepBU1KcS UHEFGvirvFeqJc8DrEJc3Dutp8nuqKtiHYolRdcCiBP..DDNQl3.7a6eD1WkkDqJxuHSoFPDCGEJ ZdG4IqYS6bdH304aw5x7otIaJqVqC35V.B2YDzM86X1ezxtYn1p0w3QA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Thu, 27 Jun 2019 00:04:07 +0000 Received: by smtp424.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 4d1f2cb4ffd2ed2ff4564a1b7ede09a2; Thu, 27 Jun 2019 00:04:06 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Update to based on head -r349444: cross build using system clang 8.0.1 and devel/powerpc64-binutils failed for libc.so.7.full : bss-plt forced due to .../tmp/usr/lib/crtbeginS.o then exit code 1 From: Mark Millard In-Reply-To: Date: Wed, 26 Jun 2019 17:05:04 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <7D8D1CB4-AF77-4681-8174-160F98F449CE@yahoo.com> References: To: freeBSD PowerPC ML X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 7D7958D268 X-Spamd-Bar: + X-Spamd-Result: default: False [1.92 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(1.26)[ip: (3.75), ipnet: 74.6.128.0/21(1.45), asn: 26101(1.16), country: US(-0.06)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.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_SPAM_SHORT(0.51)[0.509,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(0.39)[0.391,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.27)[0.267,0]; RCVD_IN_DNSWL_NONE(0.00)[125.129.6.74.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[125.129.6.74.rep.mailspike.net : 127.0.0.17] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 00:04:15 -0000 [I forgot to include my = src.conf.powerpc-clang_altbinutils-bootstrap.amd64-host file.] On 2019-Jun-26, at 16:57, Mark Millard wrote: > This was an amd64->powerpc (32-bit) cross build. it happens even > when /usr/obj/powerpcvtsc_clang_altbinutils/ is empty at the > start. >=20 > --- libc.so.7.full --- > building shared library libc.so.7 > /usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due to = /usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.pow= erpc/tmp/usr/lib/crtbeginS.o > cc: error: linker command failed with exit code 1 (use -v to see = invocation) > *** [libc.so.7.full] Error code 1 >=20 > make[4]: stopped in /usr/src/lib/libc > .ERROR_TARGET=3D'libc.so.7.full' > = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc= /usr/src/powerpc.powerpc/lib/libc/libc.so.7.full.meta' > .MAKE.LEVEL=3D'4' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes= verbose' > _ERROR_CMD=3D'@echo building shared library libc.so.7; @rm -f = libc.so.7 libc.so; cc -target powerpc-unknown-freebsd13.0 = --sysroot=3D/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src= /powerpc.powerpc/tmp -B/usr/local/powerpc64-unknown-freebsd13.0/bin/ = -Wl,--secure-plt -nodefaultlibs -Wl,--version-script=3DVersion.map = -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o = libc.so.7.full -Wl,-soname,libc.so.7 = `NM=3D'/usr/local/powerpc64-unknown-freebsd13.0/bin/nm' NMFLAGS=3D'' = lorder trivial-vdso_tc.pico machdep_ldisd.pico bt_close.pico = bt_conv.pico bt_debug.pico bt_delete.pico bt_get.pico bt_open.pico = bt_overflow.pico bt_page.pico bt_put.pico bt_search.pico bt_seq.pico = bt_split.pico bt_utils.pico db.pico hash.pico hash_bigkey.pico = hash_buf.pico hash_func.pico hash_log2.pico hash_page.pico ndbm.pico = mpool.pico mpool-compat.pico rec_close.pico rec_delete.pico rec_get.pico = rec_open.pico rec_put.pico rec_search.pico rec_seq.pico rec_utils.pico = creat.pico gethostid.pico getwd.pico killpg.pico sethostid.pico = setpgrp.pico setrgid.pico setruid.pico sigcompat.pico = __getosreldate.pico __pthread_mutex_init_calloc_cb_stub.pico = __xuname.pico _once_stub.pico _pthread_stubs.pico _rand48.pico = _spinlock_stub.pico _thread_init.pico alarm.pico arc4random.pico = arc4random-compat.pico arc4random_uniform.pico assert.pico auxv.pico = basename.pico basename_compat.pico cap_sandboxed.pico = check_utility_compat.pico clock.pico clock_getcpuclockid.pico = closedir.pico confstr.pico crypt.pico ctermid.pico daemon.pico = devname.pico dirfd.pico dirname.pico dirname_compat.pico disklabel.pico = dlfcn.pico drand48.pico dup3.pico elf_utils.pico erand48.pico err.pico = errlst.pico errno.pico exec.pico exect.pico fdevname.pico = feature_present.pico fmtcheck.pico fmtmsg.pico fnmatch.pico = fpclassify.pico frexp.pico fstab.pico ftok.pico fts.pico ftw.pico = getbootfile.pico getbsize.pico getcap.pico getcwd.pico = getdomainname.pico getentropy.pico getgrent.pico getgrouplist.pico = gethostname.pico getloadavg.pico getlogin.pico getmntinfo.pico = getnetgrent.pico getosreldate.pico getpagesize.pico getpagesizes.pico = getpeereid.pico getprogname.pico getpwent.pico getttyent.pico = getusershell.pico getutxent.pico getvfsbyname.pico glob.pico = initgroups.pico isatty.pico isinf.pico isnan.pico jrand48.pico = lcong48.pico libc_dlopen.pico lockf.pico lrand48.pico mrand48.pico = nftw.pico nice.pico nlist.pico nrand48.pico opendir.pico pause.pico = pmadvise.pico popen.pico posix_spawn.pico psignal.pico pututxline.pico = pw_scan.pico raise.pico readdir.pico readpassphrase.pico recvmmsg.pico = rewinddir.pico scandir.pico seed48.pico seekdir.pico semctl.pico = sendmmsg.pico setdomainname.pico sethostname.pico setjmperr.pico = setmode.pico setproctitle.pico setprogname.pico siginterrupt.pico = siglist.pico signal.pico sigsetops.pico sleep.pico srand48.pico = statvfs.pico stringlist.pico strtofflags.pico sysconf.pico sysctl.pico = sysctlbyname.pico sysctlnametomib.pico syslog.pico telldir.pico = termios.pico time.pico times.pico timespec_get.pico timezone.pico = tls.pico ttyname.pico ttyslot.pico ualarm.pico ulimit.pico uname.pico = usleep.pico utime.pico utxdb.pico valloc.pico wait.pico wait3.pico = waitpid.pico waitid.pico wordexp.pico devname-compat11.pico = fts-compat.pico fts-compat11.pico ftw-compat11.pico = getmntinfo-compat11.pico glob-compat11.pico nftw-compat11.pico = readdir-compat11.pico scandir-compat11.pico unvis-compat.pico = pwcache.pico unvis.pico vis.pico cancelpoints_sem.pico = cancelpoints_sem_new.pico _ctx_start.pico eabi.pico infinity.pico = ldexp.pico makecontext.pico signalcontext.pico syncicache.pico = _set_tp.pico trivial-getcontextx.pico fabs.pico flt_rounds.pico = fpgetmask.pico fpgetround.pico fpgetsticky.pico fpsetmask.pico = fpsetround.pico _setjmp.pico setjmp.pico sigsetjmp.pico gmon.pico = mcount.pico citrus_bcs.pico citrus_bcs_strtol.pico = citrus_bcs_strtoul.pico citrus_csmapper.pico citrus_db.pico = citrus_db_factory.pico citrus_db_hash.pico citrus_esdb.pico = citrus_hash.pico citrus_iconv.pico citrus_lookup.pico = citrus_lookup_factory.pico citrus_mapper.pico citrus_memstream.pico = citrus_mmap.pico citrus_module.pico citrus_none.pico = citrus_pivot_factory.pico citrus_prop.pico citrus_stdenc.pico = bsd_iconv.pico iconv_compat.pico inet_addr.pico inet_cidr_ntop.pico = inet_cidr_pton.pico inet_lnaof.pico inet_makeaddr.pico = inet_net_ntop.pico inet_net_pton.pico inet_neta.pico inet_netof.pico = inet_network.pico inet_ntoa.pico inet_ntop.pico inet_pton.pico = nsap_addr.pico ev_streams.pico ev_timers.pico ascii.pico big5.pico = btowc.pico collate.pico collcmp.pico euc.pico fix_grouping.pico = gb18030.pico gb2312.pico gbk.pico ctype.pico isctype.pico iswctype.pico = ldpart.pico lmessages.pico lmonetary.pico lnumeric.pico localeconv.pico = mblen.pico mbrlen.pico mbrtowc.pico mbsinit.pico mbsnrtowcs.pico = mbsrtowcs.pico mbtowc.pico mbstowcs.pico mskanji.pico nextwctype.pico = nl_langinfo.pico nomacros.pico none.pico rpmatch.pico rune.pico = runetype.pico setlocale.pico setrunelocale.pico table.pico tolower.pico = toupper.pico utf8.pico wcrtomb.pico wcsnrtombs.pico wcsrtombs.pico = wcsftime.pico wcstof.pico wcstod.pico wcstoimax.pico wcstol.pico = wcstold.pico wcstoll.pico wcstombs.pico wcstoul.pico wcstoull.pico = wcstoumax.pico wctob.pico wctomb.pico wctrans.pico wctype.pico = wcwidth.pico xlocale.pico c16rtomb_iconv.pico c32rtomb_iconv.pico = mbrtoc16_iconv.pico mbrtoc32_iconv.pico md5c.pico ns_name.pico = ns_netint.pico ns_parse.pico ns_print.pico ns_samedomain.pico = ns_ttl.pico base64.pico ether_addr.pico eui64.pico gai_strerror.pico = getaddrinfo.pico gethostbydns.pico gethostbyht.pico gethostbynis.pico = gethostnamadr.pico getifaddrs.pico getifmaddrs.pico getnameinfo.pico = getnetbydns.pico getnetbyht.pico getnetbynis.pico getnetnamadr.pico = getproto.pico getprotoent.pico getprotoname.pico getservent.pico = if_indextoname.pico if_nameindex.pico if_nametoindex.pico ip6opt.pico = linkaddr.pico map_v4v6.pico name6.pico ntoh.pico nsdispatch.pico = nslexer.pico nsparser.pico nss_compat.pico rcmd.pico rcmdsh.pico = recv.pico rthdr.pico sctp_sys_calls.pico send.pico sockatmark.pico = sourcefilter.pico vars.pico nscache.pico nscachedcli.pico msgcat.pico = acl_branding.pico acl_calc_mask.pico acl_copy.pico acl_delete.pico = acl_delete_entry.pico acl_entry.pico acl_flag.pico acl_free.pico = acl_from_text.pico acl_from_text_nfs4.pico acl_get.pico = acl_id_to_name.pico acl_init.pico acl_perm.pico acl_set.pico = acl_strip.pico acl_support.pico acl_support_nfs4.pico acl_to_text.pico = acl_to_text_nfs4.pico acl_valid.pico extattr.pico mac.pico mac_exec.pico = mac_get.pico mac_set.pico subr_acl_nfs4.pico acl_compat.pico adddi3.pico = anddi3.pico ashldi3.pico ashrdi3.pico cmpdi2.pico divdi3.pico = fixdfdi.pico fixsfdi.pico fixunsdfdi.pico fixunssfdi.pico floatdidf.pico = floatdisf.pico floatunsdidf.pico iordi3.pico lshldi3.pico lshrdi3.pico = moddi3.pico muldi3.pico negdi2.pico notdi2.pico qdivrem.pico subdi3.pico = ucmpdi2.pico udivdi3.pico umoddi3.pico xordi3.pico regcomp.pico = regerror.pico regexec.pico regfree.pico herror.pico h_errno.pico = mtctxres.pico res_comp.pico res_data.pico res_debug.pico = res_findzonecut.pico res_init.pico res_mkquery.pico res_mkupdate.pico = res_query.pico res_send.pico res_state.pico res_update.pico = _flock_stub.pico asprintf.pico clrerr.pico dprintf.pico fclose.pico = fcloseall.pico fdopen.pico feof.pico ferror.pico fflush.pico fgetc.pico = fgetln.pico fgetpos.pico fgets.pico fgetwc.pico fgetwln.pico fgetws.pico = fileno.pico findfp.pico flags.pico fmemopen.pico fopen.pico = fopencookie.pico fprintf.pico fpurge.pico fputc.pico fputs.pico = fputwc.pico fputws.pico fread.pico freopen.pico fscanf.pico fseek.pico = fsetpos.pico ftell.pico funopen.pico fvwrite.pico fwalk.pico fwide.pico = fwprintf.pico fwscanf.pico fwrite.pico getc.pico getchar.pico = getdelim.pico getline.pico gets.pico gets_s.pico getw.pico getwc.pico = getwchar.pico makebuf.pico mktemp.pico open_memstream.pico = open_wmemstream.pico perror.pico printf.pico printf-pos.pico putc.pico = putchar.pico puts.pico putw.pico putwc.pico putwchar.pico refill.pico = remove.pico rewind.pico rget.pico scanf.pico setbuf.pico setbuffer.pico = setvbuf.pico snprintf.pico sprintf.pico sscanf.pico stdio.pico = swprintf.pico swscanf.pico tempnam.pico tmpfile.pico tmpnam.pico = ungetc.pico ungetwc.pico vasprintf.pico vdprintf.pico vfprintf.pico = vfscanf.pico vfwprintf.pico vfwscanf.pico vprintf.pico vscanf.pico = vsnprintf.pico vsprintf.pico vsscanf.pico vswprintf.pico vswscanf.pico = vwprintf.pico vwscanf.pico wbuf.pico wprintf.pico wscanf.pico = wsetup.pico xprintf.pico xprintf_float.pico xprintf_int.pico = xprintf_str.pico xprintf_errno.pico xprintf_hexdump.pico = xprintf_quote.pico xprintf_time.pico xprintf_vis.pico asctime.pico = difftime.pico localtime.pico strftime.pico strptime.pico timelocal.pico = time32.pico clock_gettime.pico gettimeofday.pico = __vdso_gettimeofday.pico __error.pico interposing_table.pico = getdents.pico lstat.pico mknod.pico stat.pico fstat.pico fstatat.pico = fstatfs.pico getfsstat.pico statfs.pico getdirentries.pico brk.pico = pipe.pico vadvise.pico compat-stub.pico accept.pico accept4.pico = aio_suspend.pico clock_nanosleep.pico close.pico connect.pico fcntl.pico = fdatasync.pico fsync.pico fork.pico kevent.pico msync.pico = nanosleep.pico open.pico openat.pico poll.pico ppoll.pico pselect.pico = ptrace.pico read.pico readv.pico recvfrom.pico recvmsg.pico select.pico = sendmsg.pico sendto.pico setcontext.pico sigprocmask.pico = sigsuspend.pico sigtimedwait.pico sigwait.pico sigwaitinfo.pico = swapcontext.pico wait4.pico wait6.pico write.pico writev.pico = sigaction.pico cerror.pico syscall.pico link.pico unlink.pico chdir.pico = fchdir.pico freebsd11_mknod.pico chmod.pico chown.pico break.pico = getpid.pico mount.pico unmount.pico setuid.pico getuid.pico geteuid.pico = getpeername.pico getsockname.pico access.pico chflags.pico fchflags.pico = sync.pico kill.pico getppid.pico dup.pico freebsd10_pipe.pico = getegid.pico profil.pico ktrace.pico getgid.pico setlogin.pico acct.pico = sigaltstack.pico ioctl.pico reboot.pico revoke.pico symlink.pico = readlink.pico execve.pico umask.pico chroot.pico vfork.pico sbrk.pico = freebsd11_vadvise.pico munmap.pico mprotect.pico madvise.pico = mincore.pico getgroups.pico setgroups.pico getpgrp.pico setpgid.pico = setitimer.pico swapon.pico getitimer.pico getdtablesize.pico dup2.pico = setpriority.pico socket.pico getpriority.pico bind.pico setsockopt.pico = listen.pico getrusage.pico getsockopt.pico settimeofday.pico fchown.pico = fchmod.pico setreuid.pico setregid.pico rename.pico flock.pico = mkfifo.pico shutdown.pico socketpair.pico mkdir.pico rmdir.pico = utimes.pico adjtime.pico setsid.pico quotactl.pico nlm_syscall.pico = nfssvc.pico lgetfh.pico getfh.pico sysarch.pico rtprio.pico semsys.pico = msgsys.pico shmsys.pico setfib.pico ntp_adjtime.pico setgid.pico = setegid.pico seteuid.pico freebsd11_stat.pico freebsd11_fstat.pico = freebsd11_lstat.pico pathconf.pico fpathconf.pico getrlimit.pico = setrlimit.pico freebsd11_getdirentries.pico __syscall.pico __sysctl.pico = mlock.pico munlock.pico undelete.pico futimes.pico getpgid.pico = freebsd7___semctl.pico semget.pico semop.pico freebsd7_msgctl.pico = msgget.pico msgsnd.pico msgrcv.pico shmat.pico freebsd7_shmctl.pico = shmdt.pico shmget.pico clock_settime.pico clock_getres.pico = ktimer_create.pico ktimer_delete.pico ktimer_settime.pico = ktimer_gettime.pico ktimer_getoverrun.pico ffclock_getcounter.pico = ffclock_setestimate.pico ffclock_getestimate.pico = clock_getcpuclockid2.pico ntp_gettime.pico minherit.pico rfork.pico = issetugid.pico lchown.pico aio_read.pico aio_write.pico lio_listio.pico = freebsd11_getdents.pico lchmod.pico lutimes.pico freebsd11_nstat.pico = freebsd11_nfstat.pico freebsd11_nlstat.pico preadv.pico pwritev.pico = fhopen.pico freebsd11_fhstat.pico modnext.pico modstat.pico = modfnext.pico modfind.pico kldload.pico kldunload.pico kldfind.pico = kldnext.pico kldstat.pico kldfirstmod.pico getsid.pico setresuid.pico = setresgid.pico aio_return.pico aio_cancel.pico aio_error.pico = mlockall.pico munlockall.pico __getcwd.pico sched_setparam.pico = sched_getparam.pico sched_setscheduler.pico sched_getscheduler.pico = sched_yield.pico sched_get_priority_max.pico sched_get_priority_min.pico = sched_rr_get_interval.pico utrace.pico kldsym.pico jail.pico = nnpfs_syscall.pico sigpending.pico __acl_get_file.pico = __acl_set_file.pico __acl_get_fd.pico __acl_set_fd.pico = __acl_delete_file.pico __acl_delete_fd.pico __acl_aclcheck_file.pico = __acl_aclcheck_fd.pico extattrctl.pico extattr_set_file.pico = extattr_get_file.pico extattr_delete_file.pico aio_waitcomplete.pico = getresuid.pico getresgid.pico kqueue.pico freebsd11_kevent.pico = extattr_set_fd.pico extattr_get_fd.pico extattr_delete_fd.pico = __setugid.pico eaccess.pico afs3_syscall.pico nmount.pico = __mac_get_proc.pico __mac_set_proc.pico __mac_get_fd.pico = __mac_get_file.pico __mac_set_fd.pico __mac_set_file.pico kenv.pico = lchflags.pico uuidgen.pico sendfile.pico mac_syscall.pico = freebsd11_getfsstat.pico freebsd11_statfs.pico freebsd11_fstatfs.pico = freebsd11_fhstatfs.pico ksem_close.pico ksem_post.pico ksem_wait.pico = ksem_trywait.pico ksem_init.pico ksem_open.pico ksem_unlink.pico = ksem_getvalue.pico ksem_destroy.pico __mac_get_pid.pico = __mac_get_link.pico __mac_set_link.pico extattr_set_link.pico = extattr_get_link.pico extattr_delete_link.pico __mac_execve.pico = sigreturn.pico getcontext.pico swapoff.pico __acl_get_link.pico = __acl_set_link.pico __acl_delete_link.pico __acl_aclcheck_link.pico = thr_create.pico thr_exit.pico thr_self.pico thr_kill.pico = jail_attach.pico extattr_list_fd.pico extattr_list_file.pico = extattr_list_link.pico ksem_timedwait.pico thr_suspend.pico = thr_wake.pico kldunloadf.pico audit.pico auditon.pico getauid.pico = setauid.pico getaudit.pico setaudit.pico getaudit_addr.pico = setaudit_addr.pico auditctl.pico _umtx_op.pico thr_new.pico = sigqueue.pico kmq_open.pico kmq_setattr.pico kmq_timedreceive.pico = kmq_timedsend.pico kmq_notify.pico kmq_unlink.pico abort2.pico = thr_set_name.pico aio_fsync.pico rtprio_thread.pico sctp_peeloff.pico = sctp_generic_sendmsg.pico sctp_generic_sendmsg_iov.pico = sctp_generic_recvmsg.pico pread.pico pwrite.pico mmap.pico lseek.pico = truncate.pico ftruncate.pico thr_kill2.pico shm_open.pico = shm_unlink.pico cpuset.pico cpuset_setid.pico cpuset_getid.pico = cpuset_getaffinity.pico cpuset_setaffinity.pico faccessat.pico = fchmodat.pico fchownat.pico fexecve.pico freebsd11_fstatat.pico = futimesat.pico linkat.pico mkdirat.pico mkfifoat.pico = freebsd11_mknodat.pico readlinkat.pico renameat.pico symlinkat.pico = unlinkat.pico posix_openpt.pico gssd_syscall.pico jail_get.pico = jail_set.pico jail_remove.pico closefrom.pico __semctl.pico msgctl.pico = shmctl.pico lpathconf.pico __cap_rights_get.pico cap_enter.pico = cap_getmode.pico pdfork.pico pdkill.pico pdgetpid.pico = getloginclass.pico setloginclass.pico rctl_get_racct.pico = rctl_get_rules.pico rctl_get_limits.pico rctl_add_rule.pico = rctl_remove_rule.pico posix_fallocate.pico posix_fadvise.pico = cap_rights_limit.pico cap_ioctls_limit.pico cap_ioctls_get.pico = cap_fcntls_limit.pico cap_fcntls_get.pico bindat.pico connectat.pico = chflagsat.pico pipe2.pico aio_mlock.pico procctl.pico futimens.pico = utimensat.pico fhstat.pico fhstatfs.pico mknodat.pico = cpuset_getdomain.pico cpuset_setdomain.pico getrandom.pico getfhat.pico = fhlink.pico fhlinkat.pico fhreadlink.pico funlinkat.pico _exit.pico = _getlogin.pico _clock_gettime.pico _gettimeofday.pico _fstat.pico = _fstatat.pico _fstatfs.pico _getfsstat.pico _statfs.pico = _getdirentries.pico _accept.pico _accept4.pico _aio_suspend.pico = _clock_nanosleep.pico _close.pico _connect.pico _fcntl.pico = _fdatasync.pico _fsync.pico _fork.pico _kevent.pico _msync.pico = _nanosleep.pico _open.pico _openat.pico _poll.pico _ppoll.pico = _pselect.pico _ptrace.pico _read.pico _readv.pico _recvfrom.pico = _recvmsg.pico _select.pico _sendmsg.pico _sendto.pico _setcontext.pico = _sigprocmask.pico _sigsuspend.pico _sigtimedwait.pico _sigwait.pico = _sigwaitinfo.pico _swapcontext.pico _wait4.pico _wait6.pico _write.pico = _writev.pico _sigaction.pico stack_protector.pico = stack_protector_compat.pico auth_none.pico auth_unix.pico = authunix_prot.pico bindresvport.pico clnt_bcast.pico clnt_dg.pico = clnt_generic.pico clnt_perror.pico clnt_raw.pico clnt_simple.pico = clnt_vc.pico rpc_dtablesize.pico getnetconfig.pico getnetpath.pico = getrpcent.pico getrpcport.pico mt_misc.pico pmap_clnt.pico = pmap_getmaps.pico pmap_getport.pico pmap_prot.pico pmap_prot2.pico = pmap_rmt.pico rpc_prot.pico rpc_commondata.pico rpc_callmsg.pico = rpc_generic.pico rpc_soc.pico rpcb_clnt.pico rpcb_prot.pico = rpcb_st_xdr.pico rpcsec_gss_stub.pico svc.pico svc_auth.pico svc_dg.pico = svc_auth_unix.pico svc_generic.pico svc_raw.pico svc_run.pico = svc_simple.pico svc_vc.pico auth_time.pico auth_des.pico = authdes_prot.pico des_crypt.pico des_soft.pico crypt_client.pico = key_call.pico key_prot_xdr.pico getpublickey.pico svc_auth_des.pico = netname.pico netnamer.pico rpcdname.pico rtime.pico crypt_clnt.pico = crypt_xdr.pico uuid_compare.pico uuid_create.pico uuid_create_nil.pico = uuid_equal.pico uuid_from_string.pico uuid_hash.pico uuid_is_nil.pico = uuid_stream.pico uuid_to_string.pico xdr.pico xdr_array.pico = xdr_float.pico xdr_mem.pico xdr_rec.pico xdr_reference.pico = xdr_sizeof.pico xdr_stdio.pico xdryp.pico yp_xdr.pico yplib.pico = subr_capability.pico _hdtoa.pico _hldtoa.pico _ldtoa.pico glue.pico = gdtoa_dmisc.pico gdtoa_dtoa.pico gdtoa_gdtoa.pico gdtoa_gethex.pico = gdtoa_gmisc.pico gdtoa_hd_init.pico gdtoa_hexnan.pico gdtoa_misc.pico = gdtoa_smisc.pico gdtoa_strtod.pico gdtoa_strtodg.pico gdtoa_strtof.pico = gdtoa_strtord.pico gdtoa_sum.pico gdtoa_ulp.pico modf.pico C99_Exit.pico = a64l.pico abort.pico abs.pico atexit.pico atof.pico atoi.pico atol.pico = atoll.pico bsearch.pico cxa_thread_atexit.pico = cxa_thread_atexit_impl.pico div.pico exit.pico getenv.pico getopt.pico = getopt_long.pico getsubopt.pico hcreate.pico hcreate_r.pico = hdestroy_r.pico heapsort.pico heapsort_b.pico hsearch_r.pico = imaxabs.pico imaxdiv.pico insque.pico l64a.pico labs.pico ldiv.pico = llabs.pico lldiv.pico lsearch.pico merge.pico mergesort_b.pico = ptsname.pico qsort.pico qsort_r.pico quick_exit.pico radixsort.pico = rand.pico random.pico reallocarray.pico reallocf.pico realpath.pico = remque.pico set_constraint_handler_s.pico strfmon.pico strtoimax.pico = strtol.pico strtold.pico strtoll.pico strtoq.pico strtoul.pico = strtonum.pico strtoull.pico strtoumax.pico strtouq.pico system.pico = tdelete.pico tfind.pico tsearch.pico twalk.pico jemalloc_jemalloc.pico = jemalloc_arena.pico jemalloc_background_thread.pico jemalloc_base.pico = jemalloc_bin.pico jemalloc_bitmap.pico jemalloc_ckh.pico = jemalloc_ctl.pico jemalloc_div.pico jemalloc_extent.pico = jemalloc_extent_dss.pico jemalloc_extent_mmap.pico jemalloc_hash.pico = jemalloc_hooks.pico jemalloc_large.pico jemalloc_log.pico = jemalloc_malloc_io.pico jemalloc_mutex.pico jemalloc_mutex_pool.pico = jemalloc_nstime.pico jemalloc_pages.pico jemalloc_prng.pico = jemalloc_prof.pico jemalloc_rtree.pico jemalloc_stats.pico = jemalloc_sz.pico jemalloc_tcache.pico jemalloc_ticker.pico = jemalloc_tsd.pico jemalloc_witness.pico bcmp.pico bcopy.pico bzero.pico = explicit_bzero.pico ffs.pico ffsl.pico ffsll.pico fls.pico flsl.pico = flsll.pico memccpy.pico memchr.pico memrchr.pico memcmp.pico memcpy.pico = memmem.pico memmove.pico memset.pico memset_s.pico stpcpy.pico = stpncpy.pico strcasecmp.pico strcat.pico strcasestr.pico strchr.pico = strchrnul.pico strcmp.pico strcoll.pico strcpy.pico strcspn.pico = strdup.pico strerror.pico strlcat.pico strlcpy.pico strlen.pico = strmode.pico strncat.pico strncmp.pico strncpy.pico strndup.pico = strnlen.pico strnstr.pico strpbrk.pico strrchr.pico strsep.pico = strsignal.pico strspn.pico strstr.pico strtok.pico strxfrm.pico = swab.pico timingsafe_bcmp.pico timingsafe_memcmp.pico wcpcpy.pico = wcpncpy.pico wcscasecmp.pico wcscat.pico wcschr.pico wcscmp.pico = wcscoll.pico wcscpy.pico wcscspn.pico wcsdup.pico wcslcat.pico = wcslcpy.pico wcslen.pico wcsncasecmp.pico wcsncat.pico wcsncmp.pico = wcsncpy.pico wcsnlen.pico wcspbrk.pico wcsrchr.pico wcsspn.pico = wcsstr.pico wcstok.pico wcswidth.pico wcsxfrm.pico wmemchr.pico = wmemcmp.pico wmemcpy.pico wmemmove.pico wmemset.pico | tsort -q` = -lcompiler_rt -lssp_nonshared ;' > .CURDIR=3D'/usr/src/lib/libc' > .MAKE=3D'make' > = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/= powerpc.powerpc/lib/libc' > .TARGETS=3D'all' > = DESTDIR=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/= powerpc.powerpc/tmp' > LD_LIBRARY_PATH=3D'' > MACHINE=3D'powerpc' > MACHINE_ARCH=3D'powerpc' > MAKEOBJDIRPREFIX=3D'' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20181221' > = PATH=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/pow= erpc.powerpc/tmp/usr/sbin:/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.p= owerpc/usr/src/powerpc.powerpc/tmp/usr/bin:/usr/obj/powerpcvtsc_clang_altb= inutils/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/legacy/usr/sbin:/usr/o= bj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.powerpc/t= mp/legacy/usr/bin:/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/u= sr/src/powerpc.powerpc/tmp/legacy/bin::/sbin:/bin:/usr/sbin:/usr/bin' > SRCTOP=3D'/usr/src' > = OBJTOP=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/p= owerpc.powerpc' > .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang_altbinutils-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk = /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/libc/Makefile = /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk = /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk = /usr/src/lib/libc/powerpc/Makefile.inc /usr/src/lib/libc/db/Makefile.inc = /usr/src/lib/libc/db/btree/Makefile.inc = /usr/src/lib/libc/db/db/Makefile.inc = /usr/src/lib/libc/db/hash/Makefile.inc = /usr/src/lib/libc/db/man/Makefile.inc = /usr/src/lib/libc/db/mpool/Makefile.inc = /usr/src/lib/libc/db/recno/Makefile.inc = /usr/src/lib/libc/compat-43/Makefile.inc = /usr/src/lib/libc/gdtoa/Makefile.inc /usr/src/lib/libc/gen/Makefile.inc = /usr/src/lib/libc/powerpc/gen/Makefile.inc = /usr/src/lib/libc/powerpc/gen/Makefile.common = /usr/src/lib/libc/gmon/Makefile.inc /usr/src/lib/libc/iconv/Makefile.inc = /usr/src/lib/libc_nonshared/Makefile.iconv = /usr/src/lib/libc/inet/Makefile.inc /usr/src/lib/libc/isc/Makefile.inc = /usr/src/lib/libc/locale/Makefile.inc /usr/src/lib/libc/md/Makefile.inc = /usr/src/lib/libc/nameser/Makefile.inc = /usr/src/lib/libc/net/Makefile.inc /usr/src/lib/libc/nls/Makefile.inc = /usr/src/lib/libc/posix1e/Makefile.inc = /usr/src/lib/libc/quad/Makefile.inc /usr/src/lib/libc/regex/Makefile.inc = /usr/src/lib/libc/resolv/Makefile.inc = /usr/src/lib/libc/stdio/Makefile.inc = /usr/src/lib/libc/stdlib/Makefile.inc = /usr/src/lib/libc/stdlib/jemalloc/Makefile.inc = /usr/src/lib/libc/stdtime/Makefile.inc = /usr/src/lib/libc/string/Makefile.inc /usr/src/lib/libc/sys/Makefile.inc = /usr/src/sys/sys/syscall.mk /usr/src/lib/libc/powerpc/sys/Makefile.inc = /usr/src/lib/libc/secure/Makefile.inc /usr/src/lib/libc/rpc/Makefile.inc = /usr/src/lib/libc/uuid/Makefile.inc /usr/src/lib/libc/xdr/Makefile.inc = /usr/src/lib/libc/yp/Makefile.inc = /usr/src/lib/libc/capability/Makefile.inc /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/lib/libc/../Makefile.inc = /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk = /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk = /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.files.mk = /usr/src/share/mk/bsd.dirs.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.dep.mk = /usr/src/share/mk/bsd.clang-analyze.mk /usr/src/share/mk/bsd.obj.mk = /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.sys.mk' > .PATH=3D'. /usr/src/lib/libc /usr/src/lib/libc/db/btree = /usr/src/lib/libc/db/db /usr/src/lib/libc/db/hash = /usr/src/lib/libc/db/man /usr/src/lib/libc/db/mpool = /usr/src/lib/libc/db/recno /usr/src/lib/libc/compat-43 = /usr/src/lib/libc/gdtoa /usr/src/lib/libc/powerpc/gen = /usr/src/lib/libc/gen /usr/src/etc /usr/src/contrib/libc-pwcache = /usr/src/contrib/libc-vis /usr/src/lib/libc/gmon /usr/src/lib/libc/iconv = /usr/src/lib/libc/inet /usr/src/lib/libc/isc /usr/src/lib/libc/locale = /usr/src/lib/libmd /usr/src/lib/libc/nameser /usr/src/lib/libc/net = /usr/src/lib/libc/nls /usr/src/lib/libc/posix1e /usr/src/lib/libc/quad = /usr/src/lib/libc/regex /usr/src/lib/libc/resolv /usr/src/lib/libc/stdio = /usr/src/lib/libc/stdlib /usr/src/lib/libc/stdlib/jemalloc = /usr/src/lib/libc/stdtime /usr/src/contrib/tzcode/stdtime = /usr/src/lib/libc/string /usr/src/sys/libkern = /usr/src/lib/libc/powerpc/sys /usr/src/lib/libc/sys = /usr/src/lib/libc/secure /usr/src/lib/libc/rpc /usr/src/lib/libc/. = /usr/src/lib/libc/uuid /usr/src/lib/libc/xdr /usr/src/lib/libc/yp = /usr/src/sys/kern /usr/src/lib/libc/capability' > 1 error # more = ~/src.configs/src.conf.powerpc-clang_altbinutils-bootstrap.amd64-host=20 TO_TYPE=3Dpowerpc TOOLS_TO_TYPE=3Dpowerpc64 VERSION_CONTEXT=3D13.0 # KERNCONF=3DGENERICvtsc-NODBG TARGET=3D${TO_TYPE} .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # #WITH_CROSS_COMPILER=3D WITH_SYSTEM_COMPILER=3D WITHOUT_SYSTEM_LINKER=3D # # llvm's libunwind for 32-bit powerpc: # Two of its .S files get tons of error reports. # So avoid llvm's libunwind for now. WITHOUT_LLVM_LIBUNWIND=3D WITH_LIBCPLUSPLUS=3D WITHOUT_LLD_BOOTSTRAP=3D WITHOUT_BINUTILS_BOOTSTRAP=3D WITH_ELFTOOLCHAIN_BOOTSTRAP=3D #Disables avoiding bootstrap: WITHOUT_LLVM_TARGET_ALL=3D WITHOUT_LLVM_TARGET_AARCH64=3D WITHOUT_LLVM_TARGET_ARM=3D WITHOUT_LLVM_TARGET_MIPS=3D WITH_LLVM_TARGET_POWERPC=3D WITHOUT_LLVM_TARGET_SPARC=3D WITHOUT_LLVM_TARGET_X86=3D #WITH_CLANG_BOOTSTRAP=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_CLANG_EXTRAS=3D # Note: LLD is only for experimentation WITH_LLD=3D WITHOUT_LLD_IS_LD=3D WITH_BINUTILS=3D WITH_PORT_BASE_BINUTILS=3D # Note: no 8 Byte atomics, so not LLDB WITHOUT_LLDB=3D # WITH_BOOT=3D WITHOUT_LIB32=3D # LOADER_DEFAULT_INTERP=3D4th # WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GCC_IS_CC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D # # Avoid "converts between pointers to integer types with different sign = [-Werror,-Wpointer-sign]" # and such from blocking the build. WERROR=3D MALLOC_PRODUCTION=3D # # Avoid stripping but do not control host -g status as well: DEBUG_FLAGS+=3D # WITH_REPRODUCIBLE_BUILD=3D WITH_DEBUG_FILES=3D # # # For TO (so-called "cross") stages . . . # So-called-cross via ${TO_TYPE}-xtoolchain-gcc/${TO_TYPE}-gcc. . . # TOOLS_TO_TYPE based on ${TO_TYPE}-xtoolchain-gcc related binutils. . . # = CROSS_BINUTILS_PREFIX=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSI= ON_CONTEXT}/bin/ .if ${.MAKE.LEVEL} =3D=3D 0 CFLAGS.powerpc+=3D -B${CROSS_BINUTILS_PREFIX} CXXFLAGS.powerpc+=3D -B${CROSS_BINUTILS_PREFIX} .export CFLAGS.powerpc .export CXXFLAGS.powerpc # # Note: The WITH_CROSS_COMPILER picks up the CROSS_BINUTILS_PREFIX # binding automatically. # XAS=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/as= -mppc32 XAR=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/ar= XNM=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/nm= = XOBJCOPY=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/objcopy = XOBJDUMP=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/objdump = XRANLIB=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bi= n/ranlib = XSIZE=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/= size #NO-SUCH: = XSTRINGS=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/strings = XSTRINGS=3D/usr/local/bin/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEX= T}-strings .export XAS .export XAR .export XNM .export XOBJCOPY .export XOBJDUMP .export XRANLIB .export XSIZE .export XSTRINGS XLD=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/ld= -m elf32ppc_fbsd .export XLD .endif =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Jun 27 12:55:26 2019 Return-Path: Delivered-To: freebsd-ppc@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 AEE4B15C2240 for ; Thu, 27 Jun 2019 12:55:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 537B684D91 for ; Thu, 27 Jun 2019 12:55:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 2CBE816E5A; Thu, 27 Jun 2019 12:55:26 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 28E6516E59 for ; Thu, 27 Jun 2019 12:55:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DFE1084D8E for ; Thu, 27 Jun 2019 12:55:25 +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 3B5726BF5 for ; Thu, 27 Jun 2019 12:55:25 +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 x5RCtPNC054540 for ; Thu, 27 Jun 2019 12:55:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5RCtPnN054539 for powerpc@FreeBSD.org; Thu, 27 Jun 2019 12:55:25 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: powerpc@FreeBSD.org Subject: [Bug 232387] head -r345558 (updated): system crash during kldload if_epair on powerpc64 (for more modern buildworld buildkernel toolchain experiments), Probably also: ipfw.ko linuxkpi.ko siftr.ko Date: Thu, 27 Jun 2019 12:55:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: vimage X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: powerpc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc 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-Rspamd-Queue-Id: 537B684D91 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.985,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 12:55:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232387 Piotr Kubaj changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed CC| |pkubaj@FreeBSD.org Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jun 27 19:03:16 2019 Return-Path: Delivered-To: freebsd-ppc@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 C3F6C15CA689 for ; Thu, 27 Jun 2019 19:03:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-55.consmr.mail.gq1.yahoo.com (sonic308-55.consmr.mail.gq1.yahoo.com [98.137.68.31]) (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 6680B6BB0D for ; Thu, 27 Jun 2019 19:03:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: J4Hrkz0VM1mzcN8w46NgI3HpbBQlZJoE7HxOwrEq3floKjrMxN1KMcTF_XxVl9k kJZ1oDPESgQmKKxdexEuYzly6BBSppG49oq9sTXthDT0jtOf6SS6wKEIrk_GpMd4NhWqYW9tGN4i MYbRixsyLwD3jOGezXfJj1uDMqoFJc4Ab68LCeyRN0Jzizh9Ux1UC.IwZv53x0STV4zzF.PLWgAy jDYd9tk_Ok57Y.jpoRZWUFPZMDaGzkzv8cczDwv4ym9vumLy2bsHG01l28EWgsNUZ9ZMlBX7R9IO TRHRXlMa5TnFzJEMZny76Rfz5DnB2Su83ldfLTOtTUcpENSALpKE9.Mo_HLxAz3ds_iEIpQwMKe1 25R3gkFL74lFZwE3wFFbNpmki7ZJcb0Cbo.TTduu7dFruKYP5vDyRefTkhHkdx1SjKEmi136INBg CI9Oxuqvdxj3ZtEG3XRbIobNgr9bXq9a6.rcrOglnMrtSq8i5vi3_yvjP4KWCsnXDuMcdVWP5j5r SAaqIMG2V7cHA1Ro4FDI_BbDzRYk_HHIkfOuunA8EIdejfYZO3Mw6PBBljPpDOv_N7QFojmTuPxp wp89pCCprmIjjjIYip4._N8AYTfI57SeWzrhKEtYLtm9_0wlSGd4mcJOIqJgA9vASaVP1Oj.BnNL ejbR3WAHGL4Bplehk5E4_MVFD2G18w8AQDKAlfJMWZqQnfveeQjNaizT0wE2qWUYsRqhzpaQyI8x evoOkJy4eHUUXMah0u.TmjPs9yTs9T__XnAk2de5YnAnl6ppM7A3VO79g_YLtEZpvGix6NfNuF.5 wjRwBwsBUlqbYTdmtwX.jwCi3vw4Q6iFuvcfj9bI8Izctqb_4WbZaCTSBSgayGUT5ZMEbjVqieTZ BUVcAKhCXDC0TlE8wuVnH54N.7uxcDUiwpy8U9gBXj5q9LqwyiUpH0nbQxCFoN1.z77u.A6JKSlF SeADFNf8Ubowi7oIwhgDxbAleMlrdBQnaOONbWE0DBtflaAOLCl5Yt9Hdair32e549moYeRJzZE0 rklXaqG.sGv0R4PliShHkftps_RustsZHD2fTkLCxuSl5VlzEuyJwpa0geJiLZvKysBYF1c2KK7P k3lZXv2.9h4mYJhcD8xCSEiIt8LciWnaY8FxpPpPTyIz6nqHLrtV8nzdOEEBSJjLIhMGJwcrq.Nk IUVaorkp.o0R6aBn5CXq7bYO4EFyruAUiAOs.R0elIBQ7t8DsHpFljw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Thu, 27 Jun 2019 19:03:07 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.113]) ([67.170.167.181]) by smtp425.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 09dc60b197f5036382fdbddeaee41770; Thu, 27 Jun 2019 19:03:06 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: FreeBSD/powerpc and FreeBSD/powerpcspe toolchain update From: Mark Millard In-Reply-To: Date: Thu, 27 Jun 2019 12:03:05 -0700 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Justin Hibbits X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 6680B6BB0D X-Spamd-Bar: + X-Spamd-Result: default: False [1.43 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; 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)[]; NEURAL_HAM_MEDIUM(-0.41)[-0.406,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.74)[0.742,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.32)[ip: (4.99), ipnet: 98.137.64.0/21(0.93), asn: 36647(0.75), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.28)[0.279,0]; RCVD_IN_DNSWL_NONE(0.00)[31.68.137.98.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 19:03:17 -0000 On 2019-Jun-24, at 19:40, Justin Hibbits wrote: > As of r349351 32-bit powerpc toolchains need to be rebuilt as part of > buildworld, in order to take advantage of the new Secure Procedure > Linkage Table (Secure-PLT) format. This can be done by passing > "WITHOUT_SYSTEM_TOOLCHAIN=3D" on the 'make buildworld' command line. >=20 > Cross-building should work fine with no changes, as that already > builds a new toolchain. If building with an external toolchain, such > as gcc8, add 'CFLAGS+=3D -msecure-plt' to /etc/src.conf to ensure the > new PLT is used, otherwise it will default to BSS-PLT, which is fully > compatible, but not as secure. There is breakage intended at all, so > please let me know if there are any problems. My attempt to amd64->powerpc (32-bit) cross build from/to head -r349444 via system clang and lld got the following. This may not be a recent change. It has been a long time since I tried lld, instead using devel/powerpc64-binutils. ( devel/powerpc64-binutils now fails where it used to work, but I sent a separate note out about that. ) --- agp.ko.full --- ld: agp.kld(.text+0x37a4): R_PPC_PLTREL24 reloc against local symbol agp.kld: could not read symbols: Bad value *** [agp.ko.full] Error code 1 make[4]: stopped in /usr/src/sys/modules/agp .ERROR_TARGET=3D'agp.ko.full' = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/pow= erpc.powerpc/sys/GENERICvtsc-NODBG/modules/usr/src/sys/modules/agp/agp.ko.= full.meta' .MAKE.LEVEL=3D'4' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'ld -m elf32ppc_fbsd -Bshareable -znotext --secure-plt -d = -warn-common -o agp.ko.full agp.kld;' .CURDIR=3D'/usr/src/sys/modules/agp' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powe= rpc/sys/GENERICvtsc-NODBG/modules/usr/src/sys/modules/agp' .TARGETS=3D'all' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'powerpc' MACHINE_ARCH=3D'powerpc' = MAKEOBJDIRPREFIX=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/pow= erpc.powerpc/sys/GENERICvtsc-NODBG/modules' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20181221' = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc= /tmp/usr/sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.p= owerpc/tmp/usr/bin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powe= rpc.powerpc/tmp/legacy/usr/sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc= /usr/src/powerpc.powerpc/tmp/legacy/usr/bin:/usr/obj/powerpcvtsc_clang/pow= erpc.powerpc/usr/src/powerpc.powerpc/tmp/legacy/bin::/sbin:/bin:/usr/sbin:= /usr/bin' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.power= pc/sys/GENERICvtsc-NODBG/modules/usr/src' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk = /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/sys/modules/agp/Makefile = /usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/sys/modules/agp/../Makefile.inc = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk = /usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/sys/conf/kern.mk' .PATH=3D'. /usr/src/sys/modules/agp /usr/src/sys/dev/agp = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/sys/GEN= ERICvtsc-NODBG' 1 error This was based on: # more ~/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host=20 TO_TYPE=3Dpowerpc # KERNCONF=3DGENERICvtsc-NODBG TARGET=3D${TO_TYPE} .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # WITH_CROSS_COMPILER=3D WITH_SYSTEM_COMPILER=3D WITHOUT_SYSTEM_LINKER=3D # WITH_LIBCPLUSPLUS=3D WITHOUT_LLD_BOOTSTRAP=3D WITH_BINUTILS_BOOTSTRAP=3D WITH_ELFTOOLCHAIN_BOOTSTRAP=3D #Disables avoiding bootstrap: WITHOUT_LLVM_TARGET_ALL=3D WITHOUT_LLVM_TARGET_AARCH64=3D WITHOUT_LLVM_TARGET_ARM=3D WITHOUT_LLVM_TARGET_MIPS=3D WITH_LLVM_TARGET_POWERPC=3D WITHOUT_LLVM_TARGET_SPARC=3D WITHOUT_LLVM_TARGET_X86=3D WITH_CLANG_BOOTSTRAP=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_CLANG_EXTRAS=3D WITHOUT_LLD=3D WITH_BINTUILS=3D # lldb requires missing atomic 8-byte operations for powerpc (non-64) WITHOUT_LLDB=3D # WITH_BOOT=3D WITHOUT_LIB32=3D # LOADER_DEFAULT_INTERP=3D4th # WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GCC_IS_CC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D # # Use WERROR to avoid stopping at the likes of: # error: implicit conversion from 'int' to 'int8_t' (aka 'signed char') = changes value from 128 to -128 [-Werror,-Wconstant-conversion] WERROR=3D MALLOC_PRODUCTION=3D # # Avoid stripping but do not control host -g status as well: DEBUG_FLAGS+=3D # WITH_REPRODUCIBLE_BUILD=3D WITH_DEBUG_FILES=3D > I will submit ports updates for review in the next few days, so that > ports can implicitly take advantage of secure-PLT as well. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Jun 27 19:24:54 2019 Return-Path: Delivered-To: freebsd-ppc@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 2FB7315CB161 for ; Thu, 27 Jun 2019 19:24:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB7EC6C70D for ; Thu, 27 Jun 2019 19:24:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id BE9961CD15; Thu, 27 Jun 2019 19:24:53 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id BA7AB1CD14 for ; Thu, 27 Jun 2019 19:24:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 873C66C70B for ; Thu, 27 Jun 2019 19:24:53 +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 ADD3EA365 for ; Thu, 27 Jun 2019 19:24:52 +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 x5RJOqOa059986 for ; Thu, 27 Jun 2019 19:24:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5RJOqDh059985 for powerpc@FreeBSD.org; Thu, 27 Jun 2019 19:24: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: powerpc@FreeBSD.org Subject: [Bug 238724] textproc/asciidoc 8.6.10 requires python 2.7 in spite of make.conf DEFAULT_VERSIONS+=python=3.7 Date: Thu, 27 Jun 2019 19:24:52 +0000 X-Bugzilla-Reason: 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: dclarke@blastwave.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ 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-Rspamd-Queue-Id: CB7EC6C70D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.982,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 19:24:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238724 --- Comment #5 from Dennis Clarke --- (In reply to Alexey Dokuchaev from comment #3) I think crafting a small patch is the best way forwards.=20 At least for now.=20 Thank you. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Thu Jun 27 19:53:27 2019 Return-Path: Delivered-To: freebsd-ppc@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 B54FE15CBBDB for ; Thu, 27 Jun 2019 19:53:27 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDFC16D603 for ; Thu, 27 Jun 2019 19:53:26 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-io1-xd2a.google.com with SMTP id s7so7393442iob.11 for ; Thu, 27 Jun 2019 12:53:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=d1AxX5fyGsU2s5An0csdFx4SXfYnoLvy1D044lM/z58=; b=vElQ6Y9P8aaq889NQXTTm78BI96vz+DIs/N0wg3K51esjh8RddlQvAVUm6WEaT8FaB YDcPhTzZZmnGVrBFjXj01O/vCbReuvgTbM8hv2XJB9hcBqB6PwEF7KjmEKM3W2wFTwMJ 0AvznGsj4KDXiMwgpOnFmNFoyKhNFQb+SZN/0ZfcKifxCAnJ+X2i0cmNEAq4M89F8cou rsdkico+mgRXDIHq/nWfD/p2Q1a8PI8m/xqwiukkkrEoHLohfTD+ErO1Cj2ShgSzekjh Zj/76i8nd/CH1rjPDASAlqdLi9YF5t2Nsx+P3nwYSjk67pgKSjXXlEDGSsziCf8UIr6U Qq8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=d1AxX5fyGsU2s5An0csdFx4SXfYnoLvy1D044lM/z58=; b=BeN2fqRt8HP4N7KrcYIVaK7Fe/JEeIKGzn28A0/6Wjp+rK3OfIqmypHW88ChdRGxAN iUcUzXqLrMSCT2ofP6SdMQkyC0kX7zdIOBzIVRR1i7IY4rIKDxMGloOoyX/HHHCV0hAK 0s+UWAn6yB2So8cvNtIwMg89OI1Ks+u6oDlhNKpQ6EyGVWY8qQPQOU9RQhMLBc2g5KgS hfHxkp0DoALFv6Wi9DOfoD1/6f5hUwHKGNBafhI9Vp4tNi+YqS3x84TKjb6dDaH73AaN 5k3udHemcldfTeIDUXw/VgpeauYSj5oiWz4cyKbV9GV/mzaHGoNRjpyfx1XxPTK0Z7Cy uO3Q== X-Gm-Message-State: APjAAAUiU47FnnFI0BiwEME9LUlpXqbpnRF9mpnXWoZGi/R+vaAgOL0i A49EyBBDu+TbNgpk+BS1MsQ= X-Google-Smtp-Source: APXvYqzGgHGy5dyd0kZdVwe1BDQpmyLBDfL2rvv4ofwj851VLWlUPjzIbH13gaXPLf0fRMTZFyI1gA== X-Received: by 2002:a05:6638:63a:: with SMTP id h26mr6707363jar.92.1561665205772; Thu, 27 Jun 2019 12:53:25 -0700 (PDT) Received: from titan.knownspace (173-25-245-129.client.mchsi.com. [173.25.245.129]) by smtp.gmail.com with ESMTPSA id c14sm132380ioa.22.2019.06.27.12.53.24 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 27 Jun 2019 12:53:25 -0700 (PDT) Sender: Justin Hibbits Date: Thu, 27 Jun 2019 14:53:12 -0500 From: Justin Hibbits To: Mark Millard Cc: FreeBSD PowerPC ML Subject: Re: FreeBSD/powerpc and FreeBSD/powerpcspe toolchain update Message-ID: <20190627145312.5abd82e7@titan.knownspace> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; powerpc64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: BDFC16D603 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=vElQ6Y9P; spf=pass (mx1.freebsd.org: domain of chmeeedalf@gmail.com designates 2607:f8b0:4864:20::d2a as permitted sender) smtp.mailfrom=chmeeedalf@gmail.com X-Spamd-Result: default: False [-6.11 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FORGED_SENDER(0.30)[jrh29@alumni.cwru.edu,chmeeedalf@gmail.com]; FREEMAIL_TO(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[jrh29@alumni.cwru.edu,chmeeedalf@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.997,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[cwru.edu]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[a.2.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.90)[ip: (-8.98), ipnet: 2607:f8b0::/32(-3.13), asn: 15169(-2.33), country: US(-0.06)] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 19:53:27 -0000 On Thu, 27 Jun 2019 12:03:05 -0700 Mark Millard wrote: > On 2019-Jun-24, at 19:40, Justin Hibbits > wrote: > > > As of r349351 32-bit powerpc toolchains need to be rebuilt as part > > of buildworld, in order to take advantage of the new Secure > > Procedure Linkage Table (Secure-PLT) format. This can be done by > > passing "WITHOUT_SYSTEM_TOOLCHAIN=" on the 'make buildworld' > > command line. > > > > Cross-building should work fine with no changes, as that already > > builds a new toolchain. If building with an external toolchain, > > such as gcc8, add 'CFLAGS+= -msecure-plt' to /etc/src.conf to > > ensure the new PLT is used, otherwise it will default to BSS-PLT, > > which is fully compatible, but not as secure. There is breakage > > intended at all, so please let me know if there are any problems. > > My attempt to amd64->powerpc (32-bit) cross build from/to head > -r349444 via system clang and lld got the following. This may not be > a recent change. It has been a long time since I tried lld, instead > using devel/powerpc64-binutils. ( devel/powerpc64-binutils now fails > where it used to work, but I sent a separate note out about that. ) > > --- agp.ko.full --- > ld: agp.kld(.text+0x37a4): R_PPC_PLTREL24 reloc against local symbol > agp.kld: could not read symbols: Bad value > *** [agp.ko.full] Error code 1 > Hi Mark, Can you determine what symbol has that relocation? I don't see that error when building natively, or cross-building with base toolchain, so there's very likely a change in binutils between 2.17 and now that's leading to this failure. > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > - Justin From owner-freebsd-ppc@freebsd.org Thu Jun 27 20:00:58 2019 Return-Path: Delivered-To: freebsd-ppc@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 A3F9A15CC01F for ; Thu, 27 Jun 2019 20:00:58 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-14.consmr.mail.bf2.yahoo.com (sonic314-14.consmr.mail.bf2.yahoo.com [74.6.132.124]) (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 394B26DA23 for ; Thu, 27 Jun 2019 20:00:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 6vUk7AQVM1mk1543s8DJuKB7Aahwg84zSenE7kvMIMBzHtoUdosSW.4ZFThBJrK TmXy0ps61SnuHJBMQjOJMIx_.SxHaAbvEHPsU2qzJyLQMKhiK6tQnb9sdggdlhwpegerqQSmLlay t588lpJQ9ef8rWQZchou73x4It1LRbZ0vBgLgCnh7PFl3ClfPLVe_fLKIWc2mK8rqNtndF.HZu_V oAIHtgGB4bZhqT7.asBuUTLIH2uwBNNiNCPLdeG4GgGLhTTZ.cej3vR.w8bJ3BLtDjWbZZttAtOi 1NGqtdDXNfA_098ZKhz9QAxrL7bOPTtuRXuFcUJcsNQXIdrvLd.x57i79vH3kQiNGuPAEKHXR5MF NsA6dBkBBADkDnO.xYgDbyL4Wkyx5bkT4t0zm5HiZguQg1yjUFMczNAI0e9QpvXJvjvZRWODRLYH wN9myIpa0tuQsUgNC6cmpFx3sZHmUieMCFwGXGCEWdhBzIgYbbx74qcNGb8B0orSzUbNfYG3kYdt MSlHPrC4GJLT3AdThk7GI9ZlZZOjJ1aESLxmJWcJjTk6A.RLCar.6bBCuf9Kj2.rbVeSX68lpb.o bR.ivubMv4ATM7EiQ4Hf6Y0UTtA6r5bN20NnHwpLmzIfp6T4ZjXHm2Wa1FbHtca57IAKEQgLV3nN KFfcSeRxtxKzUVGHlsUbbnSrhVKxtkEIw60aJHRBKY.PlbBG0lJxAbW1pI3yhaUw7iXp4nS4UjeS tVpY4XJR3_7omgZpqPNZfiXr5HOH_X03IKPxbeQ.6cqbCzQf0cPR7JEKALk7KNMOIgpgJcWywIQH VRX3oPzzjnDSYYdPMJkl4mcmI03UiNVd_gYCELzeyLkP2BGjWThAk735y.sAomRKsOTH7bDMXzBR 8JK2phyL0GttjHa9a.CHJWcsCpjxO8LKDl_0aWm.DtVl0hdCERNsFjvqZeUwn04Fa59w1iNB_ub4 nnO78k8S5DNZpApfRWUOGsPjSsKPxKN69xkE_4XdLsv4jfoqMQPFn7zi5e57DMwtrvyH.JJYVOXA .6XP5u8A6ZE3vZWNks_9dMUENdSOUgYWelPTdVKlFKMbaKnpCbaKruUL5u0h2HbmrvAgANO8kUfp NKM87aJLmfsVc.dqc0n3_IMm2l.qVyduaYJWIDtZf9dt53_18Mjc.TA11Vd6DZesoDmhpvr9i_Cr His0eN3MMNNgy4Z_lyxO6AkuF6WHaiW0SJ9x_dO6PQRZdelC_54.wWOEHR9U- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Thu, 27 Jun 2019 20:00:55 +0000 Received: by smtp401.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3cff2a0bed6296507c08dc3dd68ee74f; Thu, 27 Jun 2019 20:00:53 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Update to based on head -r349444: cross build using system clang 8.0.1 and devel/powerpc64-binutils failed for libc.so.7.full : bss-plt forced due to .../tmp/usr/lib/crtbeginS.o then exit code 1 From: Mark Millard In-Reply-To: <7D8D1CB4-AF77-4681-8174-160F98F449CE@yahoo.com> Date: Thu, 27 Jun 2019 13:01:56 -0700 Cc: freeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: References: <7D8D1CB4-AF77-4681-8174-160F98F449CE@yahoo.com> To: Justin Hibbits X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 394B26DA23 X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.12 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; 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:26101, ipnet:74.6.128.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.06)[-0.058,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.86)[0.863,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.37)[ip: (4.33), ipnet: 74.6.128.0/21(1.44), asn: 26101(1.15), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.45)[0.452,0]; RCVD_IN_DNSWL_NONE(0.00)[124.132.6.74.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 20:00:59 -0000 [I show the command listed in the .meta file for how crtbeginS.o was = produced.] On 2019-Jun-26, at 17:05, Mark Millard wrote: > [I forgot to include my = src.conf.powerpc-clang_altbinutils-bootstrap.amd64-host > file.] >=20 > On 2019-Jun-26, at 16:57, Mark Millard wrote: >=20 >> This was an amd64->powerpc (32-bit) cross build. it happens even >> when /usr/obj/powerpcvtsc_clang_altbinutils/ is empty at the >> start. >>=20 >> --- libc.so.7.full --- >> building shared library libc.so.7 >> /usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due = to = /usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.pow= erpc/tmp/usr/lib/crtbeginS.o >> cc: error: linker command failed with exit code 1 (use -v to see = invocation) >> *** [libc.so.7.full] Error code 1 FYI the command producing crtbeginS.o for this type of context is = recorded as: (I did some line splitting for readability.) # Meta data file = /usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.pow= erpc/gnu/lib/csu/crtbeginS.o.meta CMD cc -target powerpc-unknown-freebsd13.0 \ = --sysroot=3D/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src= /powerpc.powerpc/tmp \ -B/usr/local/powerpc64-unknown-freebsd13.0/bin/ \ -O2 -pipe \ -B/usr/local/powerpc64-unknown-freebsd13.0/bin/ \ -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3D3 \ -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss \ -fno-asynchronous-unwind-tables -fno-omit-frame-pointer \ -I/usr/src/contrib/gcclibs/include -I/usr/src/contrib/gcc/config = -I/usr/src/contrib/gcc -I. \ -I/usr/src/gnu/usr.bin/cc/cc_tools \ -g -std=3Dgnu89 -Qunused-arguments -g0 \ -DCRT_BEGIN -DCRTSTUFFS_O -DSHARED \ -fpic -c -o crtbeginS.o /usr/src/contrib/gcc/crtstuff.c CWD = /usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.pow= erpc/gnu/lib/csu TARGET crtbeginS.o -- command output -- -- filemon acquired metadata -- . . . >> make[4]: stopped in /usr/src/lib/libc >> .ERROR_TARGET=3D'libc.so.7.full' >> = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc= /usr/src/powerpc.powerpc/lib/libc/libc.so.7.full.meta' >> .MAKE.LEVEL=3D'4' >> MAKEFILE=3D'' >> .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes = silent=3Dyes verbose' >> _ERROR_CMD=3D'@echo building shared library libc.so.7; @rm -f = libc.so.7 libc.so; cc -target powerpc-unknown-freebsd13.0 = --sysroot=3D/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src= /powerpc.powerpc/tmp -B/usr/local/powerpc64-unknown-freebsd13.0/bin/ = -Wl,--secure-plt -nodefaultlibs -Wl,--version-script=3DVersion.map = -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o = libc.so.7.full -Wl,-soname,libc.so.7 = `NM=3D'/usr/local/powerpc64-unknown-freebsd13.0/bin/nm' NMFLAGS=3D'' = lorder trivial-vdso_tc.pico machdep_ldisd.pico bt_close.pico = bt_conv.pico bt_debug.pico bt_delete.pico bt_get.pico bt_open.pico = bt_overflow.pico bt_page.pico bt_put.pico bt_search.pico bt_seq.pico = bt_split.pico bt_utils.pico db.pico hash.pico hash_bigkey.pico = hash_buf.pico hash_func.pico hash_log2.pico hash_page.pico ndbm.pico = mpool.pico mpool-compat.pico rec_close.pico rec_delete.pico rec_get.pico = rec_open.pico rec_put.pico rec_search.pico rec_seq.pico rec_utils.pico = creat.pico gethostid.pico getwd.pico killpg.pico sethostid.pico = setpgrp.pico setrgid.pico setruid.pico sigcompat.pico = __getosreldate.pico __pthread_mutex_init_calloc_cb_stub.pico = __xuname.pico _once_stub.pico _pthread_stubs.pico _rand48.pico = _spinlock_stub.pico _thread_init.pico alarm.pico arc4random.pico = arc4random-compat.pico arc4random_uniform.pico assert.pico auxv.pico = basename.pico basename_compat.pico cap_sandboxed.pico = check_utility_compat.pico clock.pico clock_getcpuclockid.pico = closedir.pico confstr.pico crypt.pico ctermid.pico daemon.pico = devname.pico dirfd.pico dirname.pico dirname_compat.pico disklabel.pico = dlfcn.pico drand48.pico dup3.pico elf_utils.pico erand48.pico err.pico = errlst.pico errno.pico exec.pico exect.pico fdevname.pico = feature_present.pico fmtcheck.pico fmtmsg.pico fnmatch.pico = fpclassify.pico frexp.pico fstab.pico ftok.pico fts.pico ftw.pico = getbootfile.pico getbsize.pico getcap.pico getcwd.pico = getdomainname.pico getentropy.pico getgrent.pico getgrouplist.pico = gethostname.pico getloadavg.pico getlogin.pico getmntinfo.pico = getnetgrent.pico getosreldate.pico getpagesize.pico getpagesizes.pico = getpeereid.pico getprogname.pico getpwent.pico getttyent.pico = getusershell.pico getutxent.pico getvfsbyname.pico glob.pico = initgroups.pico isatty.pico isinf.pico isnan.pico jrand48.pico = lcong48.pico libc_dlopen.pico lockf.pico lrand48.pico mrand48.pico = nftw.pico nice.pico nlist.pico nrand48.pico opendir.pico pause.pico = pmadvise.pico popen.pico posix_spawn.pico psignal.pico pututxline.pico = pw_scan.pico raise.pico readdir.pico readpassphrase.pico recvmmsg.pico = rewinddir.pico scandir.pico seed48.pico seekdir.pico semctl.pico = sendmmsg.pico setdomainname.pico sethostname.pico setjmperr.pico = setmode.pico setproctitle.pico setprogname.pico siginterrupt.pico = siglist.pico signal.pico sigsetops.pico sleep.pico srand48.pico = statvfs.pico stringlist.pico strtofflags.pico sysconf.pico sysctl.pico = sysctlbyname.pico sysctlnametomib.pico syslog.pico telldir.pico = termios.pico time.pico times.pico timespec_get.pico timezone.pico = tls.pico ttyname.pico ttyslot.pico ualarm.pico ulimit.pico uname.pico = usleep.pico utime.pico utxdb.pico valloc.pico wait.pico wait3.pico = waitpid.pico waitid.pico wordexp.pico devname-compat11.pico = fts-compat.pico fts-compat11.pico ftw-compat11.pico = getmntinfo-compat11.pico glob-compat11.pico nftw-compat11.pico = readdir-compat11.pico scandir-compat11.pico unvis-compat.pico = pwcache.pico unvis.pico vis.pico cancelpoints_sem.pico = cancelpoints_sem_new.pico _ctx_start.pico eabi.pico infinity.pico = ldexp.pico makecontext.pico signalcontext.pico syncicache.pico = _set_tp.pico trivial-getcontextx.pico fabs.pico flt_rounds.pico = fpgetmask.pico fpgetround.pico fpgetsticky.pico fpsetmask.pico = fpsetround.pico _setjmp.pico setjmp.pico sigsetjmp.pico gmon.pico = mcount.pico citrus_bcs.pico citrus_bcs_strtol.pico = citrus_bcs_strtoul.pico citrus_csmapper.pico citrus_db.pico = citrus_db_factory.pico citrus_db_hash.pico citrus_esdb.pico = citrus_hash.pico citrus_iconv.pico citrus_lookup.pico = citrus_lookup_factory.pico citrus_mapper.pico citrus_memstream.pico = citrus_mmap.pico citrus_module.pico citrus_none.pico = citrus_pivot_factory.pico citrus_prop.pico citrus_stdenc.pico = bsd_iconv.pico iconv_compat.pico inet_addr.pico inet_cidr_ntop.pico = inet_cidr_pton.pico inet_lnaof.pico inet_makeaddr.pico = inet_net_ntop.pico inet_net_pton.pico inet_neta.pico inet_netof.pico = inet_network.pico inet_ntoa.pico inet_ntop.pico inet_pton.pico = nsap_addr.pico ev_streams.pico ev_timers.pico ascii.pico big5.pico = btowc.pico collate.pico collcmp.pico euc.pico fix_grouping.pico = gb18030.pico gb2312.pico gbk.pico ctype.pico isctype.pico iswctype.pico = ldpart.pico lmessages.pico lmonetary.pico lnumeric.pico localeconv.pico = mblen.pico mbrlen.pico mbrtowc.pico mbsinit.pico mbsnrtowcs.pico = mbsrtowcs.pico mbtowc.pico mbstowcs.pico mskanji.pico nextwctype.pico = nl_langinfo.pico nomacros.pico none.pico rpmatch.pico rune.pico = runetype.pico setlocale.pico setrunelocale.pico table.pico tolower.pico = toupper.pico utf8.pico wcrtomb.pico wcsnrtombs.pico wcsrtombs.pico = wcsftime.pico wcstof.pico wcstod.pico wcstoimax.pico wcstol.pico = wcstold.pico wcstoll.pico wcstombs.pico wcstoul.pico wcstoull.pico = wcstoumax.pico wctob.pico wctomb.pico wctrans.pico wctype.pico = wcwidth.pico xlocale.pico c16rtomb_iconv.pico c32rtomb_iconv.pico = mbrtoc16_iconv.pico mbrtoc32_iconv.pico md5c.pico ns_name.pico = ns_netint.pico ns_parse.pico ns_print.pico ns_samedomain.pico = ns_ttl.pico base64.pico ether_addr.pico eui64.pico gai_strerror.pico = getaddrinfo.pico gethostbydns.pico gethostbyht.pico gethostbynis.pico = gethostnamadr.pico getifaddrs.pico getifmaddrs.pico getnameinfo.pico = getnetbydns.pico getnetbyht.pico getnetbynis.pico getnetnamadr.pico = getproto.pico getprotoent.pico getprotoname.pico getservent.pico = if_indextoname.pico if_nameindex.pico if_nametoindex.pico ip6opt.pico = linkaddr.pico map_v4v6.pico name6.pico ntoh.pico nsdispatch.pico = nslexer.pico nsparser.pico nss_compat.pico rcmd.pico rcmdsh.pico = recv.pico rthdr.pico sctp_sys_calls.pico send.pico sockatmark.pico = sourcefilter.pico vars.pico nscache.pico nscachedcli.pico msgcat.pico = acl_branding.pico acl_calc_mask.pico acl_copy.pico acl_delete.pico = acl_delete_entry.pico acl_entry.pico acl_flag.pico acl_free.pico = acl_from_text.pico acl_from_text_nfs4.pico acl_get.pico = acl_id_to_name.pico acl_init.pico acl_perm.pico acl_set.pico = acl_strip.pico acl_support.pico acl_support_nfs4.pico acl_to_text.pico = acl_to_text_nfs4.pico acl_valid.pico extattr.pico mac.pico mac_exec.pico = mac_get.pico mac_set.pico subr_acl_nfs4.pico acl_compat.pico adddi3.pico = anddi3.pico ashldi3.pico ashrdi3.pico cmpdi2.pico divdi3.pico = fixdfdi.pico fixsfdi.pico fixunsdfdi.pico fixunssfdi.pico floatdidf.pico = floatdisf.pico floatunsdidf.pico iordi3.pico lshldi3.pico lshrdi3.pico = moddi3.pico muldi3.pico negdi2.pico notdi2.pico qdivrem.pico subdi3.pico = ucmpdi2.pico udivdi3.pico umoddi3.pico xordi3.pico regcomp.pico = regerror.pico regexec.pico regfree.pico herror.pico h_errno.pico = mtctxres.pico res_comp.pico res_data.pico res_debug.pico = res_findzonecut.pico res_init.pico res_mkquery.pico res_mkupdate.pico = res_query.pico res_send.pico res_state.pico res_update.pico = _flock_stub.pico asprintf.pico clrerr.pico dprintf.pico fclose.pico = fcloseall.pico fdopen.pico feof.pico ferror.pico fflush.pico fgetc.pico = fgetln.pico fgetpos.pico fgets.pico fgetwc.pico fgetwln.pico fgetws.pico = fileno.pico findfp.pico flags.pico fmemopen.pico fopen.pico = fopencookie.pico fprintf.pico fpurge.pico fputc.pico fputs.pico = fputwc.pico fputws.pico fread.pico freopen.pico fscanf.pico fseek.pico = fsetpos.pico ftell.pico funopen.pico fvwrite.pico fwalk.pico fwide.pico = fwprintf.pico fwscanf.pico fwrite.pico getc.pico getchar.pico = getdelim.pico getline.pico gets.pico gets_s.pico getw.pico getwc.pico = getwchar.pico makebuf.pico mktemp.pico open_memstream.pico = open_wmemstream.pico perror.pico printf.pico printf-pos.pico putc.pico = putchar.pico puts.pico putw.pico putwc.pico putwchar.pico refill.pico = remove.pico rewind.pico rget.pico scanf.pico setbuf.pico setbuffer.pico = setvbuf.pico snprintf.pico sprintf.pico sscanf.pico stdio.pico = swprintf.pico swscanf.pico tempnam.pico tmpfile.pico tmpnam.pico = ungetc.pico ungetwc.pico vasprintf.pico vdprintf.pico vfprintf.pico = vfscanf.pico vfwprintf.pico vfwscanf.pico vprintf.pico vscanf.pico = vsnprintf.pico vsprintf.pico vsscanf.pico vswprintf.pico vswscanf.pico = vwprintf.pico vwscanf.pico wbuf.pico wprintf.pico wscanf.pico = wsetup.pico xprintf.pico xprintf_float.pico xprintf_int.pico = xprintf_str.pico xprintf_errno.pico xprintf_hexdump.pico = xprintf_quote.pico xprintf_time.pico xprintf_vis.pico asctime.pico = difftime.pico localtime.pico strftime.pico strptime.pico timelocal.pico = time32.pico clock_gettime.pico gettimeofday.pico = __vdso_gettimeofday.pico __error.pico interposing_table.pico = getdents.pico lstat.pico mknod.pico stat.pico fstat.pico fstatat.pico = fstatfs.pico getfsstat.pico statfs.pico getdirentries.pico brk.pico = pipe.pico vadvise.pico compat-stub.pico accept.pico accept4.pico = aio_suspend.pico clock_nanosleep.pico close.pico connect.pico fcntl.pico = fdatasync.pico fsync.pico fork.pico kevent.pico msync.pico = nanosleep.pico open.pico openat.pico poll.pico ppoll.pico pselect.pico = ptrace.pico read.pico readv.pico recvfrom.pico recvmsg.pico select.pico = sendmsg.pico sendto.pico setcontext.pico sigprocmask.pico = sigsuspend.pico sigtimedwait.pico sigwait.pico sigwaitinfo.pico = swapcontext.pico wait4.pico wait6.pico write.pico writev.pico = sigaction.pico cerror.pico syscall.pico link.pico unlink.pico chdir.pico = fchdir.pico freebsd11_mknod.pico chmod.pico chown.pico break.pico = getpid.pico mount.pico unmount.pico setuid.pico getuid.pico geteuid.pico = getpeername.pico getsockname.pico access.pico chflags.pico fchflags.pico = sync.pico kill.pico getppid.pico dup.pico freebsd10_pipe.pico = getegid.pico profil.pico ktrace.pico getgid.pico setlogin.pico acct.pico = sigaltstack.pico ioctl.pico reboot.pico revoke.pico symlink.pico = readlink.pico execve.pico umask.pico chroot.pico vfork.pico sbrk.pico = freebsd11_vadvise.pico munmap.pico mprotect.pico madvise.pico = mincore.pico getgroups.pico setgroups.pico getpgrp.pico setpgid.pico = setitimer.pico swapon.pico getitimer.pico getdtablesize.pico dup2.pico = setpriority.pico socket.pico getpriority.pico bind.pico setsockopt.pico = listen.pico getrusage.pico getsockopt.pico settimeofday.pico fchown.pico = fchmod.pico setreuid.pico setregid.pico rename.pico flock.pico = mkfifo.pico shutdown.pico socketpair.pico mkdir.pico rmdir.pico = utimes.pico adjtime.pico setsid.pico quotactl.pico nlm_syscall.pico = nfssvc.pico lgetfh.pico getfh.pico sysarch.pico rtprio.pico semsys.pico = msgsys.pico shmsys.pico setfib.pico ntp_adjtime.pico setgid.pico = setegid.pico seteuid.pico freebsd11_stat.pico freebsd11_fstat.pico = freebsd11_lstat.pico pathconf.pico fpathconf.pico getrlimit.pico = setrlimit.pico freebsd11_getdirentries.pico __syscall.pico __sysctl.pico = mlock.pico munlock.pico undelete.pico futimes.pico getpgid.pico = freebsd7___semctl.pico semget.pico semop.pico freebsd7_msgctl.pico = msgget.pico msgsnd.pico msgrcv.pico shmat.pico freebsd7_shmctl.pico = shmdt.pico shmget.pico clock_settime.pico clock_getres.pico = ktimer_create.pico ktimer_delete.pico ktimer_settime.pico = ktimer_gettime.pico ktimer_getoverrun.pico ffclock_getcounter.pico = ffclock_setestimate.pico ffclock_getestimate.pico = clock_getcpuclockid2.pico ntp_gettime.pico minherit.pico rfork.pico = issetugid.pico lchown.pico aio_read.pico aio_write.pico lio_listio.pico = freebsd11_getdents.pico lchmod.pico lutimes.pico freebsd11_nstat.pico = freebsd11_nfstat.pico freebsd11_nlstat.pico preadv.pico pwritev.pico = fhopen.pico freebsd11_fhstat.pico modnext.pico modstat.pico = modfnext.pico modfind.pico kldload.pico kldunload.pico kldfind.pico = kldnext.pico kldstat.pico kldfirstmod.pico getsid.pico setresuid.pico = setresgid.pico aio_return.pico aio_cancel.pico aio_error.pico = mlockall.pico munlockall.pico __getcwd.pico sched_setparam.pico = sched_getparam.pico sched_setscheduler.pico sched_getscheduler.pico = sched_yield.pico sched_get_priority_max.pico sched_get_priority_min.pico = sched_rr_get_interval.pico utrace.pico kldsym.pico jail.pico = nnpfs_syscall.pico sigpending.pico __acl_get_file.pico = __acl_set_file.pico __acl_get_fd.pico __acl_set_fd.pico = __acl_delete_file.pico __acl_delete_fd.pico __acl_aclcheck_file.pico = __acl_aclcheck_fd.pico extattrctl.pico extattr_set_file.pico = extattr_get_file.pico extattr_delete_file.pico aio_waitcomplete.pico = getresuid.pico getresgid.pico kqueue.pico freebsd11_kevent.pico = extattr_set_fd.pico extattr_get_fd.pico extattr_delete_fd.pico = __setugid.pico eaccess.pico afs3_syscall.pico nmount.pico = __mac_get_proc.pico __mac_set_proc.pico __mac_get_fd.pico = __mac_get_file.pico __mac_set_fd.pico __mac_set_file.pico kenv.pico = lchflags.pico uuidgen.pico sendfile.pico mac_syscall.pico = freebsd11_getfsstat.pico freebsd11_statfs.pico freebsd11_fstatfs.pico = freebsd11_fhstatfs.pico ksem_close.pico ksem_post.pico ksem_wait.pico = ksem_trywait.pico ksem_init.pico ksem_open.pico ksem_unlink.pico = ksem_getvalue.pico ksem_destroy.pico __mac_get_pid.pico = __mac_get_link.pico __mac_set_link.pico extattr_set_link.pico = extattr_get_link.pico extattr_delete_link.pico __mac_execve.pico = sigreturn.pico getcontext.pico swapoff.pico __acl_get_link.pico = __acl_set_link.pico __acl_delete_link.pico __acl_aclcheck_link.pico = thr_create.pico thr_exit.pico thr_self.pico thr_kill.pico = jail_attach.pico extattr_list_fd.pico extattr_list_file.pico = extattr_list_link.pico ksem_timedwait.pico thr_suspend.pico = thr_wake.pico kldunloadf.pico audit.pico auditon.pico getauid.pico = setauid.pico getaudit.pico setaudit.pico getaudit_addr.pico = setaudit_addr.pico auditctl.pico _umtx_op.pico thr_new.pico = sigqueue.pico kmq_open.pico kmq_setattr.pico kmq_timedreceive.pico = kmq_timedsend.pico kmq_notify.pico kmq_unlink.pico abort2.pico = thr_set_name.pico aio_fsync.pico rtprio_thread.pico sctp_peeloff.pico = sctp_generic_sendmsg.pico sctp_generic_sendmsg_iov.pico = sctp_generic_recvmsg.pico pread.pico pwrite.pico mmap.pico lseek.pico = truncate.pico ftruncate.pico thr_kill2.pico shm_open.pico = shm_unlink.pico cpuset.pico cpuset_setid.pico cpuset_getid.pico = cpuset_getaffinity.pico cpuset_setaffinity.pico faccessat.pico = fchmodat.pico fchownat.pico fexecve.pico freebsd11_fstatat.pico = futimesat.pico linkat.pico mkdirat.pico mkfifoat.pico = freebsd11_mknodat.pico readlinkat.pico renameat.pico symlinkat.pico = unlinkat.pico posix_openpt.pico gssd_syscall.pico jail_get.pico = jail_set.pico jail_remove.pico closefrom.pico __semctl.pico msgctl.pico = shmctl.pico lpathconf.pico __cap_rights_get.pico cap_enter.pico = cap_getmode.pico pdfork.pico pdkill.pico pdgetpid.pico = getloginclass.pico setloginclass.pico rctl_get_racct.pico = rctl_get_rules.pico rctl_get_limits.pico rctl_add_rule.pico = rctl_remove_rule.pico posix_fallocate.pico posix_fadvise.pico = cap_rights_limit.pico cap_ioctls_limit.pico cap_ioctls_get.pico = cap_fcntls_limit.pico cap_fcntls_get.pico bindat.pico connectat.pico = chflagsat.pico pipe2.pico aio_mlock.pico procctl.pico futimens.pico = utimensat.pico fhstat.pico fhstatfs.pico mknodat.pico = cpuset_getdomain.pico cpuset_setdomain.pico getrandom.pico getfhat.pico = fhlink.pico fhlinkat.pico fhreadlink.pico funlinkat.pico _exit.pico = _getlogin.pico _clock_gettime.pico _gettimeofday.pico _fstat.pico = _fstatat.pico _fstatfs.pico _getfsstat.pico _statfs.pico = _getdirentries.pico _accept.pico _accept4.pico _aio_suspend.pico = _clock_nanosleep.pico _close.pico _connect.pico _fcntl.pico = _fdatasync.pico _fsync.pico _fork.pico _kevent.pico _msync.pico = _nanosleep.pico _open.pico _openat.pico _poll.pico _ppoll.pico = _pselect.pico _ptrace.pico _read.pico _readv.pico _recvfrom.pico = _recvmsg.pico _select.pico _sendmsg.pico _sendto.pico _setcontext.pico = _sigprocmask.pico _sigsuspend.pico _sigtimedwait.pico _sigwait.pico = _sigwaitinfo.pico _swapcontext.pico _wait4.pico _wait6.pico _write.pico = _writev.pico _sigaction.pico stack_protector.pico = stack_protector_compat.pico auth_none.pico auth_unix.pico = authunix_prot.pico bindresvport.pico clnt_bcast.pico clnt_dg.pico = clnt_generic.pico clnt_perror.pico clnt_raw.pico clnt_simple.pico = clnt_vc.pico rpc_dtablesize.pico getnetconfig.pico getnetpath.pico = getrpcent.pico getrpcport.pico mt_misc.pico pmap_clnt.pico = pmap_getmaps.pico pmap_getport.pico pmap_prot.pico pmap_prot2.pico = pmap_rmt.pico rpc_prot.pico rpc_commondata.pico rpc_callmsg.pico = rpc_generic.pico rpc_soc.pico rpcb_clnt.pico rpcb_prot.pico = rpcb_st_xdr.pico rpcsec_gss_stub.pico svc.pico svc_auth.pico svc_dg.pico = svc_auth_unix.pico svc_generic.pico svc_raw.pico svc_run.pico = svc_simple.pico svc_vc.pico auth_time.pico auth_des.pico = authdes_prot.pico des_crypt.pico des_soft.pico crypt_client.pico = key_call.pico key_prot_xdr.pico getpublickey.pico svc_auth_des.pico = netname.pico netnamer.pico rpcdname.pico rtime.pico crypt_clnt.pico = crypt_xdr.pico uuid_compare.pico uuid_create.pico uuid_create_nil.pico = uuid_equal.pico uuid_from_string.pico uuid_hash.pico uuid_is_nil.pico = uuid_stream.pico uuid_to_string.pico xdr.pico xdr_array.pico = xdr_float.pico xdr_mem.pico xdr_rec.pico xdr_reference.pico = xdr_sizeof.pico xdr_stdio.pico xdryp.pico yp_xdr.pico yplib.pico = subr_capability.pico _hdtoa.pico _hldtoa.pico _ldtoa.pico glue.pico = gdtoa_dmisc.pico gdtoa_dtoa.pico gdtoa_gdtoa.pico gdtoa_gethex.pico = gdtoa_gmisc.pico gdtoa_hd_init.pico gdtoa_hexnan.pico gdtoa_misc.pico = gdtoa_smisc.pico gdtoa_strtod.pico gdtoa_strtodg.pico gdtoa_strtof.pico = gdtoa_strtord.pico gdtoa_sum.pico gdtoa_ulp.pico modf.pico C99_Exit.pico = a64l.pico abort.pico abs.pico atexit.pico atof.pico atoi.pico atol.pico = atoll.pico bsearch.pico cxa_thread_atexit.pico = cxa_thread_atexit_impl.pico div.pico exit.pico getenv.pico getopt.pico = getopt_long.pico getsubopt.pico hcreate.pico hcreate_r.pico = hdestroy_r.pico heapsort.pico heapsort_b.pico hsearch_r.pico = imaxabs.pico imaxdiv.pico insque.pico l64a.pico labs.pico ldiv.pico = llabs.pico lldiv.pico lsearch.pico merge.pico mergesort_b.pico = ptsname.pico qsort.pico qsort_r.pico quick_exit.pico radixsort.pico = rand.pico random.pico reallocarray.pico reallocf.pico realpath.pico = remque.pico set_constraint_handler_s.pico strfmon.pico strtoimax.pico = strtol.pico strtold.pico strtoll.pico strtoq.pico strtoul.pico = strtonum.pico strtoull.pico strtoumax.pico strtouq.pico system.pico = tdelete.pico tfind.pico tsearch.pico twalk.pico jemalloc_jemalloc.pico = jemalloc_arena.pico jemalloc_background_thread.pico jemalloc_base.pico = jemalloc_bin.pico jemalloc_bitmap.pico jemalloc_ckh.pico = jemalloc_ctl.pico jemalloc_div.pico jemalloc_extent.pico = jemalloc_extent_dss.pico jemalloc_extent_mmap.pico jemalloc_hash.pico = jemalloc_hooks.pico jemalloc_large.pico jemalloc_log.pico = jemalloc_malloc_io.pico jemalloc_mutex.pico jemalloc_mutex_pool.pico = jemalloc_nstime.pico jemalloc_pages.pico jemalloc_prng.pico = jemalloc_prof.pico jemalloc_rtree.pico jemalloc_stats.pico = jemalloc_sz.pico jemalloc_tcache.pico jemalloc_ticker.pico = jemalloc_tsd.pico jemalloc_witness.pico bcmp.pico bcopy.pico bzero.pico = explicit_bzero.pico ffs.pico ffsl.pico ffsll.pico fls.pico flsl.pico = flsll.pico memccpy.pico memchr.pico memrchr.pico memcmp.pico memcpy.pico = memmem.pico memmove.pico memset.pico memset_s.pico stpcpy.pico = stpncpy.pico strcasecmp.pico strcat.pico strcasestr.pico strchr.pico = strchrnul.pico strcmp.pico strcoll.pico strcpy.pico strcspn.pico = strdup.pico strerror.pico strlcat.pico strlcpy.pico strlen.pico = strmode.pico strncat.pico strncmp.pico strncpy.pico strndup.pico = strnlen.pico strnstr.pico strpbrk.pico strrchr.pico strsep.pico = strsignal.pico strspn.pico strstr.pico strtok.pico strxfrm.pico = swab.pico timingsafe_bcmp.pico timingsafe_memcmp.pico wcpcpy.pico = wcpncpy.pico wcscasecmp.pico wcscat.pico wcschr.pico wcscmp.pico = wcscoll.pico wcscpy.pico wcscspn.pico wcsdup.pico wcslcat.pico = wcslcpy.pico wcslen.pico wcsncasecmp.pico wcsncat.pico wcsncmp.pico = wcsncpy.pico wcsnlen.pico wcspbrk.pico wcsrchr.pico wcsspn.pico = wcsstr.pico wcstok.pico wcswidth.pico wcsxfrm.pico wmemchr.pico = wmemcmp.pico wmemcpy.pico wmemmove.pico wmemset.pico | tsort -q` = -lcompiler_rt -lssp_nonshared ;' >> .CURDIR=3D'/usr/src/lib/libc' >> .MAKE=3D'make' >> = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/= powerpc.powerpc/lib/libc' >> .TARGETS=3D'all' >> = DESTDIR=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/= powerpc.powerpc/tmp' >> LD_LIBRARY_PATH=3D'' >> MACHINE=3D'powerpc' >> MACHINE_ARCH=3D'powerpc' >> MAKEOBJDIRPREFIX=3D'' >> MAKESYSPATH=3D'/usr/src/share/mk' >> MAKE_VERSION=3D'20181221' >> = PATH=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/pow= erpc.powerpc/tmp/usr/sbin:/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.p= owerpc/usr/src/powerpc.powerpc/tmp/usr/bin:/usr/obj/powerpcvtsc_clang_altb= inutils/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/legacy/usr/sbin:/usr/o= bj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.powerpc/t= mp/legacy/usr/bin:/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/u= sr/src/powerpc.powerpc/tmp/legacy/bin::/sbin:/bin:/usr/sbin:/usr/bin' >> SRCTOP=3D'/usr/src' >> = OBJTOP=3D'/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/p= owerpc.powerpc' >> .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang_altbinutils-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk = /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/libc/Makefile = /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk = /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk = /usr/src/lib/libc/powerpc/Makefile.inc /usr/src/lib/libc/db/Makefile.inc = /usr/src/lib/libc/db/btree/Makefile.inc = /usr/src/lib/libc/db/db/Makefile.inc = /usr/src/lib/libc/db/hash/Makefile.inc = /usr/src/lib/libc/db/man/Makefile.inc = /usr/src/lib/libc/db/mpool/Makefile.inc = /usr/src/lib/libc/db/recno/Makefile.inc = /usr/src/lib/libc/compat-43/Makefile.inc = /usr/src/lib/libc/gdtoa/Makefile.inc /usr/src/lib/libc/gen/Makefile.inc = /usr/src/lib/libc/powerpc/gen/Makefile.inc = /usr/src/lib/libc/powerpc/gen/Makefile.common = /usr/src/lib/libc/gmon/Makefile.inc /usr/src/lib/libc/iconv/Makefile.inc = /usr/src/lib/libc_nonshared/Makefile.iconv = /usr/src/lib/libc/inet/Makefile.inc /usr/src/lib/libc/isc/Makefile.inc = /usr/src/lib/libc/locale/Makefile.inc /usr/src/lib/libc/md/Makefile.inc = /usr/src/lib/libc/nameser/Makefile.inc = /usr/src/lib/libc/net/Makefile.inc /usr/src/lib/libc/nls/Makefile.inc = /usr/src/lib/libc/posix1e/Makefile.inc = /usr/src/lib/libc/quad/Makefile.inc /usr/src/lib/libc/regex/Makefile.inc = /usr/src/lib/libc/resolv/Makefile.inc = /usr/src/lib/libc/stdio/Makefile.inc = /usr/src/lib/libc/stdlib/Makefile.inc = /usr/src/lib/libc/stdlib/jemalloc/Makefile.inc = /usr/src/lib/libc/stdtime/Makefile.inc = /usr/src/lib/libc/string/Makefile.inc /usr/src/lib/libc/sys/Makefile.inc = /usr/src/sys/sys/syscall.mk /usr/src/lib/libc/powerpc/sys/Makefile.inc = /usr/src/lib/libc/secure/Makefile.inc /usr/src/lib/libc/rpc/Makefile.inc = /usr/src/lib/libc/uuid/Makefile.inc /usr/src/lib/libc/xdr/Makefile.inc = /usr/src/lib/libc/yp/Makefile.inc = /usr/src/lib/libc/capability/Makefile.inc /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/lib/libc/../Makefile.inc = /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk = /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk = /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.files.mk = /usr/src/share/mk/bsd.dirs.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.dep.mk = /usr/src/share/mk/bsd.clang-analyze.mk /usr/src/share/mk/bsd.obj.mk = /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.sys.mk' >> .PATH=3D'. /usr/src/lib/libc /usr/src/lib/libc/db/btree = /usr/src/lib/libc/db/db /usr/src/lib/libc/db/hash = /usr/src/lib/libc/db/man /usr/src/lib/libc/db/mpool = /usr/src/lib/libc/db/recno /usr/src/lib/libc/compat-43 = /usr/src/lib/libc/gdtoa /usr/src/lib/libc/powerpc/gen = /usr/src/lib/libc/gen /usr/src/etc /usr/src/contrib/libc-pwcache = /usr/src/contrib/libc-vis /usr/src/lib/libc/gmon /usr/src/lib/libc/iconv = /usr/src/lib/libc/inet /usr/src/lib/libc/isc /usr/src/lib/libc/locale = /usr/src/lib/libmd /usr/src/lib/libc/nameser /usr/src/lib/libc/net = /usr/src/lib/libc/nls /usr/src/lib/libc/posix1e /usr/src/lib/libc/quad = /usr/src/lib/libc/regex /usr/src/lib/libc/resolv /usr/src/lib/libc/stdio = /usr/src/lib/libc/stdlib /usr/src/lib/libc/stdlib/jemalloc = /usr/src/lib/libc/stdtime /usr/src/contrib/tzcode/stdtime = /usr/src/lib/libc/string /usr/src/sys/libkern = /usr/src/lib/libc/powerpc/sys /usr/src/lib/libc/sys = /usr/src/lib/libc/secure /usr/src/lib/libc/rpc /usr/src/lib/libc/. = /usr/src/lib/libc/uuid /usr/src/lib/libc/xdr /usr/src/lib/libc/yp = /usr/src/sys/kern /usr/src/lib/libc/capability' >> 1 error >=20 >=20 > # more = ~/src.configs/src.conf.powerpc-clang_altbinutils-bootstrap.amd64-host=20 > TO_TYPE=3Dpowerpc > TOOLS_TO_TYPE=3Dpowerpc64 > VERSION_CONTEXT=3D13.0 > # > KERNCONF=3DGENERICvtsc-NODBG > TARGET=3D${TO_TYPE} > .if ${.MAKE.LEVEL} =3D=3D 0 > TARGET_ARCH=3D${TO_TYPE} > .export TARGET_ARCH > .endif > # > #WITH_CROSS_COMPILER=3D > WITH_SYSTEM_COMPILER=3D > WITHOUT_SYSTEM_LINKER=3D > # > # llvm's libunwind for 32-bit powerpc: > # Two of its .S files get tons of error reports. > # So avoid llvm's libunwind for now. > WITHOUT_LLVM_LIBUNWIND=3D > WITH_LIBCPLUSPLUS=3D > WITHOUT_LLD_BOOTSTRAP=3D > WITHOUT_BINUTILS_BOOTSTRAP=3D > WITH_ELFTOOLCHAIN_BOOTSTRAP=3D > #Disables avoiding bootstrap: WITHOUT_LLVM_TARGET_ALL=3D > WITHOUT_LLVM_TARGET_AARCH64=3D > WITHOUT_LLVM_TARGET_ARM=3D > WITHOUT_LLVM_TARGET_MIPS=3D > WITH_LLVM_TARGET_POWERPC=3D > WITHOUT_LLVM_TARGET_SPARC=3D > WITHOUT_LLVM_TARGET_X86=3D > #WITH_CLANG_BOOTSTRAP=3D > WITH_CLANG=3D > WITH_CLANG_IS_CC=3D > WITH_CLANG_FULL=3D > WITH_CLANG_EXTRAS=3D > # Note: LLD is only for experimentation > WITH_LLD=3D > WITHOUT_LLD_IS_LD=3D > WITH_BINUTILS=3D > WITH_PORT_BASE_BINUTILS=3D > # Note: no 8 Byte atomics, so not LLDB > WITHOUT_LLDB=3D > # > WITH_BOOT=3D > WITHOUT_LIB32=3D > # > LOADER_DEFAULT_INTERP=3D4th > # > WITHOUT_GCC_BOOTSTRAP=3D > WITHOUT_GCC=3D > WITHOUT_GCC_IS_CC=3D > WITHOUT_GNUCXX=3D > # > NO_WERROR=3D > # > # Avoid "converts between pointers to integer types with different = sign [-Werror,-Wpointer-sign]" > # and such from blocking the build. > WERROR=3D > MALLOC_PRODUCTION=3D > # > # Avoid stripping but do not control host -g status as well: > DEBUG_FLAGS+=3D > # > WITH_REPRODUCIBLE_BUILD=3D > WITH_DEBUG_FILES=3D > # > # > # For TO (so-called "cross") stages . . . > # So-called-cross via ${TO_TYPE}-xtoolchain-gcc/${TO_TYPE}-gcc. . . > # TOOLS_TO_TYPE based on ${TO_TYPE}-xtoolchain-gcc related binutils. . = . > # > = CROSS_BINUTILS_PREFIX=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSI= ON_CONTEXT}/bin/ > .if ${.MAKE.LEVEL} =3D=3D 0 > CFLAGS.powerpc+=3D -B${CROSS_BINUTILS_PREFIX} > CXXFLAGS.powerpc+=3D -B${CROSS_BINUTILS_PREFIX} > .export CFLAGS.powerpc > .export CXXFLAGS.powerpc > # > # Note: The WITH_CROSS_COMPILER picks up the CROSS_BINUTILS_PREFIX > # binding automatically. > # > = XAS=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/as= -mppc32 > = XAR=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/ar= > = XNM=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/nm= > = XOBJCOPY=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/objcopy > = XOBJDUMP=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/objdump > = XRANLIB=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bi= n/ranlib > = XSIZE=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/= size > #NO-SUCH: = XSTRINGS=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/strings > = XSTRINGS=3D/usr/local/bin/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEX= T}-strings > .export XAS > .export XAR > .export XNM > .export XOBJCOPY > .export XOBJDUMP > .export XRANLIB > .export XSIZE > .export XSTRINGS > = XLD=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/ld= -m elf32ppc_fbsd > .export XLD > .endif =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Jun 27 21:19:29 2019 Return-Path: Delivered-To: freebsd-ppc@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 9136E15CE89E for ; Thu, 27 Jun 2019 21:19:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-21.consmr.mail.gq1.yahoo.com (sonic306-21.consmr.mail.gq1.yahoo.com [98.137.68.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 9D63871CB4 for ; Thu, 27 Jun 2019 21:19:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: kNT0AikVM1kKVMfMeLiHoGhaxajJTQkL5k5b5R5XTiD2dYWyT5bv4ykxti.Yh.5 Ou3uk5ubjBRakLz0ncNdUtSrie.3modAcYRMNGjHk0h_dzEgqMOpdrXnLlJhG3gprWf1I9paNjCM eODmz.0QT2KhtsdAd.oLJiwQegmVJZjJbwSYUVfm.RyEO5z5Z_EE0.ldNVEUeYx1CP9CNnwds0jc i12g7rMg.ARv98cB2QYK2ntFqJcKQuZD2Iaa2xPVeeQ3x1nno_xv6udVTtPCiHDs8Ccl.rpkifpk _4JzVTFrn0dFp3XLLeJlnNhwlGWVc7JYPVhR_Iom73eojshxb.6oxGMaw.H7i.g8HMb3ybKn4kXU N40bnRcUtkIi12Sjt6FWqK0nhWL2q9ECzm.nP.wwGm9mcoZHWPxt0xOBPh_rPT4nFFDgcCUp96Bv onIjV2XAbA4RioWeJLAigFM7Ocw0coWYz6o0LT1PWYXyfO2G_IXOsfo2xOKjz61l5vGjo9Hhz1oI f2HAfE5t.o5tQtTqI5XNCCnIO1QEIoUSu50alEThzQqHhCqQRwgTgE0eElnNvHX9Ds5.3puyUVi4 d6a0tEEjf1J1CGzxsbQMBZFJ9KkWZFGukituBgJzxkkE9VrEJwNfz28LVJlwnXxXRuNurYA8SD.p 2CRIsaxc1gL01.cwgBjtRToHiLQXDATrZCI7c2X98.kl4c9V4t2Qfy2f3Fk69llQEXy_LCLrtWOl kCocqb4VrWc.mNjs8ZrYr8yfn5Ydo9zBDqwi3sagBz_D2K8aDH3iPyM9ah2iWv7TW86eEZ.DWtZ3 ka2NOauoViYQVHaJr27swqyzNPB9uAzOHYpkl5_EMN1qsM4hXpUIGzAQaGVDXmVptx9dqLu3J4mO IP4gna0Eh6X_TdqWnVljLcLIchjso0x1zgIKp0ZOmwkkkEL8ma7MWqBUyKyzd5qJD9NhcsHre3Dv 1r2P.VoVStahJUYtfJrzao7qc.l_O17Jn76U9yJAg03kSQ_Lo_.sbvvD5soSm9EuUHJjBeHaZ03A gh5S1IDmome4l2DEjFtWN5kM4aYGzdFquCSdefCGbBc..rSR9t_kse_Zdh7rwc_UwfG00GQb_mjV g5vkNkzQp9yvV49CjtH0eQUyMXrjBOR.FEn4qyn4JLkmF7Wsxbu1W1UqBVnjiD5ACFqFs20xU0EH fQBuNF1ov2TCwhHrQQFGDCVAOZ5ZmNRHQIRsuqvg3EztR8g7eRCD2 Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Thu, 27 Jun 2019 21:19:25 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.115]) ([67.170.167.181]) by smtp432.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 72949aaac0b39228ac4327862be3d52c for ; Thu, 27 Jun 2019 20:59:06 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: A limitation on the new powerpc (32-bit) use of secure PLT instead of bss PLT? Message-Id: <519C648F-58B9-4328-A8E0-C6F78E4CD2DE@yahoo.com> Date: Thu, 27 Jun 2019 14:00:11 -0700 To: freeBSD PowerPC ML X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 9D63871CB4 X-Spamd-Bar: +++++ X-Spamd-Result: default: False [5.43 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; 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)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.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)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.92)[0.925,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; NEURAL_SPAM_MEDIUM(0.92)[0.915,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_LONG(0.98)[0.984,0]; RCVD_IN_DNSWL_NONE(0.00)[84.68.137.98.list.dnswl.org : 127.0.5.0]; IP_SCORE(2.12)[ip: (8.96), ipnet: 98.137.64.0/21(0.93), asn: 36647(0.75), country: US(-0.06)] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 21:19:29 -0000 Looking around I ran into from a .../binutils-2_25_1/bfd/elf32-ppc.c : /* Profiling of shared libs (and pies) is not supported with secure plt, because ppc32 does profiling before a function prologue and a secure plt pic call stubs needs r30 to be set up. */ A little more context for this in ppc_elf_select_plt_layout is: if (htab->plt_type == PLT_UNSET) { struct elf_link_hash_entry *h; if (htab->params->plt_style == PLT_OLD) htab->plt_type = PLT_OLD; else if (info->shared && htab->elf.dynamic_sections_created && (h = elf_link_hash_lookup (&htab->elf, "_mcount", FALSE, FALSE, TRUE)) != NULL && (h->type == STT_FUNC || h->needs_plt) && h->ref_regular && !(SYMBOL_CALLS_LOCAL (info, h) || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT && h->root.type == bfd_link_hash_undefweak))) { /* Profiling of shared libs (and pies) is not supported with secure plt, because ppc32 does profiling before a function prologue and a secure plt pic call stubs needs r30 to be set up. */ htab->plt_type = PLT_OLD; } else . . . === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Jun 27 21:32:54 2019 Return-Path: Delivered-To: freebsd-ppc@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 1391C15CED93 for ; Thu, 27 Jun 2019 21:32:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-9.consmr.mail.ne1.yahoo.com (sonic313-9.consmr.mail.ne1.yahoo.com [66.163.185.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 E4991724E3 for ; Thu, 27 Jun 2019 21:32:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: bYAYdQIVM1nHqtfgtuC_ozY95zglgpt6huMJ0MkCQUO2oyMFR02eVHmgVJxqlt8 oRbsAgOzgB3EQKeYVLpLFpofw6eVtixeOIyQwkNeNWkZ7q2s3Fn2mNwxGbof5iREduWOQHpKMVvI sE4m5LMs_0awPTvaY6keuVADDwd3KbbVKKgOruEaLy1E5rW8NMW7GZyLutTOcw1FCFVQxTwV.yCB YYwTRz2aWGU7AMBiziu3H2ew1ozX2d5dhOCVVUa_MH4tOAofOdWoUxBvoYzuG_FSKlaFHg5Dv089 383ED4ywKF8CDb87w2fCDqFN4SXoMBw1eF4l29NGXSw5hDQCwpSMTNH41rSnQQgvAc7PHpkjQzpE .mMRzpsn0aMYI7JdHUFIpNNtYHpJ._2fwSzX40QMtT3nrOZsgB_1JYwrIKZjwwtU43QT0dwXJUcN wlj6Mp9QDBWAxX2wigY_2Ag2Qf3LMDo4CbnKEHTysdOEhlZS4lqe5ur1Crt2EcKcKHMS.y68hi47 2yzrulIcebmFAU_Q95Fahpfujb2P2HEr4hmmikQjUfk8K_uSMnKPkyNBuEx1UBUBbYRbtP8sS1yY irZPGWOtYSXaHpYqdzjzBS5JWYCjFPx8vafamgFQW2tFTZQ2uQ_jm8n5WEp78VwHBJig4C3Wk_pp 66znM7uKbdRHHpaXvxUnZ2lZiEcm_7TWVKjav_0NitjAFez9D3XsjIGtxn.pAom2BDa2Ybey_vk7 _LIdu2.Xt_7uOx77A9JJLSbLbzpsIZMD9RJ8AhwGkV9FNcbaCjnVA_kne3jwK4UXt5SzeR14aJLt QaB_khcPt5bsBpc6jhf0tMpIxVBf2ORUBShf9d6KjPWPRM5hsKfHZ7zCs.vZOEz8G3raHFe71S1s Ui3olVZZsz8GuxD4nM1AZDbL6zPClTh7DvsGJxRwfk6PIggEK0rvpcqDxxGUwslBP6kbSZq6HcVm eIHPXHjbbTozQfTqBOr1ZjciXhyypM6RHCM6HkSpRXnLQGE_57xOZ0ozdWEZm8b8Nf8cQt_yaP3d ZzUDIrRI1D_lVawjVmU0bJ_ZbFJjRjOVTQNPczBYCEc84yr4.jZ94O29JOH75Ib0j3.bPTernW1r .tcxEvccF07FhTLh3r42yVK_pglRilB7fLCM5TO2D7Uj7Yncx7dLrkhhnynyyLkhZw70XpTmkvtd YSXsnvyunfG4U.TNI7EJ2Zfc48kcogrQBC.yz_Va8EPaWeVWo23BmSXO1TFr2mkP4EYmpOA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Thu, 27 Jun 2019 21:32:50 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.115]) ([67.170.167.181]) by smtp418.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID ede063634094ad1ef5e46d900e131f1a; Thu, 27 Jun 2019 21:32:49 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Update to based on head -r349444: cross build using system clang 8.0.1 and devel/powerpc64-binutils failed for libc.so.7.full : bss-plt forced due to .../tmp/usr/lib/crtbeginS.o then exit code 1 From: Mark Millard In-Reply-To: Date: Thu, 27 Jun 2019 14:33:53 -0700 Cc: freeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <56E29D38-F7EE-465E-B347-B6E889892106@yahoo.com> References: <7D8D1CB4-AF77-4681-8174-160F98F449CE@yahoo.com> To: Justin Hibbits X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: E4991724E3 X-Spamd-Bar: / X-Spamd-Result: default: False [0.56 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; 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: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.64)[-0.638,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.80)[0.799,0]; NEURAL_HAM_LONG(-0.18)[-0.181,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.09)[ip: (3.17), ipnet: 66.163.184.0/21(1.29), asn: 36646(1.03), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[32.185.163.66.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 21:32:54 -0000 [Looks like ppc_elf_select_plt_layout code requires a R_PPC_REL16 = variant to be in use for it pick secure PLT in some contexts.] On 2019-Jun-27, at 13:01, Mark Millard wrote: > [I show the command listed in the .meta file for how crtbeginS.o was = produced.] >=20 > On 2019-Jun-26, at 17:05, Mark Millard wrote: >=20 >> [I forgot to include my = src.conf.powerpc-clang_altbinutils-bootstrap.amd64-host >> file.] >>=20 >> On 2019-Jun-26, at 16:57, Mark Millard wrote: >>=20 >>> This was an amd64->powerpc (32-bit) cross build. it happens even >>> when /usr/obj/powerpcvtsc_clang_altbinutils/ is empty at the >>> start. >>>=20 >>> --- libc.so.7.full --- >>> building shared library libc.so.7 >>> /usr/local/powerpc64-unknown-freebsd13.0/bin/ld: bss-plt forced due = to = /usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.pow= erpc/tmp/usr/lib/crtbeginS.o >>> cc: error: linker command failed with exit code 1 (use -v to see = invocation) >>> *** [libc.so.7.full] Error code 1 >=20 > FYI the command producing crtbeginS.o for this type of context is = recorded as: > (I did some line splitting for readability.) >=20 > # Meta data file = /usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.pow= erpc/gnu/lib/csu/crtbeginS.o.meta > CMD cc -target powerpc-unknown-freebsd13.0 \ > = --sysroot=3D/usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src= /powerpc.powerpc/tmp \ > -B/usr/local/powerpc64-unknown-freebsd13.0/bin/ \ > -O2 -pipe \ > -B/usr/local/powerpc64-unknown-freebsd13.0/bin/ \ > -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3D3 \ > -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss \ > -fno-asynchronous-unwind-tables -fno-omit-frame-pointer \ > -I/usr/src/contrib/gcclibs/include -I/usr/src/contrib/gcc/config = -I/usr/src/contrib/gcc -I. \ > -I/usr/src/gnu/usr.bin/cc/cc_tools \ > -g -std=3Dgnu89 -Qunused-arguments -g0 \ > -DCRT_BEGIN -DCRTSTUFFS_O -DSHARED \ > -fpic -c -o crtbeginS.o /usr/src/contrib/gcc/crtstuff.c > CWD = /usr/obj/powerpcvtsc_clang_altbinutils/powerpc.powerpc/usr/src/powerpc.pow= erpc/gnu/lib/csu > TARGET crtbeginS.o > -- command output -- >=20 > -- filemon acquired metadata -- > . . . Look like binutils requires use of one of: case R_PPC_REL16: case R_PPC_REL16_LO: case R_PPC_REL16_HI: case R_PPC_REL16_HA: ppc_elf_tdata (abfd)->has_rel16 =3D 1; break; in order to cause secure PLT use instead of bss-plt (from ppc_elf_select_plt_layout in .../binutils-2_25_1/bfd/elf32-ppc.c = ): . . . if (htab->plt_type =3D=3D PLT_UNSET) { struct elf_link_hash_entry *h; if (htab->params->plt_style =3D=3D PLT_OLD) htab->plt_type =3D PLT_OLD; else if (info->shared && htab->elf.dynamic_sections_created && (h =3D elf_link_hash_lookup (&htab->elf, "_mcount", FALSE, FALSE, TRUE)) !=3D = NULL && (h->type =3D=3D STT_FUNC || h->needs_plt) && h->ref_regular && !(SYMBOL_CALLS_LOCAL (info, h) || (ELF_ST_VISIBILITY (h->other) !=3D STV_DEFAULT && h->root.type =3D=3D = bfd_link_hash_undefweak))) . . . else { bfd *ibfd; enum ppc_elf_plt_type plt_type =3D htab->params->plt_style; /* Look through the reloc flags left by ppc_elf_check_relocs. Use the old style bss plt if a file makes plt calls without using the new relocs, and if ld isn't given --secure-plt and we never see REL16 relocs. */ if (plt_type =3D=3D PLT_UNSET) plt_type =3D PLT_OLD; for (ibfd =3D info->input_bfds; ibfd; ibfd =3D = ibfd->link.next) if (is_ppc_elf (ibfd)) { if (ppc_elf_tdata (ibfd)->has_rel16) plt_type =3D PLT_NEW; else if (ppc_elf_tdata (ibfd)->makes_plt_call) { plt_type =3D PLT_OLD; htab->old_bfd =3D ibfd; break; } } htab->plt_type =3D plt_type; } } if (htab->plt_type =3D=3D PLT_OLD && htab->params->plt_style =3D=3D = PLT_NEW) { if (htab->old_bfd !=3D NULL) info->callbacks->einfo (_("%P: bss-plt forced due to %B\n"), htab->old_bfd); else info->callbacks->einfo (_("%P: bss-plt forced by profiling\n")); } . . . And crtbeginS.o shows no use of any of the 4 R_PPC_REL16 variants ... Relocation section with addend (.rela.text): r_offset r_info r_type st_value st_name + r_addend 0000001c 00000d17 R_PPC_LOCAL24PC 00000000 _GLOBAL_OFFSET_TABLE_ + = fffffffc 00000026 0000060e R_PPC_GOT16 00000008 = __do_global_dtors_aux.completed + 0 00000036 00000f0e R_PPC_GOT16 00000000 __cxa_finalize + 0 00000042 0000100e R_PPC_GOT16 00000000 __dso_handle + 0 00000048 00000f12 R_PPC_PLTREL24 00000000 __cxa_finalize + 8000 0000004e 0000070e R_PPC_GOT16 00000004 __do_global_dtors_aux.p + = 0 00000062 0000070e R_PPC_GOT16 00000004 __do_global_dtors_aux.p + = 0 00000086 0000060e R_PPC_GOT16 00000008 = __do_global_dtors_aux.completed + 0 000000ec 00000d17 R_PPC_LOCAL24PC 00000000 _GLOBAL_OFFSET_TABLE_ + = fffffffc 000000f6 0000040e R_PPC_GOT16 00000000 __JCR_LIST__ + 0 00000106 00000e0e R_PPC_GOT16 00000000 _Jv_RegisterClasses + 0 00000112 0000040e R_PPC_GOT16 00000000 __JCR_LIST__ + 0 Relocation section with addend (.rela.fini): r_offset r_info r_type st_value st_name + r_addend 00000000 00000b0a R_PPC_REL24 00000000 .text + 0 Relocation section with addend (.rela.init): r_offset r_info r_type st_value st_name + r_addend 00000000 00000b0a R_PPC_REL24 00000000 .text + d4 Relocation section with addend (.rela.data): r_offset r_info r_type st_value st_name + r_addend 00000000 00001001 R_PPC_ADDR32 00000000 __dso_handle + 0 00000004 00000c01 R_PPC_ADDR32 00000000 .dtors + 4 >=20 >>> . . . >>=20 >>=20 >> # more = ~/src.configs/src.conf.powerpc-clang_altbinutils-bootstrap.amd64-host=20 >> TO_TYPE=3Dpowerpc >> TOOLS_TO_TYPE=3Dpowerpc64 >> VERSION_CONTEXT=3D13.0 >> # >> KERNCONF=3DGENERICvtsc-NODBG >> TARGET=3D${TO_TYPE} >> .if ${.MAKE.LEVEL} =3D=3D 0 >> TARGET_ARCH=3D${TO_TYPE} >> .export TARGET_ARCH >> .endif >> # >> #WITH_CROSS_COMPILER=3D >> WITH_SYSTEM_COMPILER=3D >> WITHOUT_SYSTEM_LINKER=3D >> # >> # llvm's libunwind for 32-bit powerpc: >> # Two of its .S files get tons of error reports. >> # So avoid llvm's libunwind for now. >> WITHOUT_LLVM_LIBUNWIND=3D >> WITH_LIBCPLUSPLUS=3D >> WITHOUT_LLD_BOOTSTRAP=3D >> WITHOUT_BINUTILS_BOOTSTRAP=3D >> WITH_ELFTOOLCHAIN_BOOTSTRAP=3D >> #Disables avoiding bootstrap: WITHOUT_LLVM_TARGET_ALL=3D >> WITHOUT_LLVM_TARGET_AARCH64=3D >> WITHOUT_LLVM_TARGET_ARM=3D >> WITHOUT_LLVM_TARGET_MIPS=3D >> WITH_LLVM_TARGET_POWERPC=3D >> WITHOUT_LLVM_TARGET_SPARC=3D >> WITHOUT_LLVM_TARGET_X86=3D >> #WITH_CLANG_BOOTSTRAP=3D >> WITH_CLANG=3D >> WITH_CLANG_IS_CC=3D >> WITH_CLANG_FULL=3D >> WITH_CLANG_EXTRAS=3D >> # Note: LLD is only for experimentation >> WITH_LLD=3D >> WITHOUT_LLD_IS_LD=3D >> WITH_BINUTILS=3D >> WITH_PORT_BASE_BINUTILS=3D >> # Note: no 8 Byte atomics, so not LLDB >> WITHOUT_LLDB=3D >> # >> WITH_BOOT=3D >> WITHOUT_LIB32=3D >> # >> LOADER_DEFAULT_INTERP=3D4th >> # >> WITHOUT_GCC_BOOTSTRAP=3D >> WITHOUT_GCC=3D >> WITHOUT_GCC_IS_CC=3D >> WITHOUT_GNUCXX=3D >> # >> NO_WERROR=3D >> # >> # Avoid "converts between pointers to integer types with different = sign [-Werror,-Wpointer-sign]" >> # and such from blocking the build. >> WERROR=3D >> MALLOC_PRODUCTION=3D >> # >> # Avoid stripping but do not control host -g status as well: >> DEBUG_FLAGS+=3D >> # >> WITH_REPRODUCIBLE_BUILD=3D >> WITH_DEBUG_FILES=3D >> # >> # >> # For TO (so-called "cross") stages . . . >> # So-called-cross via ${TO_TYPE}-xtoolchain-gcc/${TO_TYPE}-gcc. . . >> # TOOLS_TO_TYPE based on ${TO_TYPE}-xtoolchain-gcc related binutils. = . . >> # >> = CROSS_BINUTILS_PREFIX=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSI= ON_CONTEXT}/bin/ >> .if ${.MAKE.LEVEL} =3D=3D 0 >> CFLAGS.powerpc+=3D -B${CROSS_BINUTILS_PREFIX} >> CXXFLAGS.powerpc+=3D -B${CROSS_BINUTILS_PREFIX} >> .export CFLAGS.powerpc >> .export CXXFLAGS.powerpc >> # >> # Note: The WITH_CROSS_COMPILER picks up the CROSS_BINUTILS_PREFIX >> # binding automatically. >> # >> = XAS=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/as= -mppc32 >> = XAR=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/ar= >> = XNM=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/nm= >> = XOBJCOPY=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/objcopy >> = XOBJDUMP=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/objdump >> = XRANLIB=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bi= n/ranlib >> = XSIZE=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/= size >> #NO-SUCH: = XSTRINGS=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/strings >> = XSTRINGS=3D/usr/local/bin/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEX= T}-strings >> .export XAS >> .export XAR >> .export XNM >> .export XOBJCOPY >> .export XOBJDUMP >> .export XRANLIB >> .export XSIZE >> .export XSTRINGS >> = XLD=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/ld= -m elf32ppc_fbsd >> .export XLD >> .endif =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Jun 27 22:23:34 2019 Return-Path: Delivered-To: freebsd-ppc@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 B0FCF15CFE15 for ; Thu, 27 Jun 2019 22:23:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-33.consmr.mail.ne1.yahoo.com (sonic317-33.consmr.mail.ne1.yahoo.com [66.163.184.44]) (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 CEA567457F for ; Thu, 27 Jun 2019 22:23:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 0v3u0HgVM1kFya6dmQNJeUAP47ZlCl4uJMbH8FQ1dzvaAmGsDtK0Zx6JnI4RJrt VhvtbmjE.i0qESZfJEhu6cXYTS07k0Ns0kdgo0K3BlCW9qa5vntjo6HxReJ5_OeNF9VcDDtl5tor aZxjI4cJ3k89XDDD8SKIky8VcupYSJBT_1016igYuWtjvjCInRyUqasFqwgkI0ChxsuvSu.GSGEn dTh0B5Yg7bDYpgBkNXZJnLgr_nSQUgAgQC4O4JjsRiOI7OT05L5WdewA0BAbkiJTpsCMERPdTrfN 7i5vvDJ4ff_h01hGA1N1k9YT73NHkHdXTqRTimf9uX9ENE5A7fcX8F_EnnurnfDVgtw4fxx2U.62 0lI1krpEPUyRN8VpS4JN0Qn1QiAaxJtrln6MAS0TPnLypESq_lLXWZP7k_qMPUSVuazfAXnBd1T5 XySeRtQit5iOT5BXD6kektEZK2_hj.Tldjkie86N9jpo.W22vW.68uiPAjvD8JKu2e13IhfsmVar 19ztk7nzN03Hcx.yvFOoUO5laM_NGuwqxjyz9ls9lchsufZ1GQINlKdTk3kWdXqJNxbrBE6ugAfO 8wMXbqUIgCWDj4_2mF5YqGjU2WMOD.9L_FrG8vZBpSrzxTrE2dK1o9jMGsA_EcQX0vKjy9qCj7Pm TsnO9ZsnG3EWhRnGDo8O.fcfSFnB3N3.iQItk6KHUpPMgAWyQanYzI8NctEQxMrcgD2PndzYoFmZ ECurdcoGvJLP9Vii_TOPVTC0PwFZ.Z7keGyc1bhT4oQ3_UfXRQDP1xO3YxtBiYpnIYCNg7aiyMh5 qAQAubAKL0dt6flk5ZRsj35U0QtSV_KLUY6KLby.EHeiPLWItp7VYpp2uaTG5q2pM4cGwnk0zKIa ERrIWDmi5ZrhRm2bvex4QFpcJhMOtVv755bVW3sWvHs5ih9ju5Gv_5tBNo9ZZ_JvQZ_TT96BR767 WtEUICJGqeu.HUPksDDBq4key55wjEDF19qfOYrMj3mEk4ce7KJBAXd5JSBytt2wmucyqd3lsTFm CXfS0HcP9iHpYEu7Lb6h84YmuJVaTHrrArD_7R1TxFKWF7eYIbUP8sLGuArZno3UdeVwIBaiKTZj ueDmeyBFzpeARTP81ilFAQwq1L6yhxnQtPZupGNOVNVYG9Apo8kTnQOC_iQjBixIFIXQVOB18Z2m RMJo8a2TIQcTDSLwWm6StNmf1kvqYGTIx9zYS0G4rk1HOmfBUZYAonZj9ymo0sDfKKsIQ Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Thu, 27 Jun 2019 22:23:27 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.113]) ([67.170.167.181]) by smtp412.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID e451dd3d5d9a0eaa6efe0dd7822c30c2; Thu, 27 Jun 2019 21:53:06 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: FreeBSD/powerpc and FreeBSD/powerpcspe toolchain update From: Mark Millard In-Reply-To: <20190627145312.5abd82e7@titan.knownspace> Date: Thu, 27 Jun 2019 14:53:05 -0700 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: 7bit Message-Id: <4B8DE338-8152-42CD-914C-35596FFDA76B@yahoo.com> References: <20190627145312.5abd82e7@titan.knownspace> To: Justin Hibbits X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: CEA567457F X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; 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: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)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.95)[0.952,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(2.09)[ip: (8.18), ipnet: 66.163.184.0/21(1.29), asn: 36646(1.03), country: US(-0.06)]; NEURAL_SPAM_MEDIUM(0.42)[0.423,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.75)[0.745,0]; RCVD_IN_DNSWL_NONE(0.00)[44.184.163.66.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 22:23:35 -0000 On 2019-Jun-27, at 12:53, Justin Hibbits wrote: > On Thu, 27 Jun 2019 12:03:05 -0700 > Mark Millard wrote: > >> On 2019-Jun-24, at 19:40, Justin Hibbits >> wrote: >> >>> As of r349351 32-bit powerpc toolchains need to be rebuilt as part >>> of buildworld, in order to take advantage of the new Secure >>> Procedure Linkage Table (Secure-PLT) format. This can be done by >>> passing "WITHOUT_SYSTEM_TOOLCHAIN=" on the 'make buildworld' >>> command line. >>> >>> Cross-building should work fine with no changes, as that already >>> builds a new toolchain. If building with an external toolchain, >>> such as gcc8, add 'CFLAGS+= -msecure-plt' to /etc/src.conf to >>> ensure the new PLT is used, otherwise it will default to BSS-PLT, >>> which is fully compatible, but not as secure. There is breakage >>> intended at all, so please let me know if there are any problems. >> >> My attempt to amd64->powerpc (32-bit) cross build from/to head >> -r349444 via system clang and lld got the following. This may not be >> a recent change. It has been a long time since I tried lld, instead >> using devel/powerpc64-binutils. ( devel/powerpc64-binutils now fails >> where it used to work, but I sent a separate note out about that. ) >> >> --- agp.ko.full --- >> ld: agp.kld(.text+0x37a4): R_PPC_PLTREL24 reloc against local symbol >> agp.kld: could not read symbols: Bad value >> *** [agp.ko.full] Error code 1 >> > > Hi Mark, > > Can you determine what symbol has that relocation? I don't see that > error when building natively, or cross-building with base toolchain, so > there's very likely a change in binutils between 2.17 and now that's > leading to this failure. Sure. readelf shows for agp.kld at 0x37a4 : 000037a4 00004512 R_PPC_PLTREL24 00000000 agp_find_caps + 0 and also shows for agp_find_caps: 69: 0000000000000000 172 FUNC LOCAL DEFAULT 1 agp_find_caps (Note that I build with debug symbols., even for non-debug builds.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Jun 27 22:24:18 2019 Return-Path: Delivered-To: freebsd-ppc@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 92C8215CFE79 for ; Thu, 27 Jun 2019 22:24:18 +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 DAFAD745B8 for ; Thu, 27 Jun 2019 22:24:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: mh_kxk4VM1kjTVInR7KTyleharsCcrYwy2UJEAubiacr5muZIXoUCDmE4UX6gVY C5XONmIOJfK_youEf1gQj349YJUMZKbROSi7F1IHaKgNn8Zzu_7a9VY5.5ia6jb0D_raUeRdXPbI 9dXaPGb0SKN_3NQcUZFE6Q3vvgJc8D.lwN_V9flr_m0zz4nPjVUEFk9Q3pyhzpiwUp9EoRkISQoo 4SqL1K.7YB2uJUPShq00fw._dbJt5gLRyGT5mTG0kOGOy7hMFAzQJGTD586vgZT.bJD0KdWPZZPP igTqm2BSiCvdwMlbEVVIge6FmZEKJoZ0VsCi64YIuuYHt700Avo.MYlXGFq.dxbOCJ7Rcvqu1ta5 BNbba6tC.JlcS0cjncNkqVzwr3o9yWYMxjOPNB_ss.F9mMVdNaTLKFsL5rQqq8buktLx6OKzwKgJ cyMAFG.nt66ztq1dusHpXbVAfhCiwltp0sRdR_wrCcBVVvPjeC.4vRUoU5Lo0yIXg7WeXE64XbFM Enne9aQLbB9D_Zddp8PsuCeA8e3J4XUyDWPeIxk7D61dOyg5.RUAy_0E66lE.i1OpxyoRmQMGjZk AWFJlaHCfWuWJKKq_Hr1S5ojAr9UK0by9WSlq5o9HeFprE0045OtmVj3LDftnmA1nZyoquILrEgQ a9uxiAhrD.EilTStjvR_Rq9QdP2YlmmVS.ep_57HUhFRK2GBvjISFsRcq3bL4DYdU5mhNvoXXATk xZIYaqhf3CiMbtibwC5JOTXfldEmn_3fjIqed8JVzQwNu21bA8NMYXVIohCn3N6tUhcMmm9oVKDI 83GAhuahI0Cu69NX.WrVNPM4ixBE9mHlv7S7C7C1Qa6ZGPW9NC1dTp7ZGYWOfN6NPREdUlF4mhqv RSKSHJ82yugvx1U8jTnUZhj3dZ11nhbTphIgKp7h8.I9eCsV8a6GLqcDBiA0ZXUYnm.v8GPjDqgd S7DKRxMp31JAiHfaNhhX8.T4incKwPjW5dmWrg5ebe4JbIOPboRJp8IUwxVNXkj9HH8VmZfNH13y Ir_EQPuOeXFPwgnRSNMipXEcK8RxbayTxGjitajqVpftzFdvknizy62_r78tSewHb7SOAX_Rgm5l vKDVGH7U8shoE.U6uWzcL0uUN0zr_.v8Cv_6Q5M5jFPM7i0cwqQRq0CgZxacSLeYSNLQUOA22HeI XM421XVuNzca3SVEFqPQ0hsG4CH3krx3uMtNaXwGiQYKnbZ9dmytTbVA0WtfhnPBP Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Thu, 27 Jun 2019 22:24:15 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.113]) ([67.170.167.181]) by smtp410.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 94ccfa50445f2aec16770477778e134a; Thu, 27 Jun 2019 22:03:56 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: FreeBSD/powerpc and FreeBSD/powerpcspe toolchain update From: Mark Millard In-Reply-To: <4B8DE338-8152-42CD-914C-35596FFDA76B@yahoo.com> Date: Thu, 27 Jun 2019 15:03:55 -0700 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <9C229946-C51B-41BF-9661-F6B6D585903D@yahoo.com> References: <20190627145312.5abd82e7@titan.knownspace> <4B8DE338-8152-42CD-914C-35596FFDA76B@yahoo.com> To: Justin Hibbits X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: DAFAD745B8 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; 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_SPAM_SHORT(0.95)[0.951,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(2.08)[ip: (8.79), ipnet: 98.137.64.0/21(0.93), asn: 36647(0.75), country: US(-0.06)]; NEURAL_SPAM_MEDIUM(0.43)[0.428,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.75)[0.746,0]; RCVD_IN_DNSWL_NONE(0.00)[205.69.137.98.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 22:24:18 -0000 On 2019-Jun-27, at 14:53, Mark Millard wrote: > On 2019-Jun-27, at 12:53, Justin Hibbits = wrote: >=20 >> On Thu, 27 Jun 2019 12:03:05 -0700 >> Mark Millard wrote: >>=20 >>> On 2019-Jun-24, at 19:40, Justin Hibbits >>> wrote: >>>=20 >>>> As of r349351 32-bit powerpc toolchains need to be rebuilt as part >>>> of buildworld, in order to take advantage of the new Secure >>>> Procedure Linkage Table (Secure-PLT) format. This can be done by >>>> passing "WITHOUT_SYSTEM_TOOLCHAIN=3D" on the 'make buildworld' >>>> command line. >>>>=20 >>>> Cross-building should work fine with no changes, as that already >>>> builds a new toolchain. If building with an external toolchain, >>>> such as gcc8, add 'CFLAGS+=3D -msecure-plt' to /etc/src.conf to >>>> ensure the new PLT is used, otherwise it will default to BSS-PLT, >>>> which is fully compatible, but not as secure. There is breakage >>>> intended at all, so please let me know if there are any problems. =20= >>>=20 >>> My attempt to amd64->powerpc (32-bit) cross build from/to head >>> -r349444 via system clang and lld got the following. This may not be >>> a recent change. It has been a long time since I tried lld, instead >>> using devel/powerpc64-binutils. ( devel/powerpc64-binutils now fails >>> where it used to work, but I sent a separate note out about that. ) >>>=20 >>> --- agp.ko.full --- >>> ld: agp.kld(.text+0x37a4): R_PPC_PLTREL24 reloc against local symbol >>> agp.kld: could not read symbols: Bad value >>> *** [agp.ko.full] Error code 1 >>>=20 >>=20 >> Hi Mark, >>=20 >> Can you determine what symbol has that relocation? I don't see that >> error when building natively, or cross-building with base toolchain, = so >> there's very likely a change in binutils between 2.17 and now that's >> leading to this failure. >=20 > Sure. readelf shows for agp.kld at 0x37a4 : >=20 > 000037a4 00004512 R_PPC_PLTREL24 00000000 agp_find_caps + 0 >=20 > and also shows for agp_find_caps: >=20 > 69: 0000000000000000 172 FUNC LOCAL DEFAULT 1 = agp_find_caps >=20 > (Note that I build with debug symbols., even for non-debug builds.) FYI for how agp.kld was produced: # Meta data file = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/sys/GEN= ERICvtsc-NODBG/modules/usr/src/sys/modules/agp/agp.kld.meta CMD ld -m elf32ppc_fbsd --secure-plt -d -warn-common -r -d -o agp.kld = agp.o agp_if.o agp_apple.o CMD ctfmerge -L VERSION -g -o agp.kld agp.o agp_if.o agp_apple.o CMD echo -n "agp_find_device agp_state agp_acquire agp_release agp_enable agp_alloc_memory agp_free_memory agp_bind_memory agp_unbind_memory agp_memory_info " > export_syms CMD awk -f /usr/src/sys/conf/kmod_syms.awk agp.kld export_syms | xargs = -J% objcopy % agp.kld CWD = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/sys/GEN= ERICvtsc-NODBG/modules/usr/src/sys/modules/agp TARGET agp.kld -- command output -- -- filemon acquired metadata -- . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Thu Jun 27 23:20:02 2019 Return-Path: Delivered-To: freebsd-ppc@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 428A615D143A for ; Thu, 27 Jun 2019 23:20:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-9.consmr.mail.ne1.yahoo.com (sonic313-9.consmr.mail.ne1.yahoo.com [66.163.185.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 DF225764DE for ; Thu, 27 Jun 2019 23:20:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: IxerAWUVM1n93BtgRgaxAGVHmHjivM_.OoCdy1SxuMWPGzWu6UFTDOgdPuDE015 BJIdkLBkeMozRKbagV1lt76AuXz1_J4Np6VGhv2Etxvw.cYOxTgrNKHzHkd4tw9SdJkbufgSyKby 2RASmth4_QfT92N6FOl6bhCnF.83IQHUPR4zI2mxdjbyaDjftdT0a9WOi5d5_sXNnFhBjve9Dy9b Qb1VhUTPs7xjzmmqdKvSI8Q4n8JBQ702HsPW6AXQ416Jdh_GV8g7xsV7fgRq1y2BFfBQQdY9vyaL UqMiV5gPeo0lj0qNms33gExoONuz6pMBlFvNCPCmcHyY193bv.GfWsCpm.XXpXZNDzlKDjG2Wt.K Tb5H5sTNsHY5KRruGaMJX3wbwXAENvoafUNfsJWu0ij4T15gIK_okenOeRJvf5hnfHqXgf6_7..n OhjsQoKi3lct.vopKXPX6Ozk5w762_nsYZLpaA1DaAGKx7pciqe_VEYcRHxgcqkSHq8G9ll9QUgj yR5YgPh4z4SeZHA29VR8I4ToCjXfCC__G6IW6dA8_208WxPmLIX_yOMrVpmP98kvyl81Ujj4FXeN Ya4VNzx1KiyMV.3YbLijiO8LJhTMNzNaMkTZPUsDRpLt4ICYVdontvj_B5UDB0GAjhriysM44KgL O15pYDOtMywvrYv1aM3M9RhJsC0j2nvq_xRIu6jlk12IZF_5SxtbfidAotAZh1lTbTP0bINcEgzs 06FkD25BD1twP4SiuLxeYJfJiBMXtPA37QrlGmgOH7EPYI_iXthRShLoSmDp8m0oGmW9OJllblbo .oWmxk0PzHb_MaR9ORJZsV3pXLPg6uAkxXnivk2tze7MxnQAtabzo7mo4epvIFqkAKnd6yWEeCI1 h7Zz1Ky_3NfjhdqlcD5Dq70udujBpF1oNLTskP.KlQyNs5PTkQKgHfVqLikwbLVRRYVcBcXzxf0m V9_s82cYuAvJKd3eKEnW_ADlmw1rxrcHR2acFtM9dr3p6GKk6ptczdxsH4Nksv0ChQf4vZ.gJ4lz iTfgOQqc8jiu5ZPKHqHNzeUpa7NLsEW6cLFeCQhZUQ1o9m8A8SKSURdinFnY5xWmFeqK6o.NABel GG4x.6pxPqazlNzgw4pSVTWV73JSC9A5Run0hhQlb2ovVJzeGxC4VBLvD1E87pgXiDTavHIYzb69 8oWvUeECDAAGDVSTVI2QB6oiywEp_wizYeE86TP1CwPXLLoJ7vt1zy5O0b5yQswFlvdDBSJDEPQ- - Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Thu, 27 Jun 2019 23:19:59 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.113]) ([67.170.167.181]) by smtp432.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 2b5989454dbbe22b96b1a8142dbf5cdc; Thu, 27 Jun 2019 23:19:56 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: FreeBSD/powerpc and FreeBSD/powerpcspe toolchain update From: Mark Millard In-Reply-To: <9C229946-C51B-41BF-9661-F6B6D585903D@yahoo.com> Date: Thu, 27 Jun 2019 16:19:54 -0700 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: References: <20190627145312.5abd82e7@titan.knownspace> <4B8DE338-8152-42CD-914C-35596FFDA76B@yahoo.com> <9C229946-C51B-41BF-9661-F6B6D585903D@yahoo.com> To: Justin Hibbits X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: DF225764DE X-Spamd-Bar: / X-Spamd-Result: default: False [0.37 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; 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: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.56)[-0.556,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.77)[0.773,0]; NEURAL_HAM_LONG(-0.34)[-0.344,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.01)[ip: (2.78), ipnet: 66.163.184.0/21(1.29), asn: 36646(1.03), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[32.185.163.66.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 23:20:02 -0000 [I used src.conf.powerpc-clang-bootstrap.amd64-host which uses WITHOUT_LLD_BOOTSTRAP=3D and WITH_BINUTILS_BOOTSTRAP=3D and so LLD was not in use.]=20 On 2019-Jun-27, at 15:03, Mark Millard wrote: >=20 >=20 > On 2019-Jun-27, at 14:53, Mark Millard wrote: >=20 >=20 >=20 >> On 2019-Jun-27, at 12:53, Justin Hibbits = wrote: >>=20 >>> On Thu, 27 Jun 2019 12:03:05 -0700 >>> Mark Millard wrote: >>>=20 >>>> On 2019-Jun-24, at 19:40, Justin Hibbits >>>> wrote: >>>>=20 >>>>> As of r349351 32-bit powerpc toolchains need to be rebuilt as part >>>>> of buildworld, in order to take advantage of the new Secure >>>>> Procedure Linkage Table (Secure-PLT) format. This can be done by >>>>> passing "WITHOUT_SYSTEM_TOOLCHAIN=3D" on the 'make buildworld' >>>>> command line. >>>>>=20 >>>>> Cross-building should work fine with no changes, as that already >>>>> builds a new toolchain. If building with an external toolchain, >>>>> such as gcc8, add 'CFLAGS+=3D -msecure-plt' to /etc/src.conf to >>>>> ensure the new PLT is used, otherwise it will default to BSS-PLT, >>>>> which is fully compatible, but not as secure. There is breakage >>>>> intended at all, so please let me know if there are any problems. =20= >>>>=20 >>>> My attempt to amd64->powerpc (32-bit) cross build from/to head >>>> -r349444 via system clang and lld got the following. This may not = be >>>> a recent change. Gack: Looking at the src.conf.powerpc-clang-bootstrap.amd64-host text I'd originally included but has been dropped later in this exchange, there is: WITHOUT_SYSTEM_LINKER=3D . . . WITHOUT_LLD_BOOTSTRAP=3D WITH_BINUTILS_BOOTSTRAP=3D WITH_ELFTOOLCHAIN_BOOTSTRAP=3D So lld was not in use as I intended: wrong src.conf.* file. I did not end up testing what I intended to test. So this is actually about ld from WITH_BINUTILS_BOOTSTRAP : # = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/usr= /bin/ld -v GNU ld 2.17.50 [FreeBSD] 2007-07-03 Sorry for the misdirection. >>>> It has been a long time since I tried lld, instead >>>> using devel/powerpc64-binutils. ( devel/powerpc64-binutils now = fails >>>> where it used to work, but I sent a separate note out about that. ) >>>>=20 >>>> --- agp.ko.full --- >>>> ld: agp.kld(.text+0x37a4): R_PPC_PLTREL24 reloc against local = symbol >>>> agp.kld: could not read symbols: Bad value >>>> *** [agp.ko.full] Error code 1 >>>>=20 >>>=20 >>> Hi Mark, >>>=20 >>> Can you determine what symbol has that relocation? I don't see that >>> error when building natively, or cross-building with base toolchain, = so >>> there's very likely a change in binutils between 2.17 and now that's >>> leading to this failure. >>=20 >> Sure. readelf shows for agp.kld at 0x37a4 : >>=20 >> 000037a4 00004512 R_PPC_PLTREL24 00000000 agp_find_caps + 0 >>=20 >> and also shows for agp_find_caps: >>=20 >> 69: 0000000000000000 172 FUNC LOCAL DEFAULT 1 = agp_find_caps >>=20 >> (Note that I build with debug symbols., even for non-debug builds.) >=20 > FYI for how agp.kld was produced: >=20 > # Meta data file = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/sys/GEN= ERICvtsc-NODBG/modules/usr/src/sys/modules/agp/agp.kld.meta > CMD ld -m elf32ppc_fbsd --secure-plt -d -warn-common -r -d -o agp.kld = agp.o agp_if.o agp_apple.o > CMD ctfmerge -L VERSION -g -o agp.kld agp.o agp_if.o agp_apple.o > CMD echo -n "agp_find_device > agp_state > agp_acquire > agp_release > agp_enable > agp_alloc_memory > agp_free_memory > agp_bind_memory > agp_unbind_memory > agp_memory_info > " > export_syms > CMD awk -f /usr/src/sys/conf/kmod_syms.awk agp.kld export_syms | = xargs -J% objcopy % agp.kld > CWD = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/sys/GEN= ERICvtsc-NODBG/modules/usr/src/sys/modules/agp > TARGET agp.kld > -- command output -- >=20 > -- filemon acquired metadata -- > . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Fri Jun 28 01:35:52 2019 Return-Path: Delivered-To: freebsd-ppc@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 A04B415D4ABB for ; Fri, 28 Jun 2019 01:35:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-33.consmr.mail.ne1.yahoo.com (sonic317-33.consmr.mail.ne1.yahoo.com [66.163.184.44]) (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 5A3168343C for ; Fri, 28 Jun 2019 01:35:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: E7LhyB0VM1kPP66rwG35_5lH9a69zDMnDspOEo0HscxArco2a9QwaJMFhu_A6jc YwuQYrApepy.oxJeTuzoctIE1qTZz.lBkDSAJpAhmA_rQ.P6Kaf7U.twBhfIO_IWL1QEasDCOM_n c2M6elIH3cUYr7XwZcJeTxV27LUV7.ngrlkSLmOD3n2y1MZrjqHdj931EKPcEbKLzJ5a8hpsLd5x n.qZSZLVxLhd2Vf2mKYKwfFhKSF_GOwkDxbV3E0qFCwAUm3GzkTBeQs6q.T6ZmkHGj8OiKeoJWhQ Y11eehY9Cthu.xGb17rxBtHDRw1cbfvh0zrlz6KoZqEM56m4mJg76XrIM116PpHxDo.6M32lyhbg VR0Pa_PML9RRGXqUKhP19hG5VNi5VMxzZMpcT8EQZ4pUZmFSbRNp22LBuiKOIRZWa9bVFmt57Mjy bNEjbv.ppGoXFYT_OrPPTOmVDkz8VM5ieQMFkyc7MXmtPdemV541P50pCK7oDV4AC._0c2HO3Md0 NFcRQk1C2SO_YReZc4_u6ygo.1x9rBU_pFZlLqeuJrhNCzXwcckvIbCH04BaxaHxmoW0K7EZEVxW mS2nJth1CMJepwoAn5H5omP8Jf11NTACzcooNegK7II_qhQl4_d2Fcqy2Y2myvx711P6I3ios7nO F8xRaULzq11R0mlEFCEo6MrYfcbZXAcjmLT8tDLuqhq6h0HsxNouenF37nEVA5zka2qtErj5rsJm zX1Z1sCpVuW11YAPA5Z_.w8i6z7HlYSasOiu_bsf_8lTcVRM4k6OU9U.b9fHdExsB474FP4_8Bt_ 9fEogMblmf.MLaqKMVZHjoh_6M0NtBOZTIj7T9e61_29M5OVCtkxVFN2VnmMYaVDy9_MOHjh067J 1.MLlAwy4Yg_zBIAI60.YyZ.OKpVVJ9tn1B21QfI_aCWxCd9O.sTT7wXO3.Gezfl02NkKlPyL2iq BTK0C6kuL0VhRwfS0ghLn9Sy1VBYlYXGXO28H44PxrHDNsFybHdGd87gTnrboMfg1ieSRrSxoUPS 9P.YTBiTwug50kSlaliIrjzSF7sfuQUtHm6OfqJ6pxHMqdLFKra5ZJ7Enblzrl7PmJySzEVnUReY FiobEO1L0orGQsdc9CTcFafzmjayQS_sCQx4Swjo3fPXfjaLyR7OzA_QxFkg2ZC0qHz_J4TdzG5c 6BVD7YgCpEdy4ZkEjwdKriacc1Ea5bIvgsxE1AiOximAqTdX0_NkPRmSmDNjOqaQ- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Fri, 28 Jun 2019 01:35:49 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.115]) ([67.170.167.181]) by smtp404.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID e9d4c77c330f637cb0f23c40b531dc69; Fri, 28 Jun 2019 01:35:46 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: FreeBSD/powerpc and FreeBSD/powerpcspe toolchain update From: Mark Millard In-Reply-To: Date: Thu, 27 Jun 2019 18:36:50 -0700 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <4F8D2A3F-1F90-4003-9EAB-CC16B0ECF597@yahoo.com> References: <20190627145312.5abd82e7@titan.knownspace> <4B8DE338-8152-42CD-914C-35596FFDA76B@yahoo.com> <9C229946-C51B-41BF-9661-F6B6D585903D@yahoo.com> To: Justin Hibbits X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 5A3168343C X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.69 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(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)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.95)[0.945,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(0.38)[0.384,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.82)[0.820,0]; RCVD_IN_DNSWL_NONE(0.00)[44.184.163.66.list.dnswl.org : 127.0.5.0]; IP_SCORE(2.05)[ip: (7.99), ipnet: 66.163.184.0/21(1.28), asn: 36646(1.03), country: US(-0.06)] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2019 01:35:52 -0000 [I retried, adjusting src.conf.powerpc-clang-bootstrap.amd64-host to be lld based this time. It is a different failure: ld rejects the attempted use of --secure-plt .] On 2019-Jun-27, at 16:19, Mark Millard wrote: > [I used src.conf.powerpc-clang-bootstrap.amd64-host which uses > WITHOUT_LLD_BOOTSTRAP=3D and WITH_BINUTILS_BOOTSTRAP=3D and so > LLD was not in use.]=20 >=20 > On 2019-Jun-27, at 15:03, Mark Millard wrote: >=20 >>=20 >>=20 >> On 2019-Jun-27, at 14:53, Mark Millard wrote: >>=20 >>=20 >>=20 >>> On 2019-Jun-27, at 12:53, Justin Hibbits = wrote: >>>=20 >>>> On Thu, 27 Jun 2019 12:03:05 -0700 >>>> Mark Millard wrote: >>>>=20 >>>>> On 2019-Jun-24, at 19:40, Justin Hibbits >>>>> wrote: >>>>>=20 >>>>>> As of r349351 32-bit powerpc toolchains need to be rebuilt as = part >>>>>> of buildworld, in order to take advantage of the new Secure >>>>>> Procedure Linkage Table (Secure-PLT) format. This can be done by >>>>>> passing "WITHOUT_SYSTEM_TOOLCHAIN=3D" on the 'make buildworld' >>>>>> command line. >>>>>>=20 >>>>>> Cross-building should work fine with no changes, as that already >>>>>> builds a new toolchain. If building with an external toolchain, >>>>>> such as gcc8, add 'CFLAGS+=3D -msecure-plt' to /etc/src.conf to >>>>>> ensure the new PLT is used, otherwise it will default to BSS-PLT, >>>>>> which is fully compatible, but not as secure. There is breakage >>>>>> intended at all, so please let me know if there are any problems. = =20 >>>>>=20 >>>>> My attempt to amd64->powerpc (32-bit) cross build from/to head >>>>> -r349444 via system clang and lld got the following. This may not = be >>>>> a recent change. >=20 >=20 > Gack: Looking at the src.conf.powerpc-clang-bootstrap.amd64-host > text I'd originally included but has been dropped later in this > exchange, there is: >=20 > WITHOUT_SYSTEM_LINKER=3D > . . . > WITHOUT_LLD_BOOTSTRAP=3D > WITH_BINUTILS_BOOTSTRAP=3D > WITH_ELFTOOLCHAIN_BOOTSTRAP=3D >=20 > So lld was not in use as I intended: wrong src.conf.* file. > I did not end up testing what I intended to test. >=20 > So this is actually about ld from WITH_BINUTILS_BOOTSTRAP : >=20 > # = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/usr= /bin/ld -v > GNU ld 2.17.50 [FreeBSD] 2007-07-03 >=20 > Sorry for the misdirection. >=20 >> . . . # uname -apKU FreeBSD FBSDFSSD 13.0-CURRENT FreeBSD 13.0-CURRENT #22 r349444M: Wed Jun = 26 16:00:44 PDT 2019 = markmi@FBSDFSSD:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/sys/G= ENERIC-NODBG amd64 amd64 1300034 1300034 Is: QUOTE SYSTEM_LINKER: Determined that LD=3Dld matches the source tree. Not = bootstrapping a cross-linker END QUOTE a problem for amd64->powerpc (32-bit) cross builds? The different failing result for actual lld use for head -349444 amd64->powerpc cross build is that it rejects the use of --secure-plt : # Meta data file = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/lib/lib= c/libc.so.7.full.meta CMD @echo building shared library libc.so.7 CMD @rm -f libc.so.7 libc.so CMD cc -target powerpc-unknown-freebsd13.0 \ = --sysroot=3D/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.pow= erpc/tmp \ = -B/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/u= sr/bin \ -Wl,--secure-plt -nodefaultlibs -Wl,--version-script=3DVersion.map = -Wl,--no-threads \ -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel \ -o libc.so.7.full -Wl,-soname,libc.so.7 \ `NM=3D'nm' NMFLAGS=3D'' lorder . . . wmemset.pico | tsort -q` = -lcompiler_rt -lssp_nonshared CWD = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/lib/lib= c TARGET libc.so.7.full -- command output -- building shared library libc.so.7 ld: error: unknown argument: --secure-plt cc: error: linker command failed with exit code 1 (use -v to see = invocation) *** Error code 1 -- filemon acquired metadata -- . . . Looking at the -Wl,--secure-plt use via: # cc -### -target powerpc-unknown-freebsd13.0 -Wl,--secure-plt=20 FreeBSD clang version 8.0.1 (branches/release_80 363030) (based on LLVM = 8.0.1) Target: powerpc-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" = "--enable-new-dtags" "-m" "elf32ppc_fbsd" "-o" "a.out" = "/usr/lib32/crt1.o" "/usr/lib32/crti.o" "/usr/lib32/crtbegin.o" = "-L/usr/lib32" "--secure-plt" "-lgcc" "--as-needed" "-lgcc_s" = "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" = "/usr/lib32/crtend.o" "/usr/lib32/crtn.o" Then trying the ld command it reported: # "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" = "/libexec/ld-elf.so.1" "--enable-new-dtags" "-m" "elf32ppc_fbsd" "-o" = "a.out" "/usr/lib32/crt1.o" "/usr/lib32/crti.o" "/usr/lib32/crtbegin.o" = "-L/usr/lib32" "--secure-plt" "-lgcc" "--as-needed" "-lgcc_s" = "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" = "/usr/lib32/crtend.o" "/usr/lib32/crtn.o" ld: error: unknown argument: --secure-plt The buildworld log report of the failure looks like: --- libc.so.7.full --- ld: error: unknown argument: --secure-plt cc: error: linker command failed with exit code 1 (use -v to see = invocation) *** [libc.so.7.full] Error code 1 make[4]: stopped in /usr/src/lib/libc .ERROR_TARGET=3D'libc.so.7.full' = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/pow= erpc.powerpc/lib/libc/libc.so.7.full.meta' .MAKE.LEVEL=3D'4' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'@echo building shared library libc.so.7; @rm -f libc.so.7 = libc.so; cc -target powerpc-unknown-freebsd13.0 = --sysroot=3D/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.pow= erpc/tmp = -B/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc/tmp/u= sr/bin -Wl,--secure-plt -nodefaultlibs -Wl,--version-script=3DVersion.map= -Wl,--no-threads -shared -Wl,-x -Wl,--fatal-warnings = -Wl,--warn-shared-textrel -o libc.so.7.full -Wl,-soname,libc.so.7 = `NM=3D'nm' NMFLAGS=3D'' lorder trivial-vdso_tc.pico . . . .CURDIR=3D'/usr/src/lib/libc' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powe= rpc/lib/libc' .TARGETS=3D'all' = DESTDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powe= rpc/tmp' LD_LIBRARY_PATH=3D'' MACHINE=3D'powerpc' MACHINE_ARCH=3D'powerpc' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20181221' = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.powerpc= /tmp/usr/sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.p= owerpc/tmp/usr/bin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powe= rpc.powerpc/tmp/legacy/usr/sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc= /usr/src/powerpc.powerpc/tmp/legacy/usr/bin:/usr/obj/powerpcvtsc_clang/pow= erpc.powerpc/usr/src/powerpc.powerpc/tmp/legacy/bin::/sbin:/bin:/usr/sbin:= /usr/bin' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/powerpc.power= pc' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk . . . 1 error This report is based on the following that does use lld: TO_TYPE=3Dpowerpc # KERNCONF=3DGENERICvtsc-NODBG TARGET=3D${TO_TYPE} .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # WITH_CROSS_COMPILER=3D WITH_SYSTEM_COMPILER=3D WITH_SYSTEM_LINKER=3D # # llvm's libunwind for 32-bit powerpc: # Two of its .S files get tons of error reports. # So avoid llvm's libunwind for now. #WITHOUT_LLVM_LIBUNWIND=3D WITH_LIBCPLUSPLUS=3D WITH_LLD_BOOTSTRAP=3D WITHOUT_BINUTILS_BOOTSTRAP=3D WITH_ELFTOOLCHAIN_BOOTSTRAP=3D #Disables avoiding bootstrap: WITHOUT_LLVM_TARGET_ALL=3D WITHOUT_LLVM_TARGET_AARCH64=3D WITHOUT_LLVM_TARGET_ARM=3D WITHOUT_LLVM_TARGET_MIPS=3D WITH_LLVM_TARGET_POWERPC=3D WITHOUT_LLVM_TARGET_SPARC=3D WITHOUT_LLVM_TARGET_X86=3D WITH_CLANG_BOOTSTRAP=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_CLANG_EXTRAS=3D WITH_LLD=3D WITH_LLD_IS_LD=3D WITHOUT_BINTUILS=3D # lldb requires missing atomic 8-byte operations for powerpc (non-64) WITHOUT_LLDB=3D # WITH_BOOT=3D WITHOUT_LIB32=3D # LOADER_DEFAULT_INTERP=3D4th # WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GCC_IS_CC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D # # Use WERROR to avoid stopping at the likes of: # error: implicit conversion from 'int' to 'int8_t' (aka 'signed char') = changes value from 128 to -128 [-Werror,-Wconstant-conversion] WERROR=3D MALLOC_PRODUCTION=3D # # Avoid stripping but do not control host -g status as well: DEBUG_FLAGS+=3D # WITH_REPRODUCIBLE_BUILD=3D WITH_DEBUG_FILES=3D Note: --- buildworld --- make[1]: "/usr/src/Makefile.inc1" line 347: SYSTEM_COMPILER: Determined = that CC=3Dcc matches the source tree. Not bootstrapping a = cross-compiler. make[1]: "/usr/src/Makefile.inc1" line 352: SYSTEM_LINKER: Determined = that LD=3Dld matches the source tree. Not bootstrapping a cross-linker. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-ppc@freebsd.org Fri Jun 28 03:50:54 2019 Return-Path: Delivered-To: freebsd-ppc@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 49AA415D6DBC for ; Fri, 28 Jun 2019 03:50:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E15BE871F8 for ; Fri, 28 Jun 2019 03:50:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id A50805079; Fri, 28 Jun 2019 03:50:53 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 9E1AB5078 for ; Fri, 28 Jun 2019 03:50:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C0F5871F6 for ; Fri, 28 Jun 2019 03:50:53 +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 AE268EC12 for ; Fri, 28 Jun 2019 03:50:52 +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 x5S3oq1o015529 for ; Fri, 28 Jun 2019 03:50:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5S3oqoN015528 for powerpc@FreeBSD.org; Fri, 28 Jun 2019 03:50: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: powerpc@FreeBSD.org Subject: [Bug 238724] textproc/asciidoc 8.6.10 requires python 2.7 in spite of make.conf DEFAULT_VERSIONS+=python=3.7 Date: Fri, 28 Jun 2019 03:50:52 +0000 X-Bugzilla-Reason: 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: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ 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-Rspamd-Queue-Id: E15BE871F8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2019 03:50:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238724 --- Comment #6 from Kubilay Kocak --- (In reply to Dennis Clarke from comment #5) If adding Python 3.x support is going be a proposed change, these should be submitted upstream as a first course of action, as there are already open w= orks in progress for Python 3 support This issue is closed as existing behaviour is not a bug (read: intended behaviour). Any proposals to backport upstream changes to improve or add Python support should take place in a separate/new issue, referencing this one in "See Als= o" if desirable. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Fri Jun 28 14:22:10 2019 Return-Path: Delivered-To: freebsd-ppc@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 8D4B815C3063 for ; Fri, 28 Jun 2019 14:22:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 35398739DB for ; Fri, 28 Jun 2019 14:22:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 067B8B4B4; Fri, 28 Jun 2019 14:22:10 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 000D4B4B3 for ; Fri, 28 Jun 2019 14:22:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C182F739D8 for ; Fri, 28 Jun 2019 14:22: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 12FBB146CC for ; Fri, 28 Jun 2019 14:22:09 +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 x5SEM8h6019236 for ; Fri, 28 Jun 2019 14:22:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5SEM8kZ019235 for powerpc@FreeBSD.org; Fri, 28 Jun 2019 14:22:08 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: powerpc@FreeBSD.org Subject: [Bug 237208] java/openjdk11: port to powerpc64 Date: Fri, 28 Jun 2019 14:22:07 +0000 X-Bugzilla-Reason: 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: mikael.urankar@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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-Rspamd-Queue-Id: 35398739DB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2019 14:22:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237208 --- Comment #57 from mikael.urankar@gmail.com --- bootstrap for ELFv2, built with gcc8 and this patch: --- make/autoconf/flags-cflags.m4.orig 2019-06-27 11:02:48.894038000 +0200 +++ make/autoconf/flags-cflags.m4 2019-06-27 11:03:12.271242000 +0200 @@ -744,7 +744,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP], if test "x$FLAGS_CPU" =3D xppc64; then # -mminimal-toc fixes `relocation truncated to fit' error for gcc = 4.1. # Use ppc64 instructions, but schedule for power5 - $1_CFLAGS_CPU_JVM=3D"${$1_CFLAGS_CPU_JVM} -mminimal-toc -mcpu=3Dpo= werpc64 -mtune=3Dpower5" + $1_CFLAGS_CPU_JVM=3D"${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=3Dpowe= rpc64 -mtune=3Dpower5" elif test "x$FLAGS_CPU" =3D xppc64le; then # Little endian machine uses ELFv2 ABI. # Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI. http://mikael.urankar.free.fr/FreeBSD/powerpc64/bootstrap-openjdk11-powerpc= 64-11.0.2.9.2_elfv2.tar.xz --=20 You are receiving this mail because: You are on the CC list for the bug.=