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

Remove mandatory dependency on ipv6 support #7

Closed

Conversation

mariasfiraiala
Copy link

Given the fact that redis works well without having the ipv6 support selected, this PR removes the mandatory dependency, enabling better testing with libraries that currently do not support ipv6 (eg. musl).

Signed-off-by: Maria Sfiraiala maria.sfiraiala@gmail.com

Given the fact that redis works well without having the ipv6 support
selected, this commit removes the mandatory dependency, enabling better
testing with libraries that currently do not support ipv6 (eg. musl).

Signed-off-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Copy link
Member

@StefanJum StefanJum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the build work for you without ipv6 enabled @mariasfiraiala?
I get some undefined symbols errors from the lib-redis origin anet.c source file
(e.g. INET6_ADDRSTRLEN, sockaddr_in6, IPPROTO_IPV6).

@mariasfiraiala
Copy link
Author

mariasfiraiala commented Nov 5, 2022

Did the build work for you without ipv6 enabled @mariasfiraiala?

Yes, I've built redis successfully on AArch64.

@StefanJum
Copy link
Member

Yes, I've built redis successfully on AArch64.

Got it, I was using newlib for testing. It works fine with musl, since it defines the needed symbols.

Copy link
Member

@StefanJum StefanJum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newlib needs ipv6 enabled, but this work fine with musl, and since we
will give up on newlib I think this can be merged.
Thank you @mariasfiraiala.

Reviewed-by: Stefan Jumarea stefanjumarea02@gmail.com

@razvand
Copy link
Contributor

razvand commented Nov 9, 2022

Hi, @mariasfiraiala , @StefanJum . We have Musl working with IPv6. So I will close this PR.

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

Successfully merging this pull request may close these issues.

3 participants