Skip to content
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

Building on FreeBSD 10.1 fails. #6

Open
jevonearth opened this issue Jul 21, 2015 · 2 comments
Open

Building on FreeBSD 10.1 fails. #6

jevonearth opened this issue Jul 21, 2015 · 2 comments

Comments

@jevonearth
Copy link

While trying to build client or server on a FreeBSD 10.1 host, both fail with error error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'?

Server

[freebsd@dbbench ~/bruce]$ source bash_defs
[freebsd@dbbench ~/bruce]$ cd src/bruce/
[freebsd@dbbench ~/bruce/src/bruce]$ build --release bruce
scons: Entering directory `/usr/home/freebsd/bruce'
c++ -o out/release/base/backoff_rate_limiter.o -c -std=c++11 -Wold-style-cast -Wall -Wextra -Werror -Wformat=2 -Winit-self -Wunused-parameter -Wshadow -Wpointer-arith -Wcast-align -Wlogical-op -O2 -DNDEBUG -Wno-unused -Wno-unused-parameter -flto -fvisibility=hidden -DSRC_ROOT='"/usr/home/freebsd/bruce/src"' -Isrc -Isrc/third_party/tclap-1.2.0/include src/base/backoff_rate_limiter.cc
error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'?
      [-Werror,-Wunknown-warning-option]
scons: *** [out/release/base/backoff_rate_limiter.o] Error 1
[freebsd@dbbench ~/bruce/src/bruce]$

Client

[freebsd@dbbench ~/bruce]$ source bash_defs
[freebsd@dbbench ~/bruce]$ cd src/bruce/client/
[freebsd@dbbench ~/bruce/src/bruce/client]$ build --release libbruce_client.so
scons: Entering directory `/usr/home/freebsd/bruce'
cc -o out/release/bruce/client/libbruce_client.os -c -Wwrite-strings -Wall -Wextra -Werror -Wformat=2 -Winit-self -Wunused-parameter -Wshadow -Wpointer-arith -Wcast-align -Wlogical-op -O2 -DNDEBUG -Wno-unused -Wno-unused-parameter -flto -fvisibility=hidden -fPIC -DSRC_ROOT='"/usr/home/freebsd/bruce/src"' -Isrc -Isrc/third_party/tclap-1.2.0/include src/bruce/client/libbruce_client.c
error: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'?
      [-Werror,-Wunknown-warning-option]
scons: *** [out/release/bruce/client/libbruce_client.os] Error 1
[freebsd@dbbench ~/bruce/src/bruce/client]$
@femtonaut
Copy link

Bruce will not currently build on FreeBSD, there are a few things that'd need to be ported.

@dspeterson
Copy link
Contributor

When I wrote Bruce, my goal was simply to get it running on Linux. But FreeBSD support would be nice to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants