Re: buildworld fail, make[5]: exec(as) failed (No such file or directory)

Mark Millard via freebsd-ppc <[email protected]>
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]>
[Looks to be a head -r356889 consequence.]

On 2020-Jan-26, at 03:53, Francis Little <[email protected]> wrote:

> Just got a buildworld fail.
> 
> PowerMac G5Q, SMP disabled.
> 
> Running r357002
> 
> Building r357137
> 
> This is all I could grab form the screen:
> 
> sh /usr/src/tools/install.sh  -C -o root -g wheel -m 444   libgcc_eh.a
> /usr/obj/usr/src/powerpc.powerpc64/tmp/usr/lib/
> ===> lib/libgcc_s (obj,all,install)
> ===> lib/csu (obj,all,install)
> ===> lib/csu/powerpc64 (all)
> cc -target powerpc64-unknown-freebsd13.0
> --sysroot=/usr/obj/usr/src/powerpc.powerpc64/tmp
> -B/usr/obj/usr/src/powerpc.powerpc64/tmp/usr/bin -O2 -pipe
> -I/usr/src/lib/csu/powerpc64 -I/usr/src/lib/csu/common
> -I/usr/src/lib/libc/include  -mlongcall -DCRT_IRELOC_RELA   -g  -std=gnu99
> -Wno-format-zero-length  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
> -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs
> -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety
> -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
> -Qunused-arguments    -S -o crt1.s /usr/src/lib/csu/powerpc64/crt1.c
> sed -i "" -e '/\.note\.tag/s/progbits/note/' crt1.s
> cc -target powerpc64-unknown-freebsd13.0
> --sysroot=/usr/obj/usr/src/powerpc.powerpc64/tmp
> -B/usr/obj/usr/src/powerpc.powerpc64/tmp/usr/bin -O2 -pipe
> -I/usr/src/lib/csu/powerpc64 -I/usr/src/lib/csu/common
> -I/usr/src/lib/libc/include -mlongcall -DCRT_IRELOC_RELA -MD
> -MF.depend.crt1.o -MTcrt1.o -std=gnu99 -Wno-format-zero-length
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
> -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
> -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body
> -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments    -c -o
> crt1.o crt1.s
> cc -target powerpc64-unknown-freebsd13.0
> --sysroot=/usr/obj/usr/src/powerpc.powerpc64/tmp
> -B/usr/obj/usr/src/powerpc.powerpc64/tmp/usr/bin -O2 -pipe
> -I/usr/src/lib/csu/powerpc64 -I/usr/src/lib/csu/common
> -I/usr/src/lib/libc/include  -mlongcall -DCRT_IRELOC_RELA   -g -MD
> -MF.depend.crti.o -MTcrti.o -std=gnu99 -Wno-format-zero-length
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
> -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
> -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body
> -Wno-string-plus-int -Wno-unused-const-variable  -Qunused-arguments
> -c /usr/src/lib/csu/powerpc64/crti.S -o crti.o
> cc -target powerpc64-unknown-freebsd13.0
> --sysroot=/usr/obj/usr/src/powerpc.powerpc64/tmp
> -B/usr/obj/usr/src/powerpc.powerpc64/tmp/usr/bin -O2 -pipe
> -I/usr/src/lib/csu/powerpc64 -I/usr/src/lib/csu/common
> -I/usr/src/lib/libc/include  -mlongcall -DCRT_IRELOC_RELA   -g -MD
> -MF.depend.crtn.o -MTcrtn.o -std=gnu99 -Wno-format-zero-length
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
> -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
> -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body
> -Wno-string-plus-int -Wno-unused-const-variable  -Qunused-arguments
> -c /usr/src/lib/csu/powerpc64/crtn.S -o crtn.o
> touch crtsavres.s
> as    -o crtsavres.o crtsavres.s
> make[5]: exec(as) failed (No such file or directory)
> *** Error code 1

Looks to me to be a consequence of removing the existence
of /usr/bin/as without having powerpc64's build do something
to avoid trying to use it:

Revision 356889 - Directory Listing 
Modified Sun Jan 19 19:16:32 2020 UTC (7 days, 2 hours ago) by emaste
limit building GNU assembler (as) to x86

GNU as 2.17.50 is currently required by amd64 and i386 for at least one
file that cannot be assembled by Clang's integrated assembler (IAS).
Other supported CPU architectures either use Clang IAS for all assembly
files, or rely on external toolchain.

Sponsored by:	The FreeBSD Foundation
Differential Revision:	
https://reviews.freebsd.org/D23180


> Stop.
> make[5]: stopped in /usr/src/lib/csu/powerpc64
> *** Error code 1
> 
> Stop.
> make[4]: stopped in /usr/src/lib/csu
> *** Error code 1
> 
> Stop.
> make[3]: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src
> root@PowerMacG5:/usr/src #



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

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.