标题: vasp编译错误identifier "__builtin_fabsf128" is undefined [打印本页] 作者Author: MayavV 时间: 2024-4-14 23:11 标题: vasp编译错误identifier "__builtin_fabsf128" is undefined 试着在办公室用manjaro编译了5.4.4和6.3.2都报错了,gcc版本太高的原因吗?
intel2022和2023 l_HPC和l_Base都试过了。。不太行
请问有人试过吗?
sudo make all ✔
if [ ! -d build/std ] ; then mkdir -p build/std ; fi
cp src/makefile src/.objects src/makedeps.awk makefile.include build/std
make -C build/std VERSION=std check
make[1]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std”
exit 0
make[1]: 离开目录“/home/lee/soft/vasp.6.3.2/build/std”
make -C build/std VERSION=std cleandependencies -j1
make[1]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std”
rm -f .depend
make[1]: 离开目录“/home/lee/soft/vasp.6.3.2/build/std”
make -C build/std VERSION=std all
make[1]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std”
rsync -ru ../../src/lib .
cp makefile.include lib
make -C lib -j1
make[2]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std/lib”
make libdmy.a
make[3]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std/lib”
make[3]: “libdmy.a”已是最新。
make[3]: 离开目录“/home/lee/soft/vasp.6.3.2/build/std/lib”
make[2]: 离开目录“/home/lee/soft/vasp.6.3.2/build/std/lib”
rsync -ru ../../src/parser .
cp makefile.include parser
make -C parser -j1
make[2]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std/parser”
make libparser.a
make[3]: 进入目录“/home/lee/soft/vasp.6.3.2/build/std/parser”
icpc -D YY_parse_DEBUG=1 -c sites.cpp -o sites.o
In file included from /usr/include/c++/13.2.1/bits/stl_pair.h(60),
from /usr/include/c++/13.2.1/bits/stl_algobase.h(64),
from /usr/include/c++/13.2.1/vector(62),
from sites.hpp(4),
from sites.cpp(1):
/usr/include/c++/13.2.1/type_traits(3363): error: type name is not allowed
inline constexpr bool is_convertible_v = __is_convertible(_From, _To);
^
In file included from /usr/include/c++/13.2.1/bits/stl_pair.h(60),
from /usr/include/c++/13.2.1/bits/stl_algobase.h(64),
from /usr/include/c++/13.2.1/vector(62),
from sites.hpp(4),
from sites.cpp(1):
/usr/include/c++/13.2.1/type_traits(3363): error: type name is not allowed
inline constexpr bool is_convertible_v = __is_convertible(_From, _To);
^
In file included from /usr/include/c++/13.2.1/bits/stl_pair.h(60),
from /usr/include/c++/13.2.1/bits/stl_algobase.h(64),
from /usr/include/c++/13.2.1/vector(62),
from sites.hpp(4),
from sites.cpp(1):
/usr/include/c++/13.2.1/type_traits(3363): error: identifier "__is_convertible" is undefined
inline constexpr bool is_convertible_v = __is_convertible(_From, _To);
^
In file included from /usr/include/c++/13.2.1/cwchar(44),
from /usr/include/c++/13.2.1/bits/postypes.h(40),
from /usr/include/c++/13.2.1/iosfwd(42),
from /usr/include/c++/13.2.1/ios(40),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/wchar.h(422): error: identifier "_Float32" is undefined
extern _Float32 wcstof32 (const wchar_t *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cwchar(44),
from /usr/include/c++/13.2.1/bits/postypes.h(40),
from /usr/include/c++/13.2.1/iosfwd(42),
from /usr/include/c++/13.2.1/ios(40),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/wchar.h(427): error: identifier "_Float64" is undefined
extern _Float64 wcstof64 (const wchar_t *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cwchar(44),
from /usr/include/c++/13.2.1/bits/postypes.h(40),
from /usr/include/c++/13.2.1/iosfwd(42),
from /usr/include/c++/13.2.1/ios(40),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/wchar.h(432): error: identifier "_Float128" is undefined
extern _Float128 wcstof128 (const wchar_t *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cwchar(44),
from /usr/include/c++/13.2.1/bits/postypes.h(40),
from /usr/include/c++/13.2.1/iosfwd(42),
from /usr/include/c++/13.2.1/ios(40),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/wchar.h(437): error: identifier "_Float32x" is undefined
extern _Float32x wcstof32x (const wchar_t *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cwchar(44),
from /usr/include/c++/13.2.1/bits/postypes.h(40),
from /usr/include/c++/13.2.1/iosfwd(42),
from /usr/include/c++/13.2.1/ios(40),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/wchar.h(442): error: identifier "_Float64x" is undefined
extern _Float64x wcstof64x (const wchar_t *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cwchar(44),
from /usr/include/c++/13.2.1/bits/postypes.h(40),
from /usr/include/c++/13.2.1/iosfwd(42),
from /usr/include/c++/13.2.1/ios(40),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/wchar.h(649): error: identifier "_Float32" is undefined
extern _Float32 wcstof32_l (const wchar_t *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cwchar(44),
from /usr/include/c++/13.2.1/bits/postypes.h(40),
from /usr/include/c++/13.2.1/iosfwd(42),
from /usr/include/c++/13.2.1/ios(40),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/wchar.h(655): error: identifier "_Float64" is undefined
extern _Float64 wcstof64_l (const wchar_t *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cwchar(44),
from /usr/include/c++/13.2.1/bits/postypes.h(40),
from /usr/include/c++/13.2.1/iosfwd(42),
from /usr/include/c++/13.2.1/ios(40),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/wchar.h(661): error: identifier "_Float128" is undefined
extern _Float128 wcstof128_l (const wchar_t *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cwchar(44),
from /usr/include/c++/13.2.1/bits/postypes.h(40),
from /usr/include/c++/13.2.1/iosfwd(42),
from /usr/include/c++/13.2.1/ios(40),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/wchar.h(667): error: identifier "_Float32x" is undefined
extern _Float32x wcstof32x_l (const wchar_t *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cwchar(44),
from /usr/include/c++/13.2.1/bits/postypes.h(40),
from /usr/include/c++/13.2.1/iosfwd(42),
from /usr/include/c++/13.2.1/ios(40),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/wchar.h(673): error: identifier "_Float64x" is undefined
extern _Float64x wcstof64x_l (const wchar_t *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(141): error: identifier "_Float32" is undefined
extern _Float32 strtof32 (const char *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(147): error: identifier "_Float64" is undefined
extern _Float64 strtof64 (const char *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(153): error: identifier "_Float128" is undefined
extern _Float128 strtof128 (const char *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(159): error: identifier "_Float32x" is undefined
extern _Float32x strtof32x (const char *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(165): error: identifier "_Float64x" is undefined
extern _Float64x strtof64x (const char *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(299): error: identifier "_Float32" is undefined
_Float32 __f)
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(305): error: identifier "_Float64" is undefined
_Float64 __f)
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(311): error: identifier "_Float128" is undefined
_Float128 __f)
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(317): error: identifier "_Float32x" is undefined
_Float32x __f)
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(323): error: identifier "_Float64x" is undefined
_Float64x __f)
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(436): error: identifier "_Float32" is undefined
extern _Float32 strtof32_l (const char *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(443): error: identifier "_Float64" is undefined
extern _Float64 strtof64_l (const char *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(450): error: identifier "_Float128" is undefined
extern _Float128 strtof128_l (const char *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(457): error: identifier "_Float32x" is undefined
extern _Float32x strtof32x_l (const char *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cstdlib(79),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/stdlib.h(464): error: identifier "_Float64x" is undefined
extern _Float64x strtof64x_l (const char *__restrict __nptr,
^
In file included from /usr/include/c++/13.2.1/cstdlib(81),
from /usr/include/c++/13.2.1/ext/string_conversions.h(43),
from /usr/include/c++/13.2.1/bits/basic_string.h(4097),
from /usr/include/c++/13.2.1/string(54),
from /usr/include/c++/13.2.1/bits/locale_classes.h(40),
from /usr/include/c++/13.2.1/bits/ios_base.h(41),
from /usr/include/c++/13.2.1/ios(44),
from /usr/include/c++/13.2.1/ostream(40),
from /usr/include/c++/13.2.1/iostream(41),
from sites.cpp(2):
/usr/include/c++/13.2.1/bits/std_abs.h(142): error: identifier "__builtin_fabsf128" is undefined
return __builtin_fabsf128(__x);
^