<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 24, 2016 at 9:16 AM, D Peter Siddons <span dir="ltr"><<a href="mailto:siddons@bnl.gov" target="_blank">siddons@bnl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Presumably so. It is Ubuntu 15.10.<br></div></blockquote><div><br></div><div>Unless someone else remembers how, we will have to wait for Chris to wake up.</div><div><br></div><div>But I think adding -Wno-error to the build is the first work-around.</div><div><br></div><div>The long term solution will be to patch the older gcc source to avoid the warning.</div><div>I am sure somewhere in the gcc repository is a patch to do that.</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
    Pete.<div><div class="h5"><br>
    <br>
    <br>
    <div>On 03/24/2016 10:07 AM, Joel Sherrill
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Is it being built with -Werror?
        <div><br>
        </div>
        <div>FWIW I don't see gcc 5.2.1 as an official release. I see
          5.2 and 5.3. Is that</div>
        <div>other digit from the distribution?</div>
        <div><br>
        </div>
        <div>--joel</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Mar 24, 2016 at 8:45 AM, D
          Peter Siddons <span dir="ltr"><<a href="mailto:siddons@bnl.gov" target="_blank">siddons@bnl.gov</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matt,<br>
               I'm running gcc 5.2.1.<br>
            Pete.
            <div>
              <div><br>
                <br>
                <br>
                On 03/24/2016 09:36 AM, Matthew Clark wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  I ran into this problem myself.  Basically, the macro
                  that determines<br>
                  the GCC version isn't working correctly, so it's
                  defining those<br>
                  functions twice.  Are you running GCC 5.x?  I had to
                  comment out the<br>
                  code for if the GCC version < 3.0.   It's kind of a
                  pain because it<br>
                  means you'll bludgeon the build process as re-running
                  the<br>
                  source-builder process will just blow out the old
                  build folder,<br>
                  extract the code fresh and you'll have the same
                  problem.<br>
                  <br>
                  Matt<br>
                  <br>
                  On Thu, Mar 17, 2016 at 9:55 AM, D Peter Siddons <<a href="mailto:siddons@bnl.gov" target="_blank"></a><a href="mailto:siddons@bnl.gov" target="_blank">siddons@bnl.gov</a>> wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    Hi Chris,<br>
                    I searched l-arm.txt for ": error" and found the
                    lines in the attached file.<br>
                    Hope that helps.<br>
                    <br>
                       I remember seeing something some time ago with
                    Ubuntu. They link /bin/sh<br>
                    to /bin/dash instead of /bin/bash. I'm nervous about
                    changing that in case<br>
                    the system relies on dash-like behaviour, but I do
                    remember that giving<br>
                    mysterious problems once.<br>
                    <br>
                    Pete.<br>
                    <br>
                    <br>
                    On 03/16/2016 10:14 PM, Chris Johns wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      On 17/03/2016 12:42, D Peter Siddons wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                            Recently upgraded from 15.04 to 15.10.<br>
                      </blockquote>
                      <br>
                      Ok.<br>
                      <br>
                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                        Report attached.<br>
                      </blockquote>
                      <br>
                      Hmm the error was before the report log. I never
                      expected these level of<br>
                      warnings but building old compilers with newer
                      ones can do this.<br>
                      <br>
                      I will try and recreate the build.<br>
                      <br>
                      Any chance you could peak in the log file and cut
                      and paste the error?<br>
                      <br>
                      Thanks<br>
                      Chris<br>
                      <br>
                    </blockquote>
                    --<br>
                    D. Peter Siddons<br>
                    Detector Development Group Leader<br>
                    Bldg. 535B<br>
                    Photon Sciences Directorate,<br>
                    Brookhaven National Laboratory<br>
                    Upton, NY 11973<br>
                    <br>
                    email: <a href="mailto:siddons@bnl.gov" target="_blank">siddons@bnl.gov</a><br>
                    Phone: <a href="tel:%28631%29%20344-2738" value="+16313442738" target="_blank">(631)
                      344-2738</a><br>
                    <br>
                    <br>
                    _______________________________________________<br>
                    users mailing list<br>
                    <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
                    <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
                  </blockquote>
                </blockquote>
                <br>
                -- <br>
                D. Peter Siddons<br>
                Detector Development Group Leader<br>
                Bldg. 535B<br>
                Photon Sciences Directorate,<br>
                Brookhaven National Laboratory<br>
                Upton, NY 11973<br>
                <br>
                email: <a href="mailto:siddons@bnl.gov" target="_blank">siddons@bnl.gov</a><br>
                Phone: <a href="tel:%28631%29%20344-2738" value="+16313442738" target="_blank">(631) 344-2738</a><br>
                <br>
                _______________________________________________<br>
                users mailing list<br>
                <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
                <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre cols="72">-- 
D. Peter Siddons
Detector Development Group Leader
Bldg. 535B
Photon Sciences Directorate,
Brookhaven National Laboratory
Upton, NY 11973

email: <a href="mailto:siddons@bnl.gov" target="_blank">siddons@bnl.gov</a>
Phone: <a href="tel:%28631%29%20344-2738" value="+16313442738" target="_blank">(631) 344-2738</a>
</pre>
  </div></div></div>

</blockquote></div><br></div></div>