[Build Error] : powerpc/beatnik
Joel Sherrill
joel at rtems.org
Fri Mar 1 15:38:47 UTC 2019
On Fri, Mar 1, 2019 at 6:31 AM Vijay Kumar Banerjee <
vijaykumar9597 at gmail.com> wrote:
> Hi,
>
> I'm getting this build error in beatnik
>
> ===========
> /home/lunatic/development/rtems/5/lib/gcc/powerpc-rtems5/7.4.0/../../../../powerpc-rtems5/bin/ld:
> ../../cpukit/librtemscpu.a(rtl-mdreloc-powerpc.o): in function
> `get_sdata_libdl_size':
> /home/lunatic/development/rtems/kernel/beatnik/powerpc-rtems5/c/beatnik/cpukit/../../../../../rtems/c/src/../../cpukit/libdl/rtl-mdreloc-powerpc.c:73:
> undefined reference to `bsp_section_sdata_libdl_begin'
> /home/lunatic/development/rtems/5/lib/gcc/powerpc-rtems5/7.4.0/../../../../powerpc-rtems5/bin/ld:
> /home/lunatic/development/rtems/kernel/beatnik/powerpc-rtems5/c/beatnik/cpukit/../../../../../rtems/c/src/../../cpukit/libdl/rtl-mdreloc-powerpc.c:73:
> undefined reference to `bsp_section_sdata_libdl_begin'
> .
> .
> .
> /home/lunatic/development/rtems/5/lib/gcc/powerpc-rtems5/7.4.0/../../../../powerpc-rtems5/bin/ld:
> /home/lunatic/development/rtems/kernel/beatnik/powerpc-rtems5/c/beatnik/cpukit/../../../../../rtems/c/src/../../cpukit/libdl/rtl-mdreloc-powerpc.c:64:
> undefined reference to `bsp_section_sbss_end'
> collect2: error: ld returned 1 exit status
>
> ===========
>
> configure command
> =====
> ../rtems/configure --prefix=$HOME/development/rtems/5
> --enable-maintainer-mode --enable-tests --target=powerpc-rtems5
> --enable-rtemsbsp=beatnik --enable-posix
> =====
>
This is https://devel.rtems.org/ticket/3698 and Chris is working on it.
My understanding is that there is an inconsistency in the PowerPC linkcmds.
There are two shared templates which use different names for beginning and
end of some sections.
Perhaps Chris or Sebastian can describe a fix. Help would be appreciated. I
spoke
with Chris yesterday and he is working on a magical way to reduce the
object instance
count in tmtests and psxtmtests on a per BSP way via .tcfg files. He has to
fix that
before he can get to these failures.
--joel
>
> _______________________________________________
> 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/20190301/eb875745/attachment-0002.html>
More information about the devel
mailing list