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

Bug #2107222 reported by William Westfield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
newlib (Ubuntu)
New
Undecided
Unassigned

Bug Description

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)

Revision history for this message
William Westfield (westfw) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.