On Fri, 8 Aug 2008, David Fuentes wrote:

> 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

Two separate problems here:  Why are we not enabling GCC ABI
demangling, and why are we not building correctly when it's disabled?

I'm only using gcc 4.3 on my laptop (after deciding Fedora 9 wasn't
quite ready for the desktop...) at the moment, so it'll take me a
while to figure out the first problem.

But the second problem should be easy enough to fix; it looks like we
just let the "do-nothing" print_trace() version get out of sync when
we changed the function signature of the real version.  I'm not sure
why this didn't cause failures with other non-gcc compilers before,
but it should be fixed now; update to the SVN head and check.
---
Roy

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to