NEW BUILD SYSTEM: Cannot build rtems-libbsd

Christian Mauderer oss at c-mauderer.de
Mon Jul 6 20:15:15 UTC 2020


Hello Niteesh,

I think there are multiple problems:

1. libbsd isn't adapted yet. There is a "rtems_version" in the wscript
that you have to set to 6.

2. At least for me: There are some files not installed but should be
there. To be exact: `$PREFIX/share/rtems6`. The files in this folder
should be installed if INSTALL_LEGACY_MAKEFILES is set to True in the
config.ini that is used for the new build system. But at least for my
prefix something went wrong. I'll have to try to start with a clean
build again tomorrow to see whether I maybe broke something. My prefix
isn't in the best shape after trying multiple branches and installs.

Best regards

Christian

On 06/07/2020 20:09, Niteesh G. S. wrote:
> Hello all,
> 
> This thread has lost activity for quite some time.
> Can someone please provide a solution to this. This is blocking me from
> testing my patches with libbsd.
> 
> Thanks,
> Niteesh.
> 
> On Tue, Jun 30, 2020 at 1:12 AM Christian Mauderer <oss at c-mauderer.de
> <mailto:oss at c-mauderer.de>> wrote:
> 
>     Hello,
> 
>     On 29/06/2020 21:39, Niteesh G. S. wrote:
>     > Hello,
>     >
>     > I tried compiling RTEMS-libBSD with RTEMS6 toolchain and the new build
>     > system
>     > but failed. I get errors when compiling RTEMS-libBSD
>     >
>     > The new build system is pulled from Sebastian's branch
>     > HEAD: e4c193ddc163d6adb1b003254af9cc6b5d174a6f
>     >
>     > RTEMS was configured with the following options:
>     > 1) ./waf bsp_defaults --rtems-bsps=arm/beagleboneblack > config.ini
>     > 2) Enabled posix since libBSD complained about it during
>     configuration.
>     > 3) ./waf configure --prefix=$HOME/development/rtems/6
>     > 4) ./waf -j32
>     > 5) ./waf install
>     >
>     > RTEMS-libBSD was configured with the following options:
>     > 1) ./waf configure --prefix=$HOME/development/rtems/6
>     > --rtems-bsps=arm/beagleboneblack --buildset=buildset/minimal.ini
>     > --rtems-version=6
>     > 2) ./waf -j16
>     > I have attached the error log file. 
>     >
>     > Thanks,
>     > Niteesh
>     >
>     >
> 
>     I assume that for some reason the linker flags are not set correctly. It
>     seems that -ffunction-sections -fdata-sections isn't set. Sebastian: Is
>     there some adaption to libbsd necessary to work with the new build
>     system in RTEMS?
> 
>     Best regards
> 
>     Christian
> 
> 
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
> 


More information about the devel mailing list