This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 198 - SunCC support
Summary: SunCC support
Status: UNCONFIRMED
Alias: None
Product: Eigen
Classification: Unclassified
Component: General (show other bugs)
Version: 3.0
Hardware: All Other UNIX-like
: High Compilation Problem
Assignee: Nobody
URL:
Whiteboard:
Keywords:
: 847 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-25 11:49 UTC by Gael Guennebaud
Modified: 2019-12-04 10:22 UTC (History)
5 users (show)



Attachments
first set of patches for sunCC (28.09 KB, patch)
2011-03-02 18:26 UTC, Gael Guennebaud
no flags Details | Diff

Description Gael Guennebaud 2011-02-25 11:49:02 UTC
Here is a first set of patches to support SunCC. They allow to compile and run the linearstructure unit tests fine.

I also had to configure cmake as follow:

CXX="/opt/sun/sunstudio12.1/bin/CC -library=stlport4 -features=tmplrefstatic" cmake -DCMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS="" <path_to_eigen>

Now I'm stuck on very strange compilation issue when trying any test that makes use of transpose:

"/home/gael/Coding/eigen-sun/Eigen/src/Core/Transpose.h", line 139: Error: Unable to parse field declaration in class template: skipping field.                                                                                             
"/home/gael/Coding/eigen-sun/test/diagonal.cpp", line 42:     Where: While specializing "Eigen::Transpose<Eigen::Matrix<double, 4, 4, 0, 4, 4>>".
"/home/gael/Coding/eigen-sun/test/diagonal.cpp", line 42:     Where: Instantiated from diagonal<Eigen::Matrix<double, 4, 4, 0, 4, 4>>(const Eigen::Matrix<double, 4, 4, 0, 4, 4>&).
"/home/gael/Coding/eigen-sun/test/diagonal.cpp", line 76:     Where: Instantiated from non-template code.
"/home/gael/Coding/eigen-sun/Eigen/src/Core/Transpose.h", line 72: Error: The base "Eigen::TransposeImpl<Eigen::Matrix<double, 4, 4, 0, 4, 4>, Eigen::Dense>" must be a previously defined class or struct.
"/home/gael/Coding/eigen-sun/test/diagonal.cpp", line 42:     Where: While specializing "Eigen::Transpose<Eigen::Matrix<double, 4, 4, 0, 4, 4>>".
"/home/gael/Coding/eigen-sun/test/diagonal.cpp", line 42:     Where: Instantiated from diagonal<Eigen::Matrix<double, 4, 4, 0, 4, 4>>(const Eigen::Matrix<double, 4, 4, 0, 4, 4>&).
"/home/gael/Coding/eigen-sun/test/diagonal.cpp", line 76:     Where: Instantiated from non-template code.
"/home/gael/Coding/eigen-sun/Eigen/src/Core/Transpose.h", line 139: Error: Unable to parse field declaration in class template: skipping field.
"/home/gael/Coding/eigen-sun/test/diagonal.cpp", line 42:     Where: While specializing "Eigen::Transpose<Eigen::Matrix<double, 4, 4, 0, 4, 4>>".
"/home/gael/Coding/eigen-sun/test/diagonal.cpp", line 42:     Where: Instantiated from diagonal<Eigen::Matrix<double, 4, 4, 0, 4, 4>>(const Eigen::Matrix<double, 4, 4, 0, 4, 4>&).
"/home/gael/Coding/eigen-sun/test/diagonal.cpp", line 76:     Where: Instantiated from non-template code.
"/home/gael/Coding/eigen-sun/Eigen/src/Core/Transpose.h", line 75: Error: Base is not a member of Eigen::TransposeImpl<Eigen::Matrix<double, 4, 4, 0, 4, 4>, Eigen::Dense>.
"/home/gael/Coding/eigen-sun/test/diagonal.cpp", line 42:     Where: While specializing "Eigen::Transpose<Eigen::Matrix<double, 4, 4, 0, 4, 4>>".
"/home/gael/Coding/eigen-sun/test/diagonal.cpp", line 42:     Where: Instantiated from diagonal<Eigen::Matrix<double, 4, 4, 0, 4, 4>>(const Eigen::Matrix<double, 4, 4, 0, 4, 4>&).
"/home/gael/Coding/eigen-sun/test/diagonal.cpp", line 76:     Where: Instantiated from non-template code.

[...]


Of course I've tried to define TransposeImpl before defining Transpose, but that does not change anything.
Comment 1 Ben Taylor 2011-03-01 14:12:08 UTC
Are the patches someplace else?
Comment 2 Gael Guennebaud 2011-03-02 18:26:05 UTC
Created attachment 116 [details]
first set of patches for sunCC

sorry, looks like I failed to properly attach the file. so here it is.
Comment 3 omarreddam 2014-07-31 14:33:06 UTC
Hello Gael, All,

As I have the same question/request on my side, could you please update us on whether you were able to correct this after all?

Many thanks,
Omar
Comment 4 Christoph Hertzberg 2014-07-31 15:02:55 UTC
*** Bug 847 has been marked as a duplicate of this bug. ***
Comment 5 Gael Guennebaud 2014-07-31 16:35:35 UTC
Not tested it for a while. Feel free to try and report to us.
Comment 6 Nobody 2019-12-04 10:22:26 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/198.

Note You need to log in before you can comment on or make changes to this bug.