[Bug fortran/54572] Use libbacktrace library
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 27 09:33:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54572
--- Comment #10 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-11-27 09:32:55 UTC ---
(In reply to comment #6)
> Created attachment 28779 [details]
> Patch to use libbacktrace
I have to apply the following patch on your patch in order to be able to
compile it. ("MULTIBUILDTOP" is empty here and the library is not in
"/libbacktrace".)
--- libgfortran-backtrace-pr54572.diff.orig 2012-11-27 10:09:13 +0100
+++ libgfortran-backtrace-pr54572.diff 2012-11-27 10:12:05 +0100
@@ -51 +51 @@ index abc23cd..dd325bd 100644
-+ -I$(MULTIBUILDTOP)/../libbacktrace \
++ -I$(MULTIBUILDTOP)../libbacktrace \
Additionally, I wonder whether one should have:
--- a/Makefile.def
+++ b/Makefile.def
languages = { language=fortran; gcc-check-target=check-fortran;
lib-check-target=check-target-libquadmath;
+ lib-check-target=check-target-libbacktrace;
lib-check-target=check-target-libgfortran; };
languages = { language=java; gcc-check-target=check-java;
And in the same file, I wonder which of the following two is correct:
+dependencies = { module=all-target-libgfortran; on=all-target-libbacktrace; };
or
+dependencies = { module=configure-target-libgfortran;
on=all-target-libbacktrace; };
More information about the Gcc-bugs
mailing list