<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    This is the patch:<br>
    <br>
    <tt>changeset:&nbsp;&nbsp; 929:0030cd9fb3e6<br>
      user:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kornilios Kourtis <a class="moz-txt-link-rfc2396E" href="mailto:kkourt@inf.ethz.ch">&lt;kkourt@inf.ethz.ch&gt;</a><br>
      date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tue Jun 12 17:40:30 2012 +0200<br>
      summary:&nbsp;&nbsp;&nbsp;&nbsp; hake/Config.hs.template: switch optimization level
      back to -O2<br>
      <br>
      diff -r 689e89ab292c -r 0030cd9fb3e6 hake/Config.hs.template<br>
      --- a/hake/Config.hs.template&nbsp;&nbsp; Mon Jun 11 09:46:36 2012 +0200<br>
      +++ b/hake/Config.hs.template&nbsp;&nbsp; Tue Jun 12 17:40:30 2012 +0200<br>
      @@ -29,7 +29,7 @@<br>
      &nbsp;<br>
      &nbsp;-- Optimisation flags (-Ox -g etc.) passed to compiler<br>
      &nbsp;cOptFlags :: String<br>
      -cOptFlags = "-g -O3"<br>
      +cOptFlags = "-g -O2"<br>
      &nbsp;<br>
      &nbsp;-- Selects which libc to compile with, "oldc" or "newlib"<br>
      &nbsp;libc :: String</tt><br>
    <br>
    Don't forget to either create a new build directory or remove
    Config.hs from your current build directory as updating it in the
    source directory will not overwrite the version in your build
    directory.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 06/29/2012 04:40 PM, Patrik Ekl&ouml;f
      wrote:<br>
    </div>
    <blockquote
      cite="mid:59C969865CA9C64E9A0FE599F93AF52E393C17B7@exdb2.ug.kth.se"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">Thanks.<br>
        That removed one error, but as soon as that finished, another
        popped up:<br>
        <br>
        [root@localhost build]# make<br>
        gcc -std=c99 -U__STRICT_ANSI__ -Wstrict-prototypes
        -Wold-style-definition -Wmissing-prototypes
        -fno-omit-frame-pointer -fno-builtin -nostdinc -U__linux__
        -Ulinux -Wall -Wshadow -Wmissing-declarations
        -Wmissing-field-initializers -Wredundant-decls -Werror -imacros
        ../source/include/deputy/nodeputy.h -m64 -mno-red-zone -fPIE
        -fno-stack-protector -Wno-unused-but-set-variable
        -Wno-packed-bitfield-compat -DBARRELFISH -DCONFIG_LAZY_THC
        -DCONFIG_NEWLIB -DUSE_KALUGA_DVM
        -DCONFIG_INTERCONNECT_DRIVER_LMP
        -DCONFIG_INTERCONNECT_DRIVER_UMP
        -DCONFIG_INTERCONNECT_DRIVER_MULTIHOP
        -DCONFIG_FLOUNDER_BACKEND_LMP -DCONFIG_FLOUNDER_BACKEND_UMP
        -DCONFIG_FLOUNDER_BACKEND_MULTIHOP -g -O3 -I../source/include
        -I../source/include/arch/x86_64
        -I../source/lib/newlib/newlib/libc/include -I../source/include/c
        -I../source/include/target/x86_64 -I../source/include/ipv4
        -I../source/include/posixcompat -I./x86_64/include
        -I./x86_64/include/dev -I../source/usr/tests/thctest
        -I./x86_64/usr/tests/thctest -o
        ./x86_64/usr/tests/thctest/_for_app_thctest/thctest.o -c
        ../source/usr/tests/thctest/thctest.c
        <br>
        ../source/usr/tests/thctest/thctest.c: Assembler messages:<br>
        ../source/usr/tests/thctest/thctest.c:53: Error: symbol
        `_thc_cont_return_5' is already defined<br>
        ../source/usr/tests/thctest/thctest.c:69: Error: symbol
        `_thc_cont_return_6' is already defined<br>
        ../source/usr/tests/thctest/thctest.c:91: Error: symbol
        `_thc_cont_return_7' is already defined<br>
        ../source/usr/tests/thctest/thctest.c:111: Error: symbol
        `_thc_cont_return_8' is already defined<br>
        make: *** [x86_64/usr/tests/thctest/_for_app_thctest/thctest.o]
        Error 1<br>
        <br>
        Also, I did test this on a fresh clone of the repo (using rev
        923).<br>
        Multiple definition errors... but where do they come from?<br>
        <div><br>
          <div style="font-family:Tahoma; font-size:13px"><font
              style="font-family:Tahoma" size="2"><span
                style="font-size:10pt">Regards,<br>
                Patrik Ekl&ouml;f</span></font><font color="black"
              face="Tahoma" size="2"><span dir="ltr"
                style="font-size:10pt"></span></font><font color="black"
              face="Tahoma" size="2"><span dir="ltr"
                style="font-size:10pt"><br>
              </span></font><font style="font-family:Tahoma" size="2"><span
                style="font-size:10pt">Student at ICT, Master of Science
                in Engineering Education, IT Programme, KTH, Kista<br>
              </span></font></div>
        </div>
        <div style="font-family: Times New Roman; color: #000000;
          font-size: 16px">
          <hr tabindex="-1">
          <div style="direction: ltr;" id="divRpF650704"><font
              color="#000000" face="Tahoma" size="2"><b>From:</b>
              Raphael Fuchs [<a class="moz-txt-link-abbreviated" href="mailto:raphaelfuchs@student.ethz.ch">raphaelfuchs@student.ethz.ch</a>]<br>
              <b>Sent:</b> Friday, June 29, 2012 13:30<br>
              <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:barrelfish-users@lists.inf.ethz.ch">barrelfish-users@lists.inf.ethz.ch</a><br>
              <b>Subject:</b> Re: [Barrelfish-users] Building newest BF<br>
            </font><br>
          </div>
          <div>
            <div class="moz-cite-prefix">Hi Patrik<br>
              <br>
              We already fixed this bug in our development tree, the fix
              will be included in our next release. Meanwhile, you can
              apply the attached patch yourself, it should solve your
              problem.<br>
              <br>
              Regards<br>
              Raphael<br>
              <br>
              On 29.06.2012 12:42, Patrik Ekl&ouml;f wrote:<br>
            </div>
            <blockquote type="cite">
              <style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}</style>
              <div style="direction:ltr; font-family:Tahoma;
                color:#000000; font-size:10pt">Hi all,<br>
                <br>
                I'm having trouble building the newest rev of BF.<br>
                I've tried the newest as well as the stable 922 rev, but
                both give the same error.<br>
                <br>
                The complete error is:<br>
                ../source/include/acpi_client/acpi_client.h:19:36: fatal
                error: if/acpi_rpcclient_defs.h: No such file or
                directory<br>
                <br>
                I've tried downloading the source from scratch, then
                applying the patch at <a moz-do-not-send="true"
                  href="http://wiki.barrelfish.org/Getting_Started"
                  target="_blank">
                  http://wiki.barrelfish.org/Getting_Started</a>
                (because otherwise I get the dreaded Hake error), then
                running the hake script and finally make.<br>
                <br>
                I've updated all packages to latest, but still running
                on the 3.1 kernel to see if it would help the issue, but
                it did not.<br>
                Any idea what's wrong?<br>
                <div><br>
                  <div style="font-family:Tahoma; font-size:13px"><font
                      style="font-family:Tahoma" size="2"><span
                        style="font-size:10pt">Regards,<br>
                        Patrik Ekl&ouml;f</span></font><font color="black"
                      face="Tahoma" size="2"><span dir="ltr"
                        style="font-size:10pt"></span></font><font
                      color="black" face="Tahoma" size="2"><span
                        dir="ltr" style="font-size:10pt"><br>
                      </span></font><font style="font-family:Tahoma"
                      size="2"><span style="font-size:10pt">Student at
                        ICT, Master of Science in Engineering Education,
                        IT Programme, KTH, Kista<br>
                      </span></font></div>
                </div>
              </div>
              <br>
              <fieldset class="mimeAttachmentHeader" target="_blank"></fieldset>
              <br>
              <pre>_______________________________________________
Barrelfish-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Barrelfish-users@lists.inf.ethz.ch" target="_blank">Barrelfish-users@lists.inf.ethz.ch</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a>
</pre>
            </blockquote>
            <br>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Barrelfish-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Stefan</pre>
    <br>
    <br>
  </body>
</html>