Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-08 Thread Niteesh G. S.
On Wed, Jul 8, 2020 at 2:48 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 08/07/2020 11:11, Niteesh G. S. wrote: > > > Could you please use the 5-freebsd-12 branch with the default > > build set. > > This is what I use normally. > > > > > > I was able to build li

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-08 Thread Sebastian Huber
On 08/07/2020 11:11, Niteesh G. S. wrote: Could you please use the 5-freebsd-12 branch with the default build set. This is what I use normally. I was able to build libbsd on 5-freebsd-12 branch with the default build set though using minimal build set doesn't work. I have attached

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-08 Thread Niteesh G. S.
On Wed, Jul 8, 2020 at 2:00 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > 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 >

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-08 Thread Sebastian Huber
On 08/07/2020 10:47, Christian Mauderer wrote: This didn't work for me. I got: [1391/1410] Linking build/arm/beagleboneblack/testsuites/samples/iostream.exe /opt/rtems/6/lib/gcc/arm-rtems6/10.0.1/../../../../arm-rtems6/bin/ld: ./librtemsbsp.a(bbb-i2c.c.1.o): in function `am335x_i2c_reset': /hom

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-08 Thread Christian Mauderer
On 08/07/2020 10:29, Sebastian Huber wrote: > 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 b

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-08 Thread Sebastian Huber
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

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-08 Thread Niteesh G. S.
On Wed, Jul 8, 2020 at 12:11 PM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > On 08/07/2020 08:35, Niteesh G. S. wrote: > > On Wed, Jul 8, 2020 at 11:52 AM Christian Mauderer > > > > wrote: > > > > On 08/07/2020 08:13, Sebas

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-07 Thread Christian Mauderer
On 08/07/2020 08:35, Niteesh G. S. wrote: > On Wed, Jul 8, 2020 at 11:52 AM Christian Mauderer > > wrote: > > On 08/07/2020 08:13, Sebastian Huber wrote: > > On 08/07/2020 08:10, Niteesh G. S. wrote: > > > >> On Tue, Jul 7, 2020 at 10:

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-07 Thread Niteesh G. S.
On Wed, Jul 8, 2020 at 11:52 AM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > On 08/07/2020 08:13, Sebastian Huber wrote: > > On 08/07/2020 08:10, Niteesh G. S. wrote: > > > >> On Tue, Jul 7, 2020 at 10:42 AM Sebastian Huber > >> >>

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-07 Thread Christian Mauderer
On 08/07/2020 08:13, Sebastian Huber wrote: > On 08/07/2020 08:10, Niteesh G. S. wrote: > >> On Tue, Jul 7, 2020 at 10:42 AM Sebastian Huber >> > > wrote: >> >>     Hello, >> >>     the problem is that the new build system doesn't export optimization >>  

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-07 Thread Sebastian Huber
On 08/07/2020 08:10, Niteesh G. S. wrote: On Tue, Jul 7, 2020 at 10:42 AM Sebastian Huber > wrote: Hello, the problem is that the new build system doesn't export optimization flags such as -Wl,--gc-sections. The libbsd build should enable

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-07 Thread Niteesh G. S.
Hello, On Tue, Jul 7, 2020 at 10:42 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > the problem is that the new build system doesn't export optimization > flags such as -Wl,--gc-sections. The libbsd build should enable this > linker option unconditionally. > Thank you

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-06 Thread Sebastian Huber
Hello, the problem is that the new build system doesn't export optimization flags such as -Wl,--gc-sections. The libbsd build should enable this linker option unconditionally. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-06 Thread Niteesh G. S.
Hello Christian, On Tue, Jul 7, 2020 at 1:45 AM Christian Mauderer wrote: > 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. > I was already aware of this. So while configuring rtems-l

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-06 Thread Christian Mauderer
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 b

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-07-06 Thread Niteesh G. S.
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 wrote: > Hello, > > On 29/06/2020 21:39, Niteesh G. S. wrote

Re: NEW BUILD SYSTEM: Cannot build rtems-libbsd

2020-06-29 Thread Christian Mauderer
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: e4c193ddc163d6adb1b003254af9cc6b