<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      I found that compiling on ppc64 or x86 the wchar.c I always get an
      Assertion during execution<br>
      $ uname -a<br>
      Linux w520h 3.5.0-46-generic #70~precise1-Ubuntu SMP Thu Jan 9
      23:55:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux<br>
      $ ./W<br>
      W: W.c:54: main: Assertion `!!i' failed.<br>
      Aborted (core dumped)<br>
      <br>
      > uname -a<br>
      ppc64 #1 SMP Fri Jun 14 00:05:37 CDT 2013 ppc64 ppc64 ppc64
      GNU/Linux<br>
      testsuite> ./W<br>
      W: W.c:54: main: Assertion `!!i' failed.<br>
      Aborted<br>
      Regards<br>
      <br>
      On 03/13/14 22:26, Thierry@vnet wrote:<br>
    </div>
    <blockquote cite="mid:532222A0.9080000@linux.vnet.ibm.com"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hello,<br>
      Trying to figure why I get issues on ppc64le, I clone last tree.<br>
      While running tests, I get 2 kind of errors<br>
      <br>
      1) Running ./ltrace.minor/demangle.exp ...<br>
      FAIL: Bad compiler!<br>
      compile failed for ltrace test, default_target_compile: Can't find
      g++.<br>
      Testcase compile failed, so all tests in this file will
      automatically fail.<br>
      FAIL: test case execution failed<br>
      exec sh -c {export
      LD_LIBRARY_PATH=/local/tfauck/suze/ltrace/testsuite/ltrace.minor; 
      /local/tfauck/suze/ltrace/testsuite/../ltrace -C -o
      /local/tfauck/suze/ltrace/testsuite/ltrace.minor/demangle.ltrace
      /local/tfauck/suze/ltrace/testsuite/ltrace.minor/demangle
      ;exit}/local/tfauck/suze/ltrace/testsuite/../ltrace: i<font
        color="#cc0000">nvalid option -- 'C'</font><br>
      Try `/local/tfauck/suze/ltrace/testsuite/../ltrace --help' for
      more information.<br>
          while executing<br>
      <br>
      Is it a new option or a typo ( -c) ?<br>
      <br>
      2) Running ./ltrace.minor/wchar.exp ...<br>
      FAIL: test case execution failed<br>
      exec env
      LD_LIBRARY_PATH=/local/tfauck/suze/ltrace/testsuite/ltrace.minor
      /local/tfauck/suze/ltrace/testsuite/../ltrace -o
      /tmp/lt-yYokpy7WFJ.ltrace -F ./../etc/ --
      /tmp/exe-sFgF2PjwUzexe-sFgF2PjwUz: /tmp/lt-IThRQ9t0uU.c:55: main:
      Assertion `!!i' failed.<br>
          while executing<br>
      "exec env
      LD_LIBRARY_PATH=/local/tfauck/suze/ltrace/testsuite/ltrace.minor
      /local/tfauck/suze/ltrace/testsuite/../ltrace -o
      /tmp/lt-yYokpy7WFJ.ltrace -..."<br>
          ("eval" body line 1)<br>
          invoked from within<br>
      "eval $command"FAIL: ^fprintf\(.*, "something %ls\\n",
      "������-����"\) appears in /tmp/lt-yYokpy7WFJ.ltrace 0 times,
      expected == 1<br>
      FAIL: ^fputwc\('��', .*\).*= '��' appears in
      /tmp/lt-yYokpy7WFJ.ltrace 0 times, expected == 1<br>
      FAIL: ^putwc\('��', .*\).*= '��' appears in
      /tmp/lt-yYokpy7WFJ.ltrace 0 times, expected == 1<br>
      ...<br>
      <br>
      Few days ago I got it running - any guess where to look for it ? <br>
      Thanks<br>
      <pre class="moz-signature" cols="72">-- 
Thierry on vnet.ibm</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Thierry on vnet.ibm</pre>
  </body>
</html>