sis broken on freebsd 12

Chris Johns chrisj at rtems.org
Mon Apr 6 02:35:08 UTC 2020


On 2020-04-06 10:38, Joel Sherrill wrote:
> On Sun, Apr 5, 2020 at 7:25 PM Chris Johns <chrisj at rtems.org 
> <mailto:chrisj at rtems.org>> wrote:
> 
>     On 2020-04-06 10:20, Joel Sherrill wrote:
>      > Hi
>      >
>      > sis fails to build on FreeBSD 12. I. The full log is at
>      >
>     https://lists.rtems.org/pipermail/build/2020-April/012855.html and it
>      > fails for sparc and riscv.
>      >
>      > checking for gcc... gcc
>      > checking whether the C compiler works... no
>      > configure: error: in
>     `/usr/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/sis-2.21-x86_64-freebsd12.1-1/sis-2.21':
>      > configure: error: C compiler cannot create executables
>      > See `config.log' for more details
>      > shell cmd failed: /bin/sh -ex 
>     /usr/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/sis-2.21-x86_64-freebsd12.1-1/do-build
>      > error: building sis-2.21-x86_64-freebsd12.1-1
>      >    See error report: rsb-report-sis-2.21-x86_64-freebsd12.1-1.txt
>      >
>      >
>      > I will try to investigate over the next few days. But I would
>     appreciate it Jiri could take a swing at it. It is really all I can
>     do to review the build logs from 100+ hours of test time across
>     three computers.
> 
>     I am confused, it builds for me ...
> 
>     ruru bare $ ../source-builder/sb-set-builder --no-install --log=sis.txt
>     devel/sis
>     RTEMS Source Builder - Set Builder, 5 (96cdedce58e3)
>     Build Set: devel/sis
>     config: devel/sis-2-1.cfg
>     package: sis-2.21-x86_64-freebsd12.1-1
>     download: https://git.rtems.org/sis/snapshot/sis-2.21.tar.bz2 ->
>     sources/sis-2.21.tar.bz2
>     downloading: sources/sis-2.21.tar.bz2 - 289.3kB
>     building: sis-2.21-x86_64-freebsd12.1-1
>     sizes: sis-2.21-x86_64-freebsd12.1-1: 2.144MB (installed: 226.492KB)
>     cleaning: sis-2.21-x86_64-freebsd12.1-1
>     reporting: devel/sis-2-1.cfg -> sis-2.21-x86_64-freebsd12.1-1.txt
>     reporting: devel/sis-2-1.cfg -> sis-2.21-x86_64-freebsd12.1-1.xml
>     cleaning: sis-2.21-x86_64-freebsd12.1-1
>     Build Set: Time 0:00:04.409849
>     ruru bare $ uname -a
>     FreeBSD ruru 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64
> 
> 
>  From config.log:
> 
> configure:3033: checking whether the C compiler works
> configure:3055: gcc -O2 -pipe -fbracket-depth=1024 
> -I/usr/home/joel/rtems-cron-5
> /rtems-source-builder/rtems/build/tmp/sb-1002/5/rtems-sparc/home/joel/rtems-cron
> -5/tools/5/include    conftest.c  >&5
> gcc: error: unrecognized command line option '-fbracket-depth=1024'
> configure:3059: $? = 1 >
> $ gcc --version
> gcc (FreeBSD Ports Collection) 9.2.0
> Copyright (C) 2019 Free Software Foundation, Inc.

The OS compiler is llvm so something is picking up gcc. The OS compiler 
is preferred over a port. What is your path?

Chris


More information about the devel mailing list