On Tue, Jul 29, 2014 at 7:18 PM, Jan Blechta <[email protected]> wrote:
> On Tue, 29 Jul 2014 17:48:04 +0100
> "Garth N. Wells" <[email protected]> wrote:
>
>>
>> On Tue, 29 Jul, 2014 at 2:33 PM, Jan Blechta
>> <[email protected]> wrote:
>> > BTW, this is the reason why
>> >
>> >  - dolfin-master-quick-precise-i386
>> >  - dolfin-master-quick-precise-amd64
>> >
>> > buildslaves fail. Full versions do not fail because they use
>> > developer build type which has -pedantic flag.
>> >
>> > Options:
>> >
>> >   1. simple one: adding -pedantic to CMAKE_CXX_FLAGS (which is used
>> > by all build types)
>> >
>> >   2. complicated: detect GCC 4.6 by build system and append
>> > -pedantic
>> >
>> > Which should be done?
>>
>> Has the bug been reported to Ubuntu on Launchpad?
>
> Not by me.
>
>> The 'ideal' fix
>> is that Ubuntu fix the version of gcc that is distributed with
>> Precise. We've been through this before for a bug in the STL.
>
> Could anybody try this on up-to-date Precise? I have only available one
> awaiting maintenance and update for quite a long time. Maybe it has
> been fixed upstream.
>
> Are Precise buildslaves up-to-date, Johannes?

Yes, they are up-to-date.

> Test case:
>
>   $ wget -O test.c 
> "http://gcc.gnu.org/viewcvs/gcc/trunk/gcc/testsuite/g%2B%2B.dg/cpp0x/initlist67.C?view=co&revision=192295&content-type=text%2Fplain&pathrev=192295";
>   $ c++ --version
>   $ c++ -std=c++0x -c test.c # fails or passes?
>   $ c++ -std=c++0x -pedantic -c test.c # should pass

This is what I get when running this on the precise-amd64 buildbot:

johannr@precise-bbot1:/tmp$ c++ --version
c++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

johannr@precise-bbot1:/tmp$ c++ -std=c++0x -c test.c # fails or passes?
test.c: In function ‘int main()’:
test.c:26:36: internal compiler error: in joust, at cp/call.c:7643
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccjfh2Mc.out file, please attach
this to your bugreport.
johannr@precise-bbot1:/tmp$ c++ -std=c++0x -pedantic -c test.c # should pass
johannr@precise-bbot1:/tmp$

> or compiling current master of DOLFIN, in particular
> dolfin/la/PETScPreconditioner.cpp (3-item initialize list on line 130).

I get this on the same machine:

/home/buildbot/buildslave/dolfin-master-full-precise-amd64/build/dolfin/la/PETScPreconditioner.cpp:
In static member function ‘static dolfin::Parameters
dolfin::PETScPreconditioner::default_parameters()’:
/home/buildbot/buildslave/dolfin-master-full-precise-amd64/build/dolfin/la/PETScPreconditioner.cpp:130:45:
internal compiler error: in joust, at cp/call.c:7643
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccKv9ePs.out file, please attach
this to your bugreport.
make[2]: *** [dolfin/CMakeFiles/dolfin.dir/la/PETScPreconditioner.cpp.o] Error 1
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
make: *** [all] Error 2

Johannes
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to