Public bug reported:

Installing the cross compiler for ARM microcontrollers with the
"obvious" "sudo apt-get install gcc-arm-none-eabi" command pulls in
libnewlib-arm-none-eabi, but apparently the "nano" version is not
installed or not installed correctly, so that builds with "--
specs=nano.specs" appear to link with the non-nano version of newlib.
This is a significant problem when compiling for small ARM
microcontrollers, as the clib functions in the non-nano newlib are MUCH
larger.

(The same issue has been seen with newer gcc packages...)

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libnewlib-arm-none-eabi 3.3.0-1.3
ProcVersionSignature: Ubuntu 6.8.0-57.59~22.04.1-generic 6.8.12
Uname: Linux 6.8.0-57-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Fri Apr 11 13:32:35 2025
InstallationDate: Installed on 2025-04-10 (0 days ago)
InstallationMedia: Xubuntu 22.04.5 LTS "Jammy Jellyfish" - Release amd64 
(20240911)
PackageArchitecture: all
SourcePackage: newlib
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: newlib (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

** Attachment added: "C program and log"
   
https://bugs.launchpad.net/bugs/2107222/+attachment/5871196/+files/test_newlib.c

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2107222

Title:
  newlib nano not installed (or not installed correctly) for arm-none-
  eabi newlib

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/newlib/+bug/2107222/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to