[MacPorts] #49764: babl @0.1.14 falls back to clang-3.4 which is not functional on PPC platforms

MacPorts noreply at macports.org
Mon Oct 24 07:40:03 CEST 2016


#49764: babl @0.1.14 falls back to clang-3.4 which is not functional on PPC
platforms
--------------------------+----------------------
  Reporter:  braumann@…   |      Owner:  dbevans
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  powerpc
      Port:  clang34      |
--------------------------+----------------------

Comment (by ken-cunningham-webuse):

 keeping everyone in the loop - apologies if no-one is too interested.
 libcxx would not build far on ppc so rather than sort that out just now, I
 went back to 10.5 intel and built it there. testing libunwind (now 3.9.0)
 doesn't exactly segfault any longer, but does error out and abort. here's
 what I saw:

 {{{
 $ cat test_throw.cxx
 #include <cstdio>
 #include <cstdlib>

 int main(int argc, char **argv) {
     try {
         const char *message = "This is a test";
         throw message;
         return 0;
     } catch(const char* result) {
         printf("caught: %s\n", result);
         return 1;
     }
 }


 $ clang++ -arch i386 -stdlib=libstdc++ test_throw.cxx -o test_throw.i386
 $ ./test_throw.i386
 caught: This is a test

 $ clang++ -arch i386 -stdlib=libc++ test_throw.cxx -o
 test_throw.libcxx.i386
 $ ./test_throw.libcxx.i386
 libc++abi.dylib: terminating with uncaught exception of type char const*
 Abort trap
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/49764#comment:31>
MacPorts <https://www.macports.org/>
Ports system for OS X



More information about the macports-tickets mailing list