7 | | Can anyone reproduce with the minimal script in the later reply? |
| 7 | Steps to reproduce. |
| 8 | |
| 9 | File `tuple.C`: |
| 10 | {{{ |
| 11 | #ifndef __MAKECINT__ |
| 12 | #include <tuple> |
| 13 | #endif |
| 14 | #include <array> |
| 15 | #include <utility> |
| 16 | int foo() { |
| 17 | int a,b; |
| 18 | std::tie(a,b)= std::make_pair(5,6); |
| 19 | return a; |
| 20 | } |
| 21 | }}} |
| 22 | |
| 23 | When running `python2.7`: |
| 24 | {{{ |
| 25 | > python2.7 |
| 26 | Python 2.7.11 (default, Dec 8 2015, 20:16:01) |
| 27 | [GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin |
| 28 | Type "help", "copyright", "credits" or "license" for more information. |
| 29 | >>> import ROOT |
| 30 | >>> ROOT.gROOT.ProcessLine(".L tuple.C+") |
| 31 | Info in <TMacOSXSystem::ACLiC>: creating shared library /private/tmp/./tuple_C.so |
| 32 | ld: can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so' for architecture x86_64 |
| 33 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
| 34 | Error in <ACLiC>: Compilation failed! |
| 35 | 0L |
| 36 | >>> |
| 37 | }}} |
| 38 | |
| 39 | When running `root6`: |
| 40 | {{{ |
| 41 | $ root6 |
| 42 | ... |
| 43 | root [0] .L tuple.C+ |
| 44 | Info in <TMacOSXSystem::ACLiC>: creating shared library /private/tmp/./tuple_C.so |
| 45 | root [1] .q |
| 46 | }}} |
| 47 | (Running `python2.7` after `root6` would make the python command succeed because the files are already there.) |