gcc-avr Fehlermeldung wenn math.h inc.

#5160181
Lesenswert?

Hallo,

gcc version 7.2.0 (GCC)

ich habe die letzten zwei drei Wochen nicht an meinem Projekt 
weitergearbeitet. Dies wollte ich heute machen und bekomme folgende 
Fehlermeldung:
1
avr-gcc -Os -Wall -mmcu=atmega16m1 -DF_CPU=16000000UL -I../_gemeinsam -I../16_6 -I/usr/include -c ../_gemeinsam/25AA512.c -o obj/Release/_gemeinsam/25AA512.o
2
In file included from /usr/avr/include/util/delay.h:46:0,
3
                 from ../_gemeinsam/25AA512.h:7,
4
                 from ../_gemeinsam/25AA512.c:1:
5
/usr/include/bits/mathcalls-helper-functions.h:21:36: error: '_Float128' is not supported on this target
6
 __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value))
7
                                    ^
8
/usr/include/bits/mathcalls-helper-functions.h:25:33: error: '_Float128' is not supported on this target
9
 __MATHDECL_1 (int, __signbit,, (_Mdouble_ __value))
10
                                 ^
11
/usr/include/bits/mathcalls-helper-functions.h:30:31: error: '_Float128' is not supported on this target
12
 __MATHDECL_1 (int, __isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
13
                               ^
14
/usr/include/bits/mathcalls-helper-functions.h:33:32: error: '_Float128' is not supported on this target
15
 __MATHDECL_1 (int, __finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
16
                                ^
17
/usr/include/bits/mathcalls-helper-functions.h:36:31: error: '_Float128' is not supported on this target
18
 __MATHDECL_1 (int, __isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
19
                               ^
20
/usr/include/bits/mathcalls-helper-functions.h:39:33: error: '_Float128' is not supported on this target
21
 __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y));
22
                                 ^
23
/usr/include/bits/mathcalls-helper-functions.h:39:48: error: '_Float128' is not supported on this target
24
 __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y));
25
                                                ^
26
/usr/include/bits/mathcalls-helper-functions.h:42:37: error: '_Float128' is not supported on this target
27
 __MATHDECL_1 (int, __issignaling,, (_Mdouble_ __value))
28
                                     ^
29
Process terminated with status 1 (0 minute(s), 0 second(s))
30
8 error(s), 0 warning(s) (0 minute(s), 0 second(s))

Diese Fehler tritt auf, wenn irgendwo die <math.h> eingebunden wird. In 
diesem Fall weil in der delay.h die math.h eingebunden wird (Zeile 46)

Nun weiß ich aber leider nicht, wie ich den "Fehler" lösen kann. Es 
scheint bei einem der letzten Updates dazu gekommen zu sein. (Habe einen 
Projektstand von Mai 2017 compiliert und dort die gleiche Fehlermeldung)

Würde mich sehr über Hilfestellung freuen.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren