<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>On 10/04/2020 23:08, Hesham Almatary wrote:<br>
</p>
<blockquote type="cite"
cite="mid:CA+wsVCD9rOKrskMzUzHHo-9juP8KcPPCuvwNJXqrA=R=FbzDLA@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">I believe my other patch (that outputs COMPILER to config.ini) has
hidden this issue. I was getting it when I specify
--rtems-compiler=clang as in
</pre>
<blockquote type="cite" style="color: #000000;">
<pre class="moz-quote-pre" wrap="">./waf bsp_defaults --rtems-bsps=rv64imafdc_medany --rtems-compiler=clang > config.ini
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">That didn't output COMPILER in config.ini. So during ./waf configure
the following line:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre class="moz-quote-pre" wrap="">value = cp.get(conf.variant, "COMPILER")
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">triggered an exception, and silently fall back to "gcc", and I didn't
know what went wrong. I don't think it might happen again now with my
other patch, but if any of those lines triggered another exception for
whatever reason, it will fall back to GCC.</pre>
</blockquote>
Ok, good. The missing COMPILER in ./waf bsp_defaults was clearly a
bug.<br>
</body>
</html>