https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100663
Bug ID: 100663
Summary: dietlibc build fail 'FP_NAN' was not declared in this
scope
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: unlvsur at live dot com
Target Milestone: ---
Created attachment 50841
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50841&action=edit
error message
There are other build issues.
1. __leaf variables are macros on dietlibc.
2. libstdc++ script mistreats dietlibc as glibc and uses glibc's locale setting
which needs to be fixed.