[gcc r12-3583] Fix PR 67102: Add libstdc++ dependancy to libffi

Andrew Pinski pinskia@gcc.gnu.org
Thu Sep 16 17:54:20 GMT 2021


https://gcc.gnu.org/g:db1a65d9364fe72c2fff65fb2dec051728b6f3fa

commit r12-3583-gdb1a65d9364fe72c2fff65fb2dec051728b6f3fa
Author: Andrew Pinski <apinski@marvell.com>
Date:   Wed Sep 15 09:51:08 2021 +0000

    Fix PR 67102: Add libstdc++ dependancy to libffi
    
    The error message is obvious -funconfigured-libstdc++-v3 is used
    on the g++ command line.  So we just add the dependancy.
    
    OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions.
    
    ChangeLog:
    
            PR bootstrap/67102
            * Makefile.def: Have configure-target-libffi depend on
            all-target-libstdc++-v3.
            * Makefile.in: Regenerate.

Diff:
---
 Makefile.def | 1 +
 Makefile.in  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Makefile.def b/Makefile.def
index de3e0052106..90316364d01 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -592,6 +592,7 @@ dependencies = { module=configure-target-fastjar; on=configure-target-zlib; };
 dependencies = { module=all-target-fastjar; on=all-target-zlib; };
 dependencies = { module=configure-target-libgo; on=configure-target-libffi; };
 dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; };
+dependencies = { module=configure-target-libffi; on=all-target-libstdc++-v3; };
 dependencies = { module=all-target-libgo; on=all-target-libbacktrace; };
 dependencies = { module=all-target-libgo; on=all-target-libffi; };
 dependencies = { module=all-target-libgo; on=all-target-libatomic; };
diff --git a/Makefile.in b/Makefile.in
index 61af99dc75a..81b26c7177e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -61261,6 +61261,7 @@ all-bison: maybe-all-intl
 all-flex: maybe-all-intl
 all-m4: maybe-all-intl
 configure-target-libgo: maybe-all-target-libstdc++-v3
+configure-target-libffi: maybe-all-target-libstdc++-v3
 configure-target-liboffloadmic: maybe-configure-target-libgomp
 all-target-liboffloadmic: maybe-all-target-libgomp
 configure-target-newlib: maybe-all-binutils


More information about the Gcc-cvs mailing list