gnupg2-1.9.91 build failure (fedora core/x86_64)

Werner Koch wk at gnupg.org
Wed Oct 11 15:37:31 CEST 2006


On Wed, 11 Oct 2006 14:03, Rex Dieter said:

> For the record, fc6's default optflags for which gnupg2 crashes is:
> -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
>
> Take out the -O2, and all is well.

What I would do now is to replace -O2 by -O1 and if this does not
anymore crahs, add these options:

          -fstrict-aliasing
          -fstrength-reduce
          -fthread-jumps
          -fcrossjumping
          -foptimize-sibling-calls
          -fcse-follow-jumps  -fcse-skip-blocks
          -fgcse  -fgcse-lm
          -fexpensive-optimizations
          -frerun-cse-after-loop  -frerun-loop-opt
          -fcaller-saves
          -fpeephole2
          -fschedule-insns  -fschedule-insns2
          -fsched-interblock  -fsched-spec
          -fregmove
          -fdelete-null-pointer-checks
          -freorder-blocks  -freorder-functions
          -falign-functions  -falign-jumps
          -falign-loops  -falign-labels
          -ftree-vrp
          -ftree-pre

one after another until it crashes.  A lot of work, though.


Shalom-Salam,

   Werner






More information about the Gnupg-devel mailing list