From: Kirk, B. (JSC-EG) <ben...@na...> - 2008-08-09 00:22:42
|
I assume this is libMesh from SVN? I have been using 4.3.1 for a while, both on my Mac and under linux with no issue. I get the same /* #undef HAVE_GCC_ABI_DEMANGLE */ you do. This is not a problem -- something has likely changed in how we need to do backtraces, but the code is disabling the option when it cannot figure out how to do it. what is the actual error you get when linking the code? Also, are you trying to use the same mpi for both, or have you built a separate mpi for each gcc version? -Ben -----Original Message----- From: lib...@li... on behalf of David Fuentes Sent: Fri 8/8/2008 6:18 PM To: lib...@li... Subject: [Libmesh-users] libmesh preprocessor variable HAVE_GCC_ABI_DEMANGLE is undefined with gcc 4.3.1 Hi, I'm trying to build libmesh with gcc 4.3.1 I am able to build it with gcc 4.1.2, but I need the 4.3.1 gfortran compiler. below is a diff between $(LIBMESH_DIR)/include/base/libmesh_config.h file when building libmesh with gcc 4.1.2 and gcc 4.3.1 with gcc 4.1.2 the preprocessor variable HAVE_GCC_ABI_DEMANGLE is defined but it is undefined when building with gcc 4.3.1 I believe this is causing undefined references to "print_trace" in $(LIBMESH_DIR)/src/base/print_trace.h and I cannot link $(LIBMESH_DIR)/bin/amr Has anyone been able to build libmesh w/ gcc 4.3.1? Thank you very much, David Fuentes -------------------------------------------------------------- prophecy$ diff libmesh_r2959-gcc_4.3.1-mpich2_1.0.7-dbg/include/base/libmesh_config.h libmesh_r2959-gcc_4.1.2-mpich2_1.0.7-dbg/include/base/libmesh_config.h 69c69 < /* #undef HAVE_GCC_ABI_DEMANGLE */ --- > #define HAVE_GCC_ABI_DEMANGLE 1 207c207 < #define LIBMESH_CONFIGURE_INFO "./configure run on Fri Aug 8 15:15:48 CDT 2008" --- > #define LIBMESH_CONFIGURE_INFO "./configure run on Fri Aug 8 15:47:37 CDT 2008" ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libmesh-users mailing list Lib...@li... https://lists.sourceforge.net/lists/listinfo/libmesh-users |