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

Seastar fails to build on gcc 11.1.1 #914

Closed
nyh opened this issue Jun 15, 2021 · 1 comment
Closed

Seastar fails to build on gcc 11.1.1 #914

nyh opened this issue Jun 15, 2021 · 1 comment
Assignees

Comments

@nyh
Copy link
Contributor

nyh commented Jun 15, 2021

When building Seastar on Fedora 34 with gcc 11.1.1 (in gnu++17 mode) and c-ares 1.17.1, I get several build errors like the following in src/net/dns.cc:

../../src/net/dns.cc: In static member function ‘static void seastar::net::dns_r
esolver::impl::get_srv_records(seastar::net::dns_resolver::srv_proto, const sstr
ing&, const sstring&)::<lambda(void*, int, int, unsigned char*, int)>::_FUN(void
*, int, int, unsigned char*, int)’:
../../src/net/dns.cc:361:9: error: ‘this’ pointer is null [-Werror=nonnull]
  361 |         }, reinterpret_cast<void *>(p.release()));
      |         ^
@nyh nyh self-assigned this Jun 15, 2021
@nyh
Copy link
Contributor Author

nyh commented Jun 15, 2021

It appears that this is a false alarm described in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96003.
I'm now looking how to work around this.

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

1 participant