Build FreeBSD: FAILED 6/rtems-x86_64.bset on x86_64-freebsd12.0 (x86_64-rtems6-gdb-ff4a4474eb-x86_64-freebsd12.0-1)

Joel Sherrill joel at rtems.org
Mon Jun 3 23:01:36 UTC 2019


On Mon, Jun 3, 2019 at 4:12 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

>
>
> On 03/06/2019 07:17, Sebastian Huber wrote:
> > On 03/06/2019 04:18, Chris Johns wrote:
> >> On 31/5/19 8:11 pm, Sebastian Huber wrote:
> >>> All the builds on FreeBSD 12 failed this week. The reason seems to
> >>> be this:
> >>>
> >>> grep -r ORIGINAL_AS_FOR_TARGET .
> >>> ./gcc/config.log:ORIGINAL_AS_FOR_TARGET=''
> >>> ./gcc/config.status:S["ORIGINAL_AS_FOR_TARGET"]=""
> >>> ./gcc/as:ORIGINAL_AS_FOR_TARGET=""
> >>> ./gcc/as:    original=$ORIGINAL_AS_FOR_TARGET
> >>> ./gcc/collect-ld:ORIGINAL_AS_FOR_TARGET=""
> >>> ./gcc/collect-ld:    original=$ORIGINAL_AS_FOR_TARGET
> >>> ./gcc/nm:ORIGINAL_AS_FOR_TARGET=""
> >>> ./gcc/nm:    original=$ORIGINAL_AS_FOR_TARGET
> >>> ./gcc/Makefile:ORIGINAL_AS_FOR_TARGET =
> >>>
> >>> I don't know why this variable is empty.
> >>>
> >> What does a Linux build show? I wonder if there is a Linux specific
> >> change
> >> introduced, for example related to sed, shell etc.
> >
> > I use the GNU sed to build GCC on Freebsd. On Linux it looks like:
> >
> > grep -r ORIGINAL_AS_FOR_TARGET .
> > ./gcc/Makefile:ORIGINAL_AS_FOR_TARGET =
> >
> /scratch/git-rtems-source-builder/rtems/build/tmp/sb-sebastian_h/6/rtems-aarch64.bset/opt/rtems/5/bin/aarch64-rtems6-as
> >
> ./gcc/nm:ORIGINAL_AS_FOR_TARGET="/scratch/git-rtems-source-builder/rtems/build/tmp/sb-sebastian_h/6/rtems-aarch64.bset/opt/rtems/5/bin/aarch64-rtems6-as"
>
> >
> > ./gcc/nm:    original=$ORIGINAL_AS_FOR_TARGET
> >
> ./gcc/collect-ld:ORIGINAL_AS_FOR_TARGET="/scratch/git-rtems-source-builder/rtems/build/tmp/sb-sebastian_h/6/rtems-aarch64.bset/opt/rtems/5/bin/aarch64-rtems6-as"
>
> >
> > ./gcc/collect-ld:    original=$ORIGINAL_AS_FOR_TARGET
> >
> ./gcc/as:ORIGINAL_AS_FOR_TARGET="/scratch/git-rtems-source-builder/rtems/build/tmp/sb-sebastian_h/6/rtems-aarch64.bset/opt/rtems/5/bin/aarch64-rtems6-as"
>
> >
> > ./gcc/as:    original=$ORIGINAL_AS_FOR_TARGET
> >
> ./gcc/config.status:S["ORIGINAL_AS_FOR_TARGET"]="/scratch/git-rtems-source-builder/rtems/build/tmp/sb-sebastian_h/6/rtems-aarch64.bset/opt/rtems/5/bin/aarch64-rtems6-as"
>
> >
> >
> ./gcc/config.log:ORIGINAL_AS_FOR_TARGET='/scratch/git-rtems-source-builder/rtems/build/tmp/sb-sebastian_h/6/rtems-aarch64.bset/opt/rtems/5/bin/aarch64-rtems6-as'
>
> >
> >
> > If it is still broken in one week, then I will start a git bisect.
> >
>
> It was not a GCC build issue:
>
> building: aarch64-rtems6-gdb-4f6d070adb-x86_64-freebsd12.0-1
> error: building aarch64-rtems6-gdb-4f6d070adb-x86_64-freebsd12.0-1
> Build FAILED
>    See error report:
> rsb-report-aarch64-rtems6-gdb-4f6d070adb-x86_64-freebsd12.0-1.txt
> error: building aarch64-rtems6-gdb-4f6d070adb-x86_64-freebsd12.0-1
> config: tools/rtems-binutils-head.cfg
> package: aarch64-rtems6-binutils-4f6d070adb-x86_64-freebsd12.0-1
> building: aarch64-rtems6-binutils-4f6d070adb-x86_64-freebsd12.0-1
> error: building aarch64-rtems6-binutils-4f6d070adb-x86_64-freebsd12.0-1
> Build FAILED
>    See error report:
> rsb-report-aarch64-rtems6-binutils-4f6d070adb-x86_64-freebsd12.0-1.txt
> error: building aarch64-rtems6-binutils-4f6d070adb-x86_64-freebsd12.0-1
> config: tools/rtems-gcc-head-newlib-head.cfg
> package:
> aarch64-rtems6-gcc-0f4558599b9-newlib-d5daede26-x86_64-freebsd12.0-1
> download:
> https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/0f4558599b9 ->
> sources/gnu-mirror-gcc-0f4558599b9.tar.gz
>
> RSB continued with the build set even though some steps failed because I
> used  --keep-going.
>
> https://www.sourceware.org/ml/binutils/2019-06/msg00008.html


I started a build sweep on Linux this morning which has finished. Looks
like it is OK on Linux which is not a huge surprise.

I've been following the CTF thread and it is ironic that it wouldn't build
on Solaris since the submission is from Oracle people.

--joel

>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190603/31ac6cf7/attachment.html>


More information about the devel mailing list