qoriq build of rtems-libbsd
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Aug 29 12:02:40 UTC 2022
On 29/08/2022 13:55, Joel Sherrill wrote:
>
>
> On Mon, Aug 29, 2022, 2:35 AM Sebastian Huber
> <sebastian.huber at embedded-brains.de
> <mailto:sebastian.huber at embedded-brains.de>> wrote:
>
> On 17/08/2022 23:01, Joel Sherrill wrote:
> > 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
>
> I already fixed this in FreeBSD:
>
> https://github.com/freebsd/freebsd-src/commit/ede6c6c0434a266a1712ffe807f4e31e229948df
> <https://github.com/freebsd/freebsd-src/commit/ede6c6c0434a266a1712ffe807f4e31e229948df>
>
>
> Is the fix in libbsd?
No, not yet. My TODO list is a bit long currently.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list