Open hithwen opened 10 years ago
De-select "Link libstdc++ statically into the gcc binary" in the config menu (Under "C compiler"):
C compiler ---> [ ] Link libstdc++ statically into the gcc binary
Now I get
[INFO ] =================================================================
[INFO ] Installing PPL for host
[EXTRA] Configuring PPL
[EXTRA] Building PPL
[ERROR] /Volumes/CrossTool2NG/arm-unknown-linux-gnueabi/.build/src/ppl-0.11.2/src/Row.defs.hh:504:15: error: flexible array member 'vec_' of type 'Coefficient []' with non-trivial destruction
[ERROR] /Volumes/CrossTool2NG/arm-unknown-linux-gnueabi/.build/src/ppl-0.11.2/src/Row.defs.hh:504:15: error: flexible array member 'vec_' of type 'Coefficient []' with non-trivial destruction
[ERROR] make[5]: *** [Constraint.lo] Error 1
[ERROR] /Volumes/CrossTool2NG/arm-unknown-linux-gnueabi/.build/src/ppl-0.11.2/src/Row.defs.hh:504:15: error: flexible array member 'vec_' of type 'Coefficient []' with non-trivial destruction
[ERROR] /Volumes/CrossTool2NG/arm-unknown-linux-gnueabi/.build/src/ppl-0.11.2/src/Row.defs.hh:504:15: error: flexible array member 'vec_' of type 'Coefficient []' with non-trivial destruction
[ERROR] make[5]: *** [Box.lo] Error 1
[ERROR] make[5]: *** [Congruence.lo] Error 1
[ERROR] make[5]: *** [Constraint_System.lo] Error 1
[ERROR] make[4]: *** [all] Error 2
[ERROR] make[3]: *** [all-recursive] Error 1
[ERROR] make[2]: *** [all] Error 2
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing PPL for host'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@258]
[ERROR] >> called from: do_ppl_backend[scripts/build/companion_libs/ppl.sh@105]
[ERROR] >> called from: do_ppl_for_host[scripts/build/companion_libs/ppl.sh@59]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@609]
[ERROR] >>
I get this same exact error... I mean that I get the ERROR in "Building PPL".
Yeah same.
same problem, any workaround ?
It's a PLL issue: https://www.cs.unipr.it/mantis/view.php?id=596 And this patch works for me:
diff -urN ppl-0.11.orig/m4/ac_cxx_flexible_arrays.m4 ppl-0.11/m4/ac_cxx_flexible_arrays.m4
--- ppl-0.11.orig/m4/ac_cxx_flexible_arrays.m4 2010-08-02 13:21:24.000000000 -0700
+++ ppl-0.11/m4/ac_cxx_flexible_arrays.m4 2014-03-12 08:43:21.000000000 -0700
@@ -40,6 +40,8 @@
A()
: i(0), b(false) {
}
+
+ ~A() {}
};
class B {
@@ -89,6 +91,8 @@
A()
: i(0), b(false) {
}
+
+ ~A() {}
};
class B {
[ERROR] Static linking impossible on the host system 'x86_64-build_apple-darwin13.0.0' [ERROR] [ERROR] >> [ERROR] >> Build failed in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_Abort[scripts/functions@327] [ERROR] >> called from: main[scripts/crosstool-NG.sh@491] [ERROR] >> [ERROR] >> For more info on this error, look at the file: 'build.log' [ERROR] >> There is a list of known issues, some with workarounds, in: [ERROR] >> '/Volumes/CrossTool2NG/crosstool-ng-1.17.0/docs/B - Known issues.txt' [ERROR] [ERROR](elapsed: 0:02.00) [00:02] / make[1]: *\ [build] Error 1
I dont know where the build.log is located I have xcode 5.0.2 and maveriks