https://bugzilla.redhat.com/show_bug.cgi?id=1496272 Bug ID: 1496272 Summary: Perl's ccflags do not include a -Wformat option Product: Fedora Version: 26 Component: perl Assignee: jplesnik@xxxxxxxxxx Reporter: scott@xxxxxxxxxxx QA Contact: extras-qa@xxxxxxxxxxxxxxxxx CC: alexl@xxxxxxxxxx, caillon+fedoraproject@xxxxxxxxx, iarnell@xxxxxxxxx, jplesnik@xxxxxxxxxx, kasal@xxxxxx, mbarnes@xxxxxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx, psabata@xxxxxxxxxx, rc040203@xxxxxxxxxx, rhughes@xxxxxxxxxx, sandmann@xxxxxxxxxx, tcallawa@xxxxxxxxxx Description of problem: Perl's ccflags do not include a -Wformat option. Attempting to compile Vim with Perl support I ran in to this bug: https://github.com/vim/vim/issues/2068 How reproducible: Easily Steps to Reproduce: 1. Run: perl -V:ccflags 2. Note the output includes "-Werror=format-security" but no corresponding -Wformat Actual results: bakers@yellow(~/github/vim) :perl -V:ccflags ccflags='-D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'; Expected results: Some type of -Wformat would be included Additional info: Vim calls ExtUtils::Embed to get the cflags and it is also incorrect (I assume they're closely related). bakers@yellow(~/github/vim) :perl -Mlib=src/ -MExtUtils::Embed -e 'ccflags;perl_inc;print"\n"' -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx