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
Support -D_FORTIFY_SOURCE=3 #29
Comments
|
Well, it's not exactly an "OPTFLAG", right? Perhaps you need to patch |
|
I think the simplest patch would be changing |
|
Sounds ok. Would you send a patch to dm-devel (cc me & bmarzins at redhat.com)? |
|
Sure, I've just done that. |
|
Don't recall, and I have no objection to changing it. |
|
Since it is rpm cflags, it may be because the default flags set in |
|
I can confirm that |
As explained here: opensvc#29 using -Wp,-D_FORTIFY_SOURCE cannot be redefined with -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3. Signed-off-by: Martin Liska <mliska@suse.cz> Reviewed-by: Martin Wilck <mwilck@suse.com>
|
pushed to openSUSE/multipath-tools (queue). Will be included in next bunch of fixes. |
|
@mwilck Please close this issue once the queue lands to master. |
|
It turns out that the proposed patch didn't work as intended. Updated the fix for #29 to d13d154. |
I'm experimenting with
-D_FORTIFY_SOURCE=3that will be available since GCC12.1and I see the following error:Note I pass the
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3as part ofmake OPTFLAGS=...@siddhesh
The text was updated successfully, but these errors were encountered: