picolibc (1.5.1-2) unstable; urgency=medium * Mark tests with 'Restrictions: skip-not-installable' to skip autopkg test on armhf. Closes: #980086. -- Keith Packard Tue, 26 Jan 2021 17:36:43 -0800 picolibc (1.5.1-1) unstable; urgency=medium * New upstream release * Fix riscv autopkgtest failure -- Keith Packard Thu, 14 Jan 2021 10:17:21 -0800 picolibc (1.5-1) unstable; urgency=medium * New upstream release * Make picolibc more compatible with C++ compilers. * Add GCC specs file and linker script for building C++ applications with G++ that enable exception handling by linking in call stack information. * A few clang build fixes, including libm exception generation * Nano malloc fixes, especially for 'unusual' arguments * Merge in newlib 4.1.0 code * More libm exception/errno/infinity fixes, mostly in the gamma funcs. * Add tests for all semihost v2.0 functions. * A few RISC-V assembly fixes and new libm code. * Build fixes to reliably replace generic code with architecture-specific implementations. -- Keith Packard Thu, 07 Jan 2021 13:06:25 -0800 picolibc (1.4.7-2) unstable; urgency=medium * Source upload. Closes: #978412. -- Keith Packard Sun, 27 Dec 2020 12:42:53 -0800 picolibc (1.4.7-1) unstable; urgency=medium * New upstream version * Fix numerous libm exception and errno bugs. The math functions are all now verified to match the C19 and Posix standards in this area. * Change behavior of 'gamma' function to match glibc which returns lgamma for this function. Applications should not use this function, they should pick either lgamma or tgamma as appropriate. * Fix fma/fmaf on arm and RISC-V so that the machine-specific versions are used when the hardware has support. Also fix the math library to only use fma/fmaf when it is supported by the hardware. * Fix numerous nano-malloc bugs, especially with unusual parameters. * Change nano-malloc to always clear returned memory. * Improve nano-realloc to perform better in various ways, including merging adjacent free blocks and expanding the heap. * Add malloc tests, both a basic functional test and a stress test. * Improve build portability to Windows. Picolibc should now build using mingw. * Use hardware TLS register on ARM when available. * Support clang compiler. Thanks to Denis Feklushkin and Joakim NohlgÄrd . * Avoid implicit float/double conversions. Check this by having clang builds use -Wdouble-promotion -Werror=double-promotion flags * Have portable code check for machine-specific overrides by matching filenames. This avoids building libraries with duplicate symbols and retains compatibility with newlib (which uses a different mechanism for this effect). * Patches to support building with CompCert (http://compcert.inria.fr/), a formally verified compiler. Thanks to Sebastian Meyer . -- Keith Packard Sun, 25 Oct 2020 15:20:43 -0700 picolibc (1.4.6-2) unstable; urgency=medium * Add aarch64-linux-gnu target -- Keith Packard Mon, 03 Aug 2020 14:03:51 -0700 picolibc (1.4.6-1) unstable; urgency=medium * New upstream version * Install 'ssp' (stack smashing protection) header files. This fixes compiling with -D_FORTIFY_SOURCE. * Make getc/ungetc re-entrant. This feature, which is enabled by default, uses atomic instruction sequences that do not require OS support. * Numerous iconv fixes, including enabling testing and switching external CCS file loading to use stdio. By default, iconv provides built-in CCS data for all of the supported encodings, which takes a fairly large amount of read-only memory. Iconv is now always included in picolibc as it isn't included in applications unless explicitly referenced by them. * Add __getauxval stub implementation to make picolibc work with GCC version 10 compiled for aarch64-linux-gnu. * Change how integer- and float- only versions of printf and scanf are selected. Instead of re-defining the symbols using the C preprocessor, picolibc now re-defines the symbols at link time. This avoids having applications compiled with a mixture of modes link in multiple versions of the underlying functions, while still preserving the smallest possible integer-only implementation. * Document how to use picolibc on a native POSIX system for testing. Check out the [os.md](doc/os.md) file for details. * Merge current newlib bits in. This includes better fenv support, for which tests are now included in the picolibc test suite. -- Keith Packard Mon, 03 Aug 2020 11:47:08 -0700 picolibc (1.4.5-1) unstable; urgency=medium * Fix section order in picolibc.ld to give applications correct control over the layout of .preserve, .init and .fini regions. * Add startup and TLS support for aarch64 and non Cortex-M 32-bit arm. -- Keith Packard Sun, 28 Jun 2020 15:34:19 -0700 picolibc (1.4.4-1) unstable; urgency=medium * New upstream 1.4.4 * Fix printf 'g' output when using 'ryu' conversion code * Add fenv for ARM from newlib -- Keith Packard Wed, 10 Jun 2020 16:06:11 -0700 picolibc (1.4.3-1) unstable; urgency=medium * New upstream version 1.4.3 * Make fix for CVE 2019-14871 - CVE 2019-14878 in original newlib stdio code not call 'abort'. Allocation failures are now reported back to the application. * Add 'exact' floating point print/scan code to tinystdio. Thanks to Sreepathi Pai for pointing me at the Ryu code by Ulf Adams. * Add regular expression functions from newlib. These were removed by accident while removing POSIX filesystem-specific code. * Make tinystdio versions of [efg]cvt functions. This means that the default tinystdio version of picolibc no longer calls malloc from these functions. * More clang-compatibility fixes. (Thanks to Denis Feklushkin) * Remove stdatomic.h and tgmath.h. (they should not be provide by picolibc) -- Keith Packard Tue, 09 Jun 2020 12:45:58 -0700 picolibc (1.4.2-3) unstable; urgency=medium * Move lx106 bits back to original location -- Keith Packard Wed, 03 Jun 2020 12:05:15 -0700 picolibc (1.4.2-2) unstable; urgency=medium * Remove aarch64 support to avoid hitting NEW queue -- Keith Packard Thu, 21 May 2020 11:20:07 -0700 picolibc (1.4.2-1) unstable; urgency=medium * Clang source compatibility. Clang should now be able to compile the library. * Testing on github on push and pull-request. For now, this is limited to building the library due to a bug in qemu. * Get newlib stdio working again. You can now usefully use newlib's stdio. This requires a working malloc and is substantially larger than tinystdio, but has more accurate floating point input. This requires POSIX functions including read, write and a few others. * Fix long double strtold. The working version is only available when using tinystdio; if using newlib stdio, strtold is simply not available. * Improve tinystdio support for C99 printf/scanf additions. * Check for correct prefix when sysroot-install option is selected. The value of this option depends on how gcc was configured, and (alas) meson won't let us set it at runtime, so instead we complain if the wrong value was given and display the correct value. * Sync up with current newlib master * Add aarch64-linux-gnu support -- Keith Packard Thu, 21 May 2020 08:51:37 -0700 picolibc (1.4.1-2) unstable; urgency=medium * Build with newer GCC versions -- Keith Packard Sat, 18 Apr 2020 14:56:40 -0700 picolibc (1.4.1-1) unstable; urgency=medium * ARM TLS corruption fix * Compilation compatibility fixes * Add -msave-restore to RISC-V version -- Keith Packard Mon, 09 Mar 2020 12:02:54 -0700 picolibc (1.4-1) unstable; urgency=medium * Merge upstream license changes from BSD 4-clause to BSD 3-clause * Add copyright information where missing * Create debian/copyright file automatically by perusing source files -- Keith Packard Tue, 04 Feb 2020 23:07:07 -0800 picolibc (1.3-1) unstable; urgency=medium * New upstream release (1.3) * Add testing * Add lx106 binary package for xtensa-lx106-elf * Fix some RISC-V ABI issues -- Keith Packard Tue, 31 Dec 2019 23:44:40 -0800 picolibc (1.2.1-1) unstable; urgency=medium * New upstream release (1.2.1) * Switch back to __OBSOLETE_MATH for machines without hw double * Include realloc and mallinfo in the library * Use SYS_EXIT on semihost implementations without SYS_EXIT_EXTENDED -- Keith Packard Mon, 02 Dec 2019 20:55:24 -0800 picolibc (1.2-1) unstable; urgency=medium * New upstream release (1.2) * Add fopen/fdopen and clock semihost support * Fix picolibc.ld to actually use user-defined memory areas -- Keith Packard Thu, 28 Nov 2019 10:46:30 -0800 picolibc (1.1.1-1) unstable; urgency=medium * New upstream release (1.1.1) * Compute TLS support in GCC automatically which disables this on ARM * Change how picolibc.specs gets installed * Update cross-compile meson files to match upstream -- Keith Packard Wed, 20 Nov 2019 00:15:51 -0800 picolibc (1.1-2) unstable; urgency=medium * Make install depend on compilers so .specs files work afterwards -- Keith Packard Fri, 15 Nov 2019 17:00:46 -0800 picolibc (1.1-1) unstable; urgency=medium * Upstream release 1.1 * semihost support * Posix I/O support on Posix systems * Merged newlib code * Hello world example -- Keith Packard Thu, 14 Nov 2019 17:01:13 -0800 picolibc (1.0-1) unstable; urgency=medium * Version 1.0 * Rename from newlib-nano * Switch to TLS * Add picolib to provide tls helper and sbrk implementation * Provide linker script sample * Adjust debhelper dependency to >= 12 * Add riscv target * Incorporate printf fixes from NuttX -- Keith Packard Sun, 22 Sep 2019 19:21:20 -0700