New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build fails with glibc-2.31 [CORE6245] #6489
Comments
Commented by: Treeve Jelbert (tjbug) compile log |
Modified by: Treeve Jelbert (tjbug)Attachment: firebird3-git.bz2 [ 13422 ] Attachment: time.h [ 13423 ] |
Modified by: Sean Leyne (seanleyne)description: [51/551] Building CXX object src/CMakeFiles/common.dir/common/classes/NoThrowTimeStamp.cpp.o => [51/551] Building CXX object src/CMakeFiles/common.dir/common/classes/NoThrowTimeStamp.cpp.o environment: linux-5.5.2 => linux-5.5.2, glibc-2.31, gcc-9.2.0 |
Modified by: @AlexPeshkoffassignee: Alexander Peshkov [ alexpeshkoff ] |
Commented by: @AlexPeshkoff That's definitely an issue with cmake build. cmake is not our 'official' build, please use http://autogen.sh instead. |
Commented by: @AlexPeshkoff Egor, I've checked with glibc-2.31, autoconf build works fine, please fix cmake issues. |
Modified by: @AlexPeshkoffassignee: Alexander Peshkov [ alexpeshkoff ] => Egor Pugin [ egorpugin ] |
Submitted by: Treeve Jelbert (tjbug)
Assigned to: @egorpugin
Attachments:
firebird3-git.bz2
time.h
[51/551] Building CXX object src/CMakeFiles/common.dir/common/classes/NoThrowTimeStamp.cpp.o
FAILED: src/CMakeFiles/common.dir/common/classes/NoThrowTimeStamp.cpp.o
/var/lib/sorcery/build/c++ -I/var/git/db/firebird3/src/include -I/var/git/db/firebird3/src/include/gen -Isrc/include -Isrc/include/gen -march=native -mtune=native -m64 -pipe -O3 -Wno-narrowing -Wno-deprecated-declarations -Wno-invalid-offsetof -fno-sized-deallocation -fno-delete-null-pointer-checks -flifetime-dse=1 -fcheck-new -Wno-deprecated -fPIC -O3 -DNDEBUG -MD -MT src/CMakeFiles/common.dir/common/classes/NoThrowTimeStamp.cpp.o -MF src/CMakeFiles/common.dir/common/classes/NoThrowTimeStamp.cpp.o.d -o src/CMakeFiles/common.dir/common/classes/NoThrowTimeStamp.cpp.o -c /var/git/db/firebird3/src/common/classes/NoThrowTimeStamp.cpp
In file included from /var/git/db/firebird3/src/include/firebird.h:38,
from /var/git/db/firebird3/src/common/classes/NoThrowTimeStamp.cpp:27:
/var/git/db/firebird3/src/common/classes/NoThrowTimeStamp.cpp: In static member function 'static Firebird::NoThrowTimeStamp Firebird::NoThrowTimeStamp::getCurrentTimeStamp(const char**)':
src/include/gen/autoconfig.h:675:41: error: too few arguments to function 'int gettimeofday(timeval*, void*)'
675 | #define GETTIMEOFDAY(x) gettimeofday((x))
| ^
/var/git/db/firebird3/src/common/classes/NoThrowTimeStamp.cpp:86:2: note: in expansion of macro 'GETTIMEOFDAY'
86 | GETTIMEOFDAY(&tp);
| ^~~~~~~~~~~~
In file included from /var/git/db/firebird3/src/include/../common/classes/NoThrowTimeStamp.h:34,
from /var/git/db/firebird3/src/common/classes/NoThrowTimeStamp.cpp:41:
/usr/include/sys/time.h:66:12: note: declared here
66 | extern int gettimeofday (struct timeval *__restrict __tv,
| ^~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: