qoriq build of rtems-libbsd

Joel Sherrill joel at rtems.org
Wed Aug 17 21:01:17 UTC 2022


Sorry. Forgot to update my libbsd tree and got the wrong error. It is this:

/home/joel/rtems-work/tools/6/lib/gcc/powerpc-rtems6/12.1.1/../../../../powerpc-rtems6/bin/ld:
./libbsd.a(nfs_clbio.c.10.o): the target (_bsd_unmapped_buf) of a
R_PPC_SDAREL16 relocation is in the wrong output section (.data)
./libbsd.a(nfs_clbio.c.10.o): in function `ncl_putpages':
/home/joel/rtems-work/rtems-libbsd/build/powerpc-rtems6-qoriq_e6500_32-default/../../freebsd/sys/fs/nfsclient/nfs_clbio.c:349:(.text.ncl_putpages+0x22a):
relocation truncated to fit: R_PPC_SDAREL16 against symbol
`_bsd_unmapped_buf' defined in .data.read_mostly section in
./libbsd.a(vfs_bio.c.20.o)
collect2: error: ld returned 1 exit status

On Wed, Aug 17, 2022 at 3:44 PM Joel Sherrill <joel at rtems.org> wrote:

> Hi
>
> Not sure what's going on but 6-freebsd-12 does not build for qoriq_e6500_32
>
> In file included from parse.y:88:
> ../../freebsd/sbin/pfctl/pfctl_parser.h:181:27: error: expected ')' before
> numeric constant
>   181 | BITSET_DEFINE(qpri_bitset, QPRI_BITSET_SIZE);
>       |                           ^
>       |                           )
> ../../freebsd/sbin/pfctl/pfctl_parser.h:189:49: error: field 'qpris' has
> incomplete type
>   189 |                 struct qpri_bitset              qpris;
>       |                                                 ^~~~~
>
> Waf: Leaving directory
> `/home/joel/rtems-work/rtems-libbsd/build/powerpc-rtems6-qoriq_e6500_32-default'
> Build failed
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20220817/5f330b40/attachment.htm>


More information about the devel mailing list