#389 segfault compiling ceres

v1.0 (example)
open
nobody
Win64 (1)
5
2014-08-17
2014-03-27
No

D:\solver\ceres-solver-1.8.0\internal\ceres\dense_normal_cholesky_solver.cc:156:
1: internal compiler error: Segmentation fault
} // namespace ceres
^
Please submit a full bug report,
with preprocessed source if appropriate.
See http://sourceforge.net/projects/mingwbuilds/ for instructions.
make[2]: *** [internal/ceres/CMakeFiles/ceres.dir/dense_normal_cholesky_solver.c
c.obj]
Error 1

d:\solver\ceres-bin>g++ --version
g++ (rev2, Built by MinGW-builds project) 4.8.0
d:\solver\ceres-bin>gcc --version
gcc (rev2, Built by MinGW-builds project) 4.8.0

MY REMARKS
1. It is very hard to find any instructions on submitting bug reports on your SF site.
2. Offending source file attached

1 Attachments

Related

Bugs: #389

Discussion

  • Tom Sharpless

    Tom Sharpless - 2014-03-28

    Ceres solver is heavily templated, and uses the pure template Eigen linear algebra library. So it is a real workout for any C++ compiler.

    By substituting Eigen version 3.1.4 for 3.2.1, MinGW-W64 Rev5 (g++ 4.8.1) was able to build ceres solver OK. So the segfault should be traceable to something different between those Eigen versions.

     
  • niXman

    niXman - 2014-03-28

    add '-save-temps' to CXXFLAGS, then for each translation unit *.ii file will be created.

     
    • Tom Sharpless

      Tom Sharpless - 2014-03-29

      Sorry, I would like to help debug your compiler but absolutely don't have
      the time. All I needed was a working build of ceres solver, and now I have
      one.
      -- Tom

      On Fri, Mar 28, 2014 at 12:08 PM, niXman nixmann@users.sf.net wrote:

      add '-save-temps' to CXXFLAGS, then for each translation unit *.ii file
      will be created.


      Status: open
      Group: v1.0 (example)
      Labels: Win64
      Created: Thu Mar 27, 2014 03:01 PM UTC by Tom Sharpless
      Last Updated: Fri Mar 28, 2014 03:52 PM UTC
      Owner: nobody

      D:\solver\ceres-solver-1.8.0\internal\ceres\dense_normal_cholesky_solver.cc:156:
      1: internal compiler error: Segmentation fault
      } // namespace ceres
      ^
      Please submit a full bug report,
      with preprocessed source if appropriate.
      See http://sourceforge.net/projects/mingwbuilds/ for instructions.
      make[2]: ***
      [internal/ceres/CMakeFiles/ceres.dir/dense_normal_cholesky_solver.c
      c.obj]
      Error 1

      d:\solver\ceres-bin>g++ --version
      g++ (rev2, Built by MinGW-builds project) 4.8.0
      d:\solver\ceres-bin>gcc --version
      gcc (rev2, Built by MinGW-builds project) 4.8.0

      MY REMARKS
      1. It is very hard to find any instructions on submitting bug reports on
      your SF site.
      2. Offending source file attached


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/mingw-w64/bugs/389/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #389


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks