Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2019 02:32:57 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        John Baldwin <jhb@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, freebsd-ppc@freebsd.org
Subject:   base/binutils build on 32-bit powerpc fails for not finding elf64_fbsd.* ldscripts
Message-ID:  <DF38FC82-2E28-47C7-87B1-F0AD73E3C821@yahoo.com>
References:  <DF38FC82-2E28-47C7-87B1-F0AD73E3C821.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In a 32-bit powerpc environment (head -r356066 or so, clang based), I
attempted to "make package" (not a cross build) for
/usr/ports/base/binutils ( as of ports -r520539 ) and the end result
was failures to find 64-bit ldscripts:

=3D=3D=3D>  Building package for freebsd-binutils-2.33.1
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.x:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.xbn:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.xc:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.xd:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.xdc:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.xdw:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.xn:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.xr:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.xs:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.xsc:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.xsw:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.xu:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc_fbsd.xw:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.x:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.xbn:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.xc:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.xd:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.xdc:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.xdw:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.xn:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.xr:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.xs:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.xsc:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.xsw:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.xu:No such file or directory
pkg-static: Unable to access file =
/wrkdirs/usr/ports/base/binutils/work/stage/usr/powerpc-unknown-freebsd13.=
0/lib/ldscripts/elf64ppc.xw:No such file or directory
*** Error code 1

For reference, the attempt built (or for binutils tried to):

# ls -ldT /wrkdirs/usr/ports/*/*
drwxr-xr-x  3 root  wheel  512 Dec 28 02:04:11 2019 =
/wrkdirs/usr/ports/base/binutils
drwxr-xr-x  3 root  wheel  512 Dec 28 02:04:55 2019 =
/wrkdirs/usr/ports/devel/gettext-runtime
drwxr-xr-x  3 root  wheel  512 Dec 28 02:04:38 2019 =
/wrkdirs/usr/ports/devel/gmake
drwxr-xr-x  3 root  wheel  512 Dec 28 02:04:52 2019 =
/wrkdirs/usr/ports/ports-mgmt/dialog4ports
drwxr-xr-x  3 root  wheel  512 Dec 28 02:07:44 2019 =
/wrkdirs/usr/ports/print/indexinfo

(I already had pkg 1.12.0 added.)



=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF38FC82-2E28-47C7-87B1-F0AD73E3C821>