-
Notifications
You must be signed in to change notification settings - Fork 285
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
MacOS-X Linker warning when building with -DEXIV2_TEAM_USE_SANITIZERS=On #591
Comments
I think the issue is related to visibility settings, as the linker notes itself:
You might want to check whether |
Thanks, Dan. I'll look into that. I know @piponazo changed something concerning visibility a few months ago and said it was very interesting. I didn't believe him! I expect you saw that our friend @cool-tomato reported 6 ASAN issues this morning. Crap. I'll deal with them and publish RC4 later in the week. For sure, I want to keep changes to the minimum possible, so a global change to visibility makes me nervous. I'll investigate visibility after I've deal with #590. |
I went searching for visibility in CMake. Guess what? @piponazo is the expert and answered a question on Stackoverflow about this several years ago. I don't see anything in CMakeLists.txt files about visibility. |
The CMake configuration related to these visibility settings can be found in the file
I would not care too much about this at this moment. I have experienced these kind of warnings in different projects and none of them caused issues. I could try to investigate it when I have some spare time, but I do not think we should worry about this on 0.27. |
I forgot to look in the cmake/*.cmake files for Visibility settings. I think we do nothing about this. It's ugly, however there's no evidence that it's harmful. It's good to have this logged so we know where to restart the conversation. I saw it this morning and took a while to understand that it involves MacOS-X /Sanitizers and behaved like this in RC2 and RC3. I'm going to close this. Thanks to you and Dan for saying something about this. You'll see that @cool-tomato dropped 6 poc's on RC3 this morning. I hope to close them by Wednesday and publish RC4 before the end of the week. If he (or other security folks) produce more POCs so late in the release, I will ask them about delaying the fixing for v0.27.1. No schedule for that yet - probably about 2019-03-31. |
In dealing with ASAN issues on MacOS-X, I see there are warning from the linker. I don't understand them. They were present in RC2. I have not searched further back. They might be benign.
I've tried to make sense of the first of the 4 errors and it becomes:
I don't know that this means. What I can see is that in properties.cpp, we have:
I think he's complaining about
fct
(no pun intended).The text was updated successfully, but these errors were encountered: