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

Failed to disable CONFIG_ALL_UNICODE #378

Open
XuJiandong opened this issue Jan 3, 2025 · 0 comments
Open

Failed to disable CONFIG_ALL_UNICODE #378

XuJiandong opened this issue Jan 3, 2025 · 0 comments

Comments

@XuJiandong
Copy link

I want to reduce binary size by disabling CONFIG_ALL_UNICODE, but encountered this linking error:

ld: Undefined symbols:
  _cr_regexp_canonicalize, referenced from:
      _re_parse_alternative in libregexp.o

The function cr_regexp_canonicalize is only used in one place when ignore_case is true:

if (s->ignore_case) {
    if (cr_regexp_canonicalize(cr, s->is_unicode))
        goto memory_error;
}

Is there a simpler alternative to this function?

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