-
Notifications
You must be signed in to change notification settings - Fork 13
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
make test fails with USE_PCRE=true #7
Comments
I can not reproduce this. For me the
|
Well, like I mentioned in the original post, it works with no issues on another machine for me as well. This might be machine-dependent. I use gcc 9.3.0 and ubuntu 20.04. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I cloned the repo and ran
make test
with no options. The output of this command is attached. As you can see,tests
is compiled and linked successfully, but then fails at runtime. The exact same sequence of actions on another machine works with no issues. Runningmake test USE_PCRE=false
works with no issues.One suspicious thing I've noticed is that running
ldd build.gnu.debug/tests
produces the following outputi.e.
libpcre
andlibpcreposix
are not marked as needed even though they are linked. Check out my question here if you want to know more about this.-Wl,--no-as-needed
can be used to force linker to linklibpcreposix
andlibpcre
, but that does not fix the issue. The fact that without this option the libraries do not show up in the output ofldd
may mean that the program still calls the default implementation from<regex.h>
at runtime, which causes the issue because the constants inconfigure_ftlRegex.inc
are generated forPCRE
.The text was updated successfully, but these errors were encountered: