pico_setup.sh doesn't install all of the required components on an AARCH64 kernel/32-bit userland.
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- linux, shell
- Domain
- build-system, embedded-iot
Research direction
Open pico_setup.sh and inspect the package installation list, then compare it with the two missing packages identified in the issue: libnewlib-arm-none-eabi and libstdc++-arm-none-eabi-newlib. Done means the setup script installs both packages and the reported AARCH64-kernel, 32-bit-userland build no longer fails with the missing nosys.specs error.
Written by the indexing model from the issue text.
Description
Running pico_setup.sh on a RaspiOS system built as 32-bit userland but running with the 64-bit 5.10.10 kernel fails with
Scanning dependencies of target ELF2UF2Build
Scanning dependencies of target bs2_default
[ 0%] Creating directories for 'ELF2UF2Build'
[ 0%] Building ASM object pico_sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/boot2_w25q080.S.obj
[ 0%] Linking ASM executable bs2_default.elf
[ 0%] No download step for 'ELF2UF2Build'
arm-none-eabi-gcc: error: nosys.specs: No such file or directory
make[2]: *** [pico_sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/build.make:77: pico_sdk/src/rp2_common/boot_stage2/bs2_default.elf] Error 1
make[1]: *** [CMakeFiles/Makefile2:1016: pico_sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 0%] No update step for 'ELF2UF2Build'
[ 0%] No patch step for 'ELF2UF2Build'
[ 0%] Performing configure step for 'ELF2UF2Build'
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /shared/pico-setup/pico/pico-examples/build/elf2uf2
[ 0%] Performing build step for 'ELF2UF2Build'
Scanning dependencies of target elf2uf2
[ 50%] Building CXX object CMakeFiles/elf2uf2.dir/main.cpp.o
[100%] Linking CXX executable elf2uf2
[100%] Built target elf2uf2
[ 0%] No install step for 'ELF2UF2Build'
[ 0%] Completed 'ELF2UF2Build'
[ 0%] Built target ELF2UF2Build
make: *** [Makefile:84: all] Error 2
The solution is to install libnewlib-arm-none-eabi and libstdc++-arm-none-eabi-newlib.
pico-setup.sh needs to be updated to include those two pieces.
- Dominant language
- Shell
- Stars
- 128
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/pico-setup
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
raspberrypi/pico-setup#67 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
raspberrypi/pico-setup#13 · 7 comments · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
raspberrypi/pico-setup#12 · 8 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 20/100
raspberrypi/pico-setup#10 · 5 comments ·
All issues in raspberrypi/pico-setup
Similar issues
-
Update Vish to 1.1.5 Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 comment ·
-
help wanted new command
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE Openpackage request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pacstall/pacstall-programs#9402 ·
-
[BUG] ci: the first prefetch-images.sh call runs before shard.txt exists, so it is always a no-op Openbug github-actions
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
update-request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
msys2/MINGW-packages#31768 ·