Package Details: arm-none-eabi-picolibc 1.8.11-1

Git Clone URL: https://aur.archlinux.org/arm-none-eabi-picolibc.git (read-only, click to copy)
Package Base: arm-none-eabi-picolibc
Description: Fork of newlib with stdio bits from avrlibc
Upstream URL: https://github.com/picolibc/picolibc
Licenses: BSD
Submitter: dl3yc
Maintainer: swiftgeek
Last Packager: swiftgeek
Votes: 4
Popularity: 1.24
First Submitted: 2022-11-30 01:45 (UTC)
Last Updated: 2026-06-14 08:48 (UTC)

Required by (0)

Sources (1)

Latest Comments

hrm commented on 2026-07-11 18:05 (UTC) (edited on 2026-07-11 18:08 (UTC) by hrm)

Hi! I installed the library today to use it as replacement for newlib-nano in blackmagic - https://codeberg.org/blackmagic-debug/blackmagic/pulls/2291

I was expecting the resulting binary to be smaller but it ended up larger. Then I saw that the build config seems different from what I get when I download it from here - https://github.com/picolibc/picolibc/releases/tag/1.8.11

I suggest to change the config to be like this:


diff --git a/PKGBUILD b/PKGBUILD
index 8e079f5..bd1b7e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ build() {
     --cross-file "picolibc-$pkgver/scripts/cross-${_target}.txt" \
     -Dspecsdir="/usr/$_target/lib" \
     -Dsystem-libc=false \
-    --buildtype=plain \
+    --buildtype=minsize \
     "picolibc-$pkgver" build

   meson compile -C build

Or maybe add arm-none-eabi-picolibc-minsize where this config is changed. The difference can be pretty huge (more than 2KiB)

SummerBreeze630 commented on 2026-05-17 05:10 (UTC)

Update to v1.8.11

From fba6d6f429b7cf46ec3fe8e29325ddc25936372a Mon Sep 17 00:00:00 2001
From: SummerBreeze630 <2538999495@qq.com>
Date: Sun, 17 May 2026 13:08:42 +0800
Subject: [PATCH] Update to v1.8.11

---
 .SRCINFO | 9 +++------
 PKGBUILD | 6 +++---
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 6f06238..abed317 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Tue Oct 29 01:55:03 UTC 2024
 pkgbase = arm-none-eabi-picolibc
    pkgdesc = Fork of newlib with stdio bits from avrlibc
-   pkgver = 1.8.8
+   pkgver = 1.8.11
    pkgrel = 1
    url = https://github.com/picolibc/picolibc
    arch = i686
@@ -12,8 +10,7 @@ pkgbase = arm-none-eabi-picolibc
    makedepends = meson
    options = !strip
    options = !buildflags
-   source = picolibc-1.8.8.tar.gz::https://github.com/picolibc/picolibc/archive/1.8.8.tar.gz
-   sha256sums = b7acd0094b3c2c265e0f41bfa9d29ab85a47e1a02d65cf4929b1886158e8c261
+   source = picolibc-1.8.11.tar.gz::https://github.com/picolibc/picolibc/archive/1.8.11.tar.gz
+   sha256sums = 28e60a2d218da70c71278708887adc5ecb0843ed31579dcb691e82d7567c203f

 pkgname = arm-none-eabi-picolibc
-
diff --git a/PKGBUILD b/PKGBUILD
index 4b32876..8e079f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 _target=arm-none-eabi
 pkgname=$_target-picolibc
-pkgver=1.8.8
+pkgver=1.8.11
 pkgrel=1
 pkgdesc='Fork of newlib with stdio bits from avrlibc'
 arch=('i686' 'x86_64')
@@ -8,7 +8,7 @@ url='https://github.com/picolibc/picolibc'
 license=('BSD')
 makedepends=("$_target-gcc" 'meson')
 source=("picolibc-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha256sums=('b7acd0094b3c2c265e0f41bfa9d29ab85a47e1a02d65cf4929b1886158e8c261')
+sha256sums=('28e60a2d218da70c71278708887adc5ecb0843ed31579dcb691e82d7567c203f')
 options=(!strip !buildflags)

 build() {
@@ -25,7 +25,7 @@ build() {

 package() {
   DESTDIR="$pkgdir" meson install -C build
-  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" "$srcdir/picolibc-$pkgver/COPYING."{GPL2,NEWLIB,picolibc}
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" "$srcdir/picolibc-$pkgver/COPYING.picolibc"
 }

 # vim: set ts=2 sw=2 et:
-- 
2.54.0


swiftgeek commented on 2024-08-17 09:38 (UTC) (edited on 2024-08-17 09:42 (UTC) by swiftgeek)

From 1ff918a2514b9a4a828388ff36e4008808b754ee Mon Sep 17 00:00:00 2001
From: Sebastian 'swiftgeek' Grzywna <swiftgeek@gmail.com>
Date: Sat, 17 Aug 2024 11:36:06 +0200
Subject: [PATCH] Bump to 1.8.6 and remove conflict with newlib

---
 .SRCINFO | 10 ++++++----
 PKGBUILD | 11 ++++++-----
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 19fefc6..353cc57 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Sat Aug 17 09:35:44 UTC 2024
 pkgbase = arm-none-eabi-picolibc
    pkgdesc = Fork of newlib with stdio bits from avrlibc
-   pkgver = 1.7.9
+   pkgver = 1.8.6
    pkgrel = 1
    url = https://github.com/picolibc/picolibc
    arch = i686
@@ -8,10 +10,10 @@ pkgbase = arm-none-eabi-picolibc
    license = BSD
    makedepends = arm-none-eabi-gcc
    makedepends = meson
-   conflicts = arm-none-eabi-newlib
    options = !strip
    options = !buildflags
-   source = picolibc-1.7.9.tar.gz::https://github.com/picolibc/picolibc/archive/1.7.9.tar.gz
-   sha256sums = ad08e5b849a7c64338896f99177a0215cd47a805efcdf625eb4c9bc1b39bd1d3
+   source = picolibc-1.8.6.tar.gz::https://github.com/picolibc/picolibc/archive/1.8.6.tar.gz
+   sha256sums = 42696b358c249cfd6e13db672438d6549873ad26816823236e7c9447dbd01db0

 pkgname = arm-none-eabi-picolibc
+
diff --git a/PKGBUILD b/PKGBUILD
index 241b805..57496bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,23 +2,24 @@

 _target=arm-none-eabi
 pkgname=$_target-picolibc
-pkgver=1.7.9
+pkgver=1.8.6
 pkgrel=1
 pkgdesc='Fork of newlib with stdio bits from avrlibc'
-conflicts=("$_target-newlib")
 arch=('i686' 'x86_64')
 url='https://github.com/picolibc/picolibc'
 license=('BSD')
 makedepends=("$_target-gcc" 'meson')
 source=("picolibc-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha256sums=('ad08e5b849a7c64338896f99177a0215cd47a805efcdf625eb4c9bc1b39bd1d3')
+sha256sums=('42696b358c249cfd6e13db672438d6549873ad26816823236e7c9447dbd01db0')
 options=(!strip !buildflags)

 build() {
   meson \
-    --prefix="/usr/$_target" \
-    --buildtype=plain \
+    --prefix="/usr/$_target"/picolibc \
     --cross-file "picolibc-$pkgver/scripts/cross-${_target}.txt" \
+    -Dspecsdir="/usr/$_target/lib" \
+    -Dsystem-libc=false \
+    --buildtype=plain \
     "picolibc-$pkgver" build

   meson compile -C build
-- 
2.45.2