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

Justin Hibbits <[email protected]>
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]>
On Sun, 26 Jan 2020 11:53:41 +0000
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
> 
> 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 #
> _______________________________________________
> [email protected] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> To unsubscribe, send any mail to "[email protected]"

I'll commit a fix for this tonight.  In the meantime, if you
's/\.s/.S/g' on lib/csu/powerpc64/Makefile and
lib/csu/powerpc/Makefile, you can work around it (it's the fix I'll be
committing).

- Justin
_______________________________________________
[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.