std::locale [con/de]structor undefined
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- arduino, cpp
- Domain
- embedded-iot
Research direction
Reproduce the minimal Arduino sketch that includes and constructs std::locale, using the Functional example and the linker output as the starting points. Trace the Arduino SAM build and linking behavior for std::locale; done means the example no longer reports undefined constructor and destructor references, or the supported limitation is clearly established.
Written by the indexing model from the issue text.
Description
#include <locale>
void setup() {
std::locale L;
}
void loop() {
}
C:\Users\vhtmf\AppData\Local\Temp\arduino\sketches\52F23F0CFDD118EC78D3909BB8E326BF\sketch\Functional.ino.cpp.o: In function `setup':
C:\Users\vhtmf\Documents\Arduino\libraries\Cpp_Standard_Library\examples\Functional/Functional.ino:3: undefined reference to `std::locale::locale()'
C:\Users\vhtmf\Documents\Arduino\libraries\Cpp_Standard_Library\examples\Functional/Functional.ino:3: undefined reference to `std::locale::~locale()'
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
- Dominant language
- HTML
- Stars
- 91
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 arduino/ArduinoCore-sam
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
arduino/ArduinoCore-sam#129 ·
-
Type: Bug USB: CDC serial
Difficulty 4/5 3-5 days Newbie friendliness 52/100
arduino/ArduinoCore-sam#153 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
arduino/ArduinoCore-sam#151 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
arduino/ArduinoCore-sam#147 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
arduino/ArduinoCore-sam#146 ·
All issues in arduino/ArduinoCore-sam
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
ZigEmbeddedGroup/microzig#1086 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
zephyrproject-rtos/zephyr#121795 ·
Maintainers usually reply within 2 days
-
minstret adds an extra 0x4000 at every low-byte carry (regression from the XLEN parameter change)Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
chipsalliance/Cores-VeeR-EH2#56 · 2 comments ·
-
2P IPC yaw feedback is never updated (axisYawF_2P)Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NatLabRockies/ROSCO#510 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100