Ok,<div><br></div><div>I removed all GPL or LGPL code in the newlib and compiled again. All seems to work as before... As it was said before, the inconv library and the linux target was not used.</div><div><br></div><div><br>
</div><div>zeus.<br><br><div class="gmail_quote">2011/12/19 &quot;Vicenç Beltran (AC)&quot; <span dir="ltr">&lt;<a href="mailto:vbeltran@ac.upc.edu">vbeltran@ac.upc.edu</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Dear Mothy, <br>
    newlib is  developed under set of BSD-like or public domain
    licenses. All the licenses used are in this link: <a href="http://sourceware.org/newlib/COPYING.NEWLIB" target="_blank">http://sourceware.org/newlib/COPYING.NEWLIB</a><br>
    <br>
    There are a few files under the GPL or LGPL license but these files
    are used only on the *-linux targets and iconv library, which is
    optional.<br>
    Anyway, <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:14px;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);font-size:small;display:inline!important;float:none"></span>we will double-check the
    license of all the files required to build the Newlib on Barrelfish.<br>
    <br>
    Regards,<br>
     - Vicenç<div><div class="h5"><br>
    <br>
    On 19/12/2011 17:43, Timothy Roscoe wrote:
    </div></div><blockquote type="cite"><div><div class="h5">
      <pre>Dear Zeus, 

This looks really useful - can you tell me what licence Newlib uses?

 -- Mothy

At Mon, 19 Dec 2011 17:06:24 +0100, Zeus Gómez Marmolejo <a href="mailto:zeus.gomez@bsc.es" target="_blank">&lt;zeus.gomez@bsc.es&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre>Dear Barrelfish developers,

I would like to keep updated with our progress here at BSC. We have
successfully ported the Redhat Newlib to Barrelfish as a libc replacement.
To do so, some code in the posixcompat has been rewritten to not call in
turn to the libc. This way, calls to write(), read() or sbrk() have been
lightly modified to implement the functionality present in the existing
libc. The objective has been to not touch the newlib.

Right now, all programs link with newlib, being able to boot all system
with this library. Also, in case the old library is needed, I&#39;ve added a
variable in the Config for Hake to be able to select which libc library to
compile. Both of them are working. To do so, I had to separate includes
that were system dependent and others that were libc dependent.

This newlib has been included in the Barrelfish tree but can be used also
with the independent gcc cross-compiler that we also developed here. This
gives full C++ support with the GNU libstdc++ and exception support.

Some technical details that I had to cope... Now all libraries (vfs,
posixcompat, newlib, lwip, nfs...) are always linked in. Because newlib
always needs posixcompat as it has the &quot;system calls&quot; implementation. Due
to this, vfs, nfs and lwip have to be linked too as the implementation of
read() write() have calls to vfs and nfs. In some executables, vfs is not
needed but its linked in anyway. There was an issue with this, as
vfs_init() was always called as it&#39;s present in the init section of the
ELF. Some early executables in the boot process fail in the vfs_init() call
as the ramfs is still not available. To solve this, we have placed the
vfs_init() call at the start of the programs that use vfs, as most of them
don&#39;t use it.

If you wish I can send you the patch to be included in the tree...


Kind regards,


--
Zeus Gómez Marmolejo
Barcelona Supercomputing Center
PhD student
<a href="http://www.bsc.es" target="_blank">http://www.bsc.es</a>

</pre>
      </blockquote>
      </div></div><div class="im"><pre>_______________________________________________
Barrelfish-users mailing list
<a href="mailto:Barrelfish-users@lists.inf.ethz.ch" target="_blank">Barrelfish-users@lists.inf.ethz.ch</a>
<a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a>
</pre>
    </div></blockquote>
  </div>

<br>_______________________________________________<br>
Barrelfish-users mailing list<br>
<a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a><br>
<a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Zeus Gómez Marmolejo<br>Barcelona Supercomputing Center<br>PhD student<br><a href="http://www.bsc.es" target="_blank">http://www.bsc.es</a><br><br><br>
</div>