http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55387



             Bug #: 55387

           Summary: Build problem: malloc error in genautomata

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: other

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: towns...@astro.wisc.edu





When attempting to build the latest SVN gcc (4.8.0, rev. 193610), I get the

following error:



build/genautomata ../.././gcc/config/i386/i386.md \

      insn-conditions.md > tmp-automata.c

genautomata(1500) malloc: *** error for object 0xc1e8b60252d64: pointer being

freed was not allocated

*** set a breakpoint in malloc_error_break to debug

/bin/sh: line 1:  1500 Abort trap: 6           build/genautomata

../.././gcc/config/i386/i386.md insn-conditions.md > tmp-automata.c

make[3]: *** [s-automata] Error 134

make[2]: *** [all-stage1-gcc] Error 2

make[1]: *** [stage1-bubble] Error 2

make: *** [all] Error 2



This is on OS X 10.7.5, with the following config options:



./configure CC=gcc -D_FORTIFY_SOURCE=0 \

  --build=x86_64-apple-darwin11.4.2 \

  --prefix=/Applications/madsdk \

  --with-gmp=/Applications/madsdk \

  --with-mpfr=/Applications/madsdk \

  --with-mpc=/Applications/madsdk \

  --enable-languages=c,c++,fortran --disable-multilib

Reply via email to