Re: __ieee754_lgamma_r reentrency with nano.specs

"Keith Packard" <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Damien Nicolet <[email protected]> writes:

> I tried libnewlib-nano-arm-none-eabi debian package. The version of
> picolibc in it is a little bit old and missing some functionalities (sbrk
> and _ios) that were added in the current git version. The git version is
> very easy to use (thanks to picolibc.specs), but I have some trouble cross
> compiling a dependency with it for now.

I hope that picolibc will escape the Debian new queue before too long;
there are a number of packages which want to depend on it that are
blocked by this delay.

I'm hoping to finish up a new release of picolibc in the near term; I'm
busy getting the copyright and license bits sorted out --
COPYING.NEWLIB, which is the basis of the Debian package copyright
information, is somewhat inaccurate and needs to be corrected so that
picolibc has accurate licensing information included.

> I think I'm doing it correctly. Maybe I am missing something, but I don't
> see any specific version of libm using the small struct _reent for signgam
> in __ieee754_lgamma_r when used with nano.specs. I will try to put together
> a small example of the problem.

I think you've hit on the problem -- nano.specs replaces only libc,
libg, librdimon, libstd++ and libsupc++ with nano versions.

To resolve this, you will need to build newlib yourself so that you get
libc and libm that match.

-- 
-keith
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAl4v0NQACgkQ2yIaaQAA
ABHuxhAArzVjbZUquS6nqa0/lSpH9GqxicWwVEdup0soJ69ZGI9+1dprYpWWFiqj
6dpViSWs/RxJGQ6D2XXsizjxGClnUnNWZfOHAS/ecz1do+ifOXgmYLwBx5QvwXsU
jb8Zb/WBLQHV+19HawwiqROmt/0Hvx9zoR/kfeWfRzHP+QdM2QkHcM9UtsV4i4YY
YyXWyT4Pk4FGUHdiE7aBbt2Kjk3U90DVRu1EJgh/tgV1CMC3WFKGASDnWuTmcuCy
9oUJS8v3NtbY9/UkIJ8epUkvpwn4JNDDM9E0cjSRBSQaS76R09QDR0v7yRAM1z/C
h+ibYkRYSzFVrIuATF04EJWXfZQiD8fBdFtSzTbyt8bx3DHHyduqV9H+H7By0m/U
0+ACPZMFXh1W8Hw50Sha0Oa1YXCWxIkFXHAOMvni3rOlQ566+zWzvbdKC5IQCtZG
vlP0hKpbsFmag1PxqP7LTzsewc5A3L5vN8bFX7dXZkMgzLSZ+QcM9TSOHeRUBBPw
D8DHmki0q8NTMvQroImzjP4VsomO/O5W5OZllFxzdbQd105+JU03f6qO/Xzb2ZwR
QqKqydMgTW63gNebm7mXxOQbFlEQO06KIMaoJclrLHyG4IfmZQdZnXNuAZKHk6Pu
E7c22vAYHSm2sGg43JTnAirIW/d2FRJD12Vx+LYgZOv4TQFgzCc=
=6uLs
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.