[Dune] [#926] cannot compile test-ug in dune/grid/test directoy

Dune flyspray at dune-project.org
Thu Jun 2 16:40:04 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Nagaiah (nagaiah) 

Attached to Project - Dune
Summary - cannot compile test-ug in dune/grid/test directoy
Task Type - Bug Report
Category - Grid
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Medium
Priority - Normal
Reported Version - SVN (pre2.2)
Due in Version - Undecided
Due Date - Undecided
Details - Cannot compile the test-ug program in dune/grid/test directory.
(I cannot compile any of my programs using UG grid as well. But they compile well
with YASP grid) 
This problem triggers with the shared_ptr in uggridfactory.cc.
This problem occurs only on Debian Linux. With Opensuse 11.4 version it works well.

Does anybody has any idea for solving this problem? Thank you in advance.

>> svn info dune-grid

Pfad: dune-grid
URL: https://svn.dune-project.org/svn/dune-grid/trunk
Basis des Projektarchivs: https://svn.dune-project.org/svn/dune-grid
UUID des Projektarchivs: f82f27de-4411-0410-b156-930a902cda50
Revision: 7637
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: graeser
Letzte geänderte Rev: 7636
Letztes Änderungsdatum: 2011-05-31 17:28:03 +0200 (Di, 31. Mai 2011)

>> g++ --v

Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-cld --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)




Error:
../../../dune/grid/.libs/libgrid.a(libuggrid_la-uggridfactory.o): In function `std::vector<std::shared_ptr<Dune::BoundarySegment<3, 3> >, std::allocator<std::shared_ptr<Dune::BoundarySegment<3, 3> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::shared_ptr<Dune::BoundarySegment<3, 3> >*, std::vector<std::shared_ptr<Dune::BoundarySegment<3, 3> >, std::allocator<std::shared_ptr<Dune::BoundarySegment<3, 3> > > > >, unsigned long, std::shared_ptr<Dune::BoundarySegment<3, 3> > const&)':

uggridfactory.cc:(.text._ZNSt6vectorISt10shared_ptrIN4Dune15BoundarySegmentILi3ELi3EEEESaIS4_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS4_S6_EEmRKS4_[std::vector<std::shared_ptr<Dune::BoundarySegment<3, 3> >, std::allocator<std::shared_ptr<Dune::BoundarySegment<3, 3> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::shared_ptr<Dune::BoundarySegment<3, 3> >*, std::vector<std::shared_ptr<Dune::BoundarySegment<3, 3> >, std::allocator<std::shared_ptr<Dune::BoundarySegment<3, 3> > > > >, unsigned long, std::shared_ptr<Dune::BoundarySegment<3, 3> > const&)]+0xb47): relocation truncated to fit: R_X86_64_32 against undefined symbol `pthread_cancel'
../../../dune/grid/.libs/libgrid.a(libuggrid_la-uggridfactory.o): In function `std::vector<std::shared_ptr<Dune::BoundarySegment<2, 2> >, std::allocator<std::shared_ptr<Dune::BoundarySegment<2, 2> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::shared_ptr<Dune::BoundarySegment<2, 2> >*, std::vector<std::shared_ptr<Dune::BoundarySegment<2, 2> >, std::allocator<std::shared_ptr<Dune::BoundarySegment<2, 2> > > > >, unsigned long, std::shared_ptr<Dune::BoundarySegment<2, 2> > const&)':

uggridfactory.cc:(.text._ZNSt6vectorISt10shared_ptrIN4Dune15BoundarySegmentILi2ELi2EEEESaIS4_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS4_S6_EEmRKS4_[std::vector<std::shared_ptr<Dune::BoundarySegment<2, 2> >, std::allocator<std::shared_ptr<Dune::BoundarySegment<2, 2> > > >::_M_fill_insert(__gnu_cxx::__normal_iterator<std::shared_ptr<Dune::BoundarySegment<2, 2> >*, std::vector<std::shared_ptr<Dune::BoundarySegment<2, 2> >, std::allocator<std::shared_ptr<Dune::BoundarySegment<2, 2> > > > >, unsigned long, std::shared_ptr<Dune::BoundarySegment<2, 2> > const&)]+0xb47): relocation truncated to fit: R_X86_64_32 against undefined symbol `pthread_cancel'
collect2: ld returned 1 exit status
make: *** [test-ug] Fehler 1




More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=926

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list