Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2020 15:15:07 +0000
From:      Francis Little <oggy@farscape.co.uk>
To:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: buildworld fail, make[5]: exec(as) failed (No such file or directory)
Message-ID:  <CAGSRtz5HKkQjbNgoJeCmhpZEtxKRP_7Dz8WE8mthWj%2B=176Z9A@mail.gmail.com>
In-Reply-To: <CAGSRtz5%2BPY1Q5w_uYBDVbMFwikeZEmCrHaV7UngT90unFesdag@mail.gmail.com>
References:  <CAGSRtz5%2BPY1Q5w_uYBDVbMFwikeZEmCrHaV7UngT90unFesdag@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
So it looks like r342974 -  "Create crtsavres.o for powerpc builds"   -
https://svnweb.freebsd.org/base/head/lib/csu/powerpc64/Makefile?revision=342974&view=markup
.

Added a work around for GCC, now with Clang, if I take this out the
makefile, it builds.

Does this need a bug filing?

Regards

On Sun, 26 Jan 2020 at 11:53, Francis Little <oggy@farscape.co.uk> 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 #
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGSRtz5HKkQjbNgoJeCmhpZEtxKRP_7Dz8WE8mthWj%2B=176Z9A>