-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
rocksdb fails to compile in Fedora 28 / gcc version 8.0.1 #3716
Comments
full build log with the failure, here -> https://koji.fedoraproject.org/koji/taskinfo?taskID=26351599 |
I think probably should be a good idea do use github webhooks to launch automatic builds on copr / fedora, they allways use the lasted gcc-c++ please take a look -> copr.fedorainfracloud.org |
I confirm the same issues with gcc-8 under Ubuntu 14.04 and 16.04. You can test gcc-8 with Travis and Ubuntu 14.04 by adding:
|
Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds]
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves #3716 Closes #3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
This was fixed in #3736. |
thank you. |
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves facebook#3716 Closes facebook#3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves facebook#3716 Closes facebook#3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves facebook#3716 Closes facebook#3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves #3716 Closes #3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves #3716 Closes #3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves #3716 Closes #3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves #3716 Closes #3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves #3716 Closes #3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves #3716 Closes #3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves #3716 Closes #3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves #3716 Closes #3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves #3716 Closes #3736 Differential Revision: D7684161 Pulled By: yiwu-arbug fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a
Summary: Fix the following gcc-8 warnings: - conflicting C language linkage declaration [-Werror] - writing to an object with no trivial copy-assignment [-Werror=class-memaccess] - array subscript -1 is below array bounds [-Werror=array-bounds] Solves facebook#3716 Closes facebook#3736 Differential Revision: D7684161 Pulled By: yiwu-arbug Change-Id: Iee07a868dd704b4dffa63997c62182b498645b3e fbshipit-source-id: 47c0423d26b74add251f1d3595211eee1e41e54a Signed-off-by: Seth Howell <[email protected]> Reviewed-on: https://review.gerrithub.io/424729 Reviewed-by: Jim Harris <[email protected]> Reviewed-by: Shuhei Matsumoto <[email protected]> Tested-by: Jim Harris <[email protected]>
[root@f28 rocksdb]# make
Makefile:129: Warning: Compiling in debug mode. Don't use the resulting binary in production
GEN util/build_version.cc
CC db/c.o
db/c.cc: In function 'void rocksdb_writebatch_wi_iterate(rocksdb_writebatch_wi_t*, void*, void ()(void, const char*, size_t, const char*, size_t), void ()(void, const char*, size_t))':
db/c.cc:1683:5: error: conflicting C language linkage declaration 'rocksdb_writebatch_wi_iterate(rocksdb_writebatch_wi_t*, void*, void ()(void, const char*, size_t, const char*, size_t), void ()(void, const char*, size_t))::H handler' [-Werror]
H handler;
^~~~~~~
db/c.cc:1427:5: note: previous declaration 'rocksdb_writebatch_iterate(rocksdb_writebatch_t*, void*, void ()(void, const char*, size_t, const char*, size_t), void ()(void, const char*, size_t))::H handler'
H handler;
^~~~~~~
db/c.cc: In function 'rocksdb_slicetransform_t* rocksdb_slicetransform_create_fixed_prefix(size_t)':
db/c.cc:3315:12: error: conflicting C language linkage declaration 'rocksdb_slicetransform_create_fixed_prefix(size_t)::Wrapper* wrapper' [-Werror]
Wrapper* wrapper = new Wrapper;
^~~~~~~
db/c.cc:2869:12: note: previous declaration 'rocksdb_filterpolicy_create_bloom_format(int, bool)::Wrapper* wrapper'
Wrapper* wrapper = new Wrapper;
^~~~~~~
db/c.cc: In function 'rocksdb_slicetransform_t* rocksdb_slicetransform_create_noop()':
db/c.cc:3336:12: error: conflicting C language linkage declaration 'rocksdb_slicetransform_create_noop()::Wrapper* wrapper' [-Werror]
Wrapper* wrapper = new Wrapper;
^~~~~~~
db/c.cc:2869:12: note: previous declaration 'rocksdb_filterpolicy_create_bloom_format(int, bool)::Wrapper* wrapper'
Wrapper* wrapper = new Wrapper;
^~~~~~~
cc1plus: all warnings being treated as errors
make: *** [Makefile:1868: db/c.o] Error 1
[root@f28 rocksdb]#
The text was updated successfully, but these errors were encountered: