base/binutils build on 32-bit powerpc fails for not finding elf64_fbsd.* ldscripts

Mark Millard marklmi at yahoo.com
Sat Dec 28 10:33:04 UTC 2019


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:

===>  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.)



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



More information about the freebsd-ppc mailing list