On Thu, Oct 2, 2014 at 9:20 AM, Игорь Пашев <pashev.i...@gmail.com> wrote:

> Yeah, it's a GCC regression
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63405


Thanks!  That is quite a regression :-(

I also hit another compiler regression while trying GCC-4.9.1 to compile
OpenAxiom on x86_64-w64-mingw32 having to do mangling a local class of a
function template.

-- Gaby


>
>
> 2014-10-02 3:28 GMT+04:00 Gabriel Dos Reis <g...@integrable-solutions.net>:
> >
> >
> > On Mon, Sep 29, 2014 at 12:29 AM, Игорь Пашев <pashev.i...@gmail.com>
> wrote:
> >>
> >> Hi all!
> >>
> >> It was found that OA fails to build with GCC 4.9 on amd64 [1]
> >> I can confirm this with r3094 on bare metal too.
> >>
> >> Quoting [1]:
> >>
> >> > g++ -DHAVE_CONFIG_H -I. -I../../../src/syntax -I../../config
> >> > -I../../../src/include -I../../x86_64-pc-linux-gnu/include
> >> > -D_FORTIFY_SOURCE=2 -m64 -D_GNU_SOURCE  -std=c++11 -g -O2
> >> > -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall
> -c -o
> >> > libsyntax_a-sexpr.o `test -f 'sexpr.cc' || echo
> >> > '../../../src/syntax/'`sexpr.cc
> >> > In file included from
> >> > ../../x86_64-pc-linux-gnu/include/open-axiom/sexpr:47:0,
> >> >                  from ../../../src/syntax/sexpr.cc:39:
> >> > ../../x86_64-pc-linux-gnu/include/open-axiom/storage: In instantiation
> >> > of 'T* OpenAxiom::Memory::Factory<T>::make(const Args& ...) [with
> Args =
> >> > {std::vector<const OpenAxiom::Sexpr::Syntax*, std::allocator<const
> >> > OpenAxiom::Sexpr::Syntax*> >, bool}; T =
> OpenAxiom::Sexpr::ListSyntax]':
> >> > ../../../src/syntax/sexpr.cc:341:37:   required from here
> >> > ../../x86_64-pc-linux-gnu/include/open-axiom/storage:275:52: internal
> >> > compiler error: in cp_perform_integral_promotions, at cp/typeck.c:2066
> >> >              return new(this->allocate(1)) T{args...};
> >> >                                                     ^
> >> > Please submit a full bug report,
> >> > with preprocessed source if appropriate.
> >> > See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
> >> > Preprocessed source stored into /tmp/cc6mQYS6.out file, please attach
> >> > this to your bugreport.
> >> > make[3]: *** [libsyntax_a-sexpr.o] Error 1
> >>
> >> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761549
> >
> >
> > Hmm, an "internal compiler error" is a bug in the compiler (GCC).
> > I think this should be reported to the GCC folks.
> >
> > (I no longer develop GCC - for at least a year now.)
> >
> > -- Gaby
> >
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
open-axiom-devel mailing list
open-axiom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-axiom-devel

Reply via email to