RTEMS Bootstrap fails

Kinsey Moore kinsey.moore at oarcorp.com
Sun Apr 25 17:40:57 UTC 2021


This error occurs because the AArch64 port does not yet support SMP. It’s on my list of things to do, but it’s likely a couple months before I start on that work.

Kinsey

From: devel <devel-bounces at rtems.org> On Behalf Of Richi Dubey
Sent: Sunday, April 25, 2021 01:05
To: Vijay Kumar Banerjee <vijay at rtems.org>
Cc: rtems-devel at rtems.org <devel at rtems.org>
Subject: Re: RTEMS Bootstrap fails

Hi,

The docs<https://docs.rtems.org/branches/master/user/bld/#migration-from-autoconf-automake> says RTEMS_SMP = True should work, but I get a warning:

rdubey at hpc1:~/quick-start/src/rtems$ echo "RTEMS_SMP = True">>config.ini
rdubey at hpc1:~/quick-start/src/rtems$ ./waf configure --prefix=/home/rdubey/quick-start/waf-path
Setting top to                           : /home/rdubey/quick-start/src/rtems
Setting out to                           : /home/rdubey/quick-start/src/rtems/build
Configure board support package (BSP)    : aarch64/xilinx_zynqmp_lp64
Checking for program 'aarch64-rtems6-gcc' : /home/rdubey/quick-start/rtems/6/bin/aarch64-rtems6-gcc
Checking for program 'aarch64-rtems6-g++' : /home/rdubey/quick-start/rtems/6/bin/aarch64-rtems6-g++
Checking for program 'aarch64-rtems6-ar'  : /home/rdubey/quick-start/rtems/6/bin/aarch64-rtems6-ar
Checking for program 'aarch64-rtems6-ld'  : /home/rdubey/quick-start/rtems/6/bin/aarch64-rtems6-ld
Checking for program 'ar'                 : /home/rdubey/quick-start/rtems/6/bin/aarch64-rtems6-ar
Checking for program 'g++, c++'           : /home/rdubey/quick-start/rtems/6/bin/aarch64-rtems6-g++
Checking for program 'ar'                 : /home/rdubey/quick-start/rtems/6/bin/aarch64-rtems6-ar
Checking for program 'gas, gcc'           : /home/rdubey/quick-start/rtems/6/bin/aarch64-rtems6-gcc
Checking for program 'ar'                 : /home/rdubey/quick-start/rtems/6/bin/aarch64-rtems6-ar
Checking for program 'gcc, cc'            : /home/rdubey/quick-start/rtems/6/bin/aarch64-rtems6-gcc
Checking for program 'ar'                 : /home/rdubey/quick-start/rtems/6/bin/aarch64-rtems6-ar
Checking for asm flags '-MMD'             : yes
Checking for c flags '-MMD'               : yes
Checking for cxx flags '-MMD'             : yes
Checking for program 'rtems-bin2c'        : /home/rdubey/quick-start/rtems/6/bin/rtems-bin2c
Checking for program 'gzip'               : /bin/gzip
Checking for program 'rtems-ld'           : /home/rdubey/quick-start/rtems/6/bin/rtems-ld
Checking for program 'rtems-syms'         : /home/rdubey/quick-start/rtems/6/bin/rtems-syms
Checking for program 'xz'                 : /usr/bin/xz
Unknown configuration option              : RTEMS_SMP
'configure' finished successfully (1.743s)

On Sun, Apr 25, 2021 at 10:40 AM Vijay Kumar Banerjee <vijay at rtems.org<mailto:vijay at rtems.org>> wrote:
On Sat, Apr 24, 2021 at 11:08 PM Richi Dubey <richidubey at gmail.com<mailto:richidubey at gmail.com>> wrote:
>
> It does. Thanks for your prompt response!
>
> Also, how do I enable SMP tests and rtems-debug?

I think the options are these:

RTEMS_SMP = True
RTEMS_DEBUG = True

Add it to the config.ini file and configure it again before building.


>
> On Fri, Apr 23, 2021 at 9:03 PM Vijay Kumar Banerjee <vijay at rtems.org<mailto:vijay at rtems.org>> wrote:
>>
>> Hi Richi,
>>
>>
>> On Fri, Apr 23, 2021 at 9:22 AM Richi Dubey <richidubey at gmail.com<mailto:richidubey at gmail.com>> wrote:
>> >
>> > Hi,
>> >
>> > I am building a new RTEMS from master source (to build the xilinx_zynqmp_lp64 bsp from the aarch64 arch), and these are the steps I followed:
>> >
>> > mkdir -p $HOME/quick-start/src
>> > cd $HOME/quick-start/src
>> > git clone https://github.com/RTEMS/rtems-source-builder.git rsb
>> > git clone https://github.com/RTEMS/rtems.git
>> > cd $HOME/quick-start/src/rsb/rtems
>> > ../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 6/rtems-aarch64
>> >  export PATH=$HOME/quick-start/rtems/6/bin:"$PATH"
>> > cd $HOME/quick-start/src/rtems
>> > ./rtems-bootstrap
>> >
>> > -And I get this error-:
>> > 118/119: autoreconf: c/src/make/configure.ac<http://configure.ac>
>> > 119/119: autoreconf: cpukit/configure.ac<http://configure.ac>
>> > automake: error: cannot open < libnetworking/headers.am<http://headers.am>: No such file or directory
>> > autoreconf: automake failed with exit status: 1
>> > error: error: autoreconf: autoreconf -i --no-recursive
>> > Bootstrap FAILED.
>> >
>>
>> Please try using waf.
>>
>> echo "[aarch64/xilinx_zynqmp_lp64]" > config.ini
>> echo "BUILD_TESTS=True" >> config.ini
>> ./waf configure
>> ./waf
>> ./waf install
>>
>> > Can someone please help me with this?
>>
>> I hope the above instructions will build it without issues.
>>
>> Best regards,
>> Vijay
>> > _______________________________________________
>> > devel mailing list
>> > devel at rtems.org<mailto: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/20210425/229bbbf6/attachment.html>


More information about the devel mailing list