<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 29, 2022, 2:35 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 17/08/2022 23:01, Joel Sherrill wrote:<br>
> Sorry. Forgot to update my libbsd tree and got the wrong error. It is this:<br>
> <br>
> /home/joel/rtems-work/tools/6/lib/gcc/powerpc-rtems6/12.1.1/../../../../powerpc-rtems6/bin/ld: <br>
> ./libbsd.a(nfs_clbio.c.10.o): the target (_bsd_unmapped_buf) of a <br>
> R_PPC_SDAREL16 relocation is in the wrong output section (.data)<br>
> ./libbsd.a(nfs_clbio.c.10.o): in function `ncl_putpages':<br>
> /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): <br>
> relocation truncated to fit: R_PPC_SDAREL16 against symbol <br>
> `_bsd_unmapped_buf' defined in .data.read_mostly section in <br>
> ./libbsd.a(vfs_bio.c.20.o)<br>
> collect2: error: ld returned 1 exit status<br>
<br>
I already fixed this in FreeBSD:<br>
<br>
<a href="https://github.com/freebsd/freebsd-src/commit/ede6c6c0434a266a1712ffe807f4e31e229948df" rel="noreferrer noreferrer" target="_blank">https://github.com/freebsd/freebsd-src/commit/ede6c6c0434a266a1712ffe807f4e31e229948df</a></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Is the fix in libbsd?</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
-- <br>
embedded brains GmbH<br>
Herr Sebastian HUBER<br>
Dornierstr. 4<br>
82178 Puchheim<br>
Germany<br>
email: <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank" rel="noreferrer">sebastian.huber@embedded-brains.de</a><br>
phone: +49-89-18 94 741 - 16<br>
fax: +49-89-18 94 741 - 08<br>
<br>
Registergericht: Amtsgericht München<br>
Registernummer: HRB 157899<br>
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
Unsere Datenschutzerklärung finden Sie hier:<br>
<a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
</blockquote></div></div></div>