Achim Gratz writes: > Curious and curiouser… So if I s/FORTIFY_SOURCE/FORCIFY_SOURCE/ in > lib/Config_heavy.pl then that problem goes away and gcc gets called with > "-Wp,D_FORCIFY_SOURCE=2". Now if I know why that argument to Wp, was > vanishing… It's this code in Embed.t: --8<---------------cut here---------------start------------->8--- # XXX DAPM 12/2014: ExtUtils::Embed doesn't seem to provide API access # to $Config{optimize} and so compiles the test code without # optimisation on optimised perls. This causes the compiler to warn # when -D_FORTIFY_SOURCE is in force without -O. For now, just strip # the fortify on optimised builds to avoid the warning. my $ccflags = ccflags(); $ccflags =~ s/-D_FORTIFY_SOURCE=\d+// if $Config{optimize} =~ /-O/; --8<---------------cut here---------------end--------------->8--- It clearly didn't expect the symbol definition getting preceded with "-Wp," (I still don't know where that is coming from). However, just commenting out the line doesn't produce any warnings or erros from gcc either, so I don't even know what problem it was trying to solve. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWavesThread Previous | Thread Next