<html>
    <head>
      <base href="https://bugzilla.icculus.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ahmedsayeed1982@yahoo.com" title="Ahmed <ahmedsayeed1982@yahoo.com>"> <span class="fn">Ahmed</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Windows 7/8 MinGW GCC 4.8.1 fails to build cURL"
   href="https://bugzilla.icculus.org/show_bug.cgi?id=6086">bug 6086</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>ahmedsayeed1982@yahoo.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Windows 7/8 MinGW GCC 4.8.1 fails to build cURL"
   href="https://bugzilla.icculus.org/show_bug.cgi?id=6086#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Windows 7/8 MinGW GCC 4.8.1 fails to build cURL"
   href="https://bugzilla.icculus.org/show_bug.cgi?id=6086">bug 6086</a>
              from <span class="vcard"><a class="email" href="mailto:ahmedsayeed1982@yahoo.com" title="Ahmed <ahmedsayeed1982@yahoo.com>"> <span class="fn">Ahmed</span></a>
</span></b>
        <pre>amd64-linux-siginfo.c: Adjust include order to avoid gnulib error 
    <a href="http://www.compilatori.com/computers/latest-car-deals/">http://www.compilatori.com/computers/latest-car-deals/</a>
    On Fedora rawhide, after updating to glibc-2.33, I'm seeing the
    following build failure:
    <a href="http://www.acpirateradio.co.uk/travel/good/">http://www.acpirateradio.co.uk/travel/good/</a>
      CXX    nat/amd64-linux-siginfo.o
    In file included from /usr/include/bits/sigstksz.h:24,
<a href="http://www.logoarts.co.uk/services/affordable-printer/">http://www.logoarts.co.uk/services/affordable-printer/</a> 
                     from /usr/include/signal.h:315,
                     from ../gnulib/import/signal.h:52,
<a href="http://www.slipstone.co.uk/property/hp-of-cars/">http://www.slipstone.co.uk/property/hp-of-cars/</a> 
                     from /ironwood1/sourceware-git/rawhide-gnulib
<a href="http://www.mconstantine.co.uk/category/health/">http://www.mconstantine.co.uk/category/health/</a>
/bld/../../worktree-gnulib/gdbserver/../gdb/nat/amd64-linux-siginfo.c:20:
<a href="http://embermanchester.uk/services/whatsapp-number-change/">http://embermanchester.uk/services/whatsapp-number-change/</a> 
    ../gnulib/import/unistd.h:663:3: error: #error "Please include config.h
first."
      663 |  #error "Please include config.h first."
<a href="http://connstr.net/property/mars-researches/">http://connstr.net/property/mars-researches/</a> 
          |   ^~~~~

    glibc-2.33 has changed signal.h to now include
<a href="http://www.go-mk-websites.co.uk/category/health/">http://www.go-mk-websites.co.uk/category/health/</a> <bits/sigstksz.h> which,
    in turn, includes <unistd.h>. <a href="http://joerg.li/technology/b-class-cars/">http://joerg.li/technology/b-class-cars/</a> For
a gdb build, this causes the gnulib
    version of unistd.h to be pulled in first.  The build failure shown
<a href="https://www.mktrade.fi/">https://www.mktrade.fi/</a>
    above happens because gnulib's config.h has not been included before
    the include of <signal.h>. <a href="http://www.jopspeech.com/health/nvidia-rtx-2060/">http://www.jopspeech.com/health/nvidia-rtx-2060/</a>

    The fix is simple - we just rearrange the order of the header file
    includes to make sure that gdbsupport/
<a href="http://fishingnewsletters.co.uk/category/health/">http://fishingnewsletters.co.uk/category/health/</a> commondefs.h is included
before
    attempting to include signal.h.  Note that gdbsupport/commondefs.h
    includes <gnulib/config.h>.
<a href="http://www.wearelondonmade.com/health/check-ups/">http://www.wearelondonmade.com/health/check-ups/</a>

    Build and regression tested on Fedora 33.  On Fedora rawhide, GDB
    builds again. <a href="https://waytowhatsnext.com/shopping/xbox-release-date/">https://waytowhatsnext.com/shopping/xbox-release-date/</a>

    gdb/ChangeLog:
glibc-2.33 has changed signal.h to now include <bits/sigstksz.h> which,
    in turn, includes <unistd.h>.
<a href="http://www.iu-bloomington.com/computers/invisible-with-vpn/">http://www.iu-bloomington.com/computers/invisible-with-vpn/</a> For a gdb build,
this causes the gnulib
    version of unistd.h to be <a href="http://the-hunters.org/category/health/">http://the-hunters.org/category/health/</a> pulled in
first.  The build failure shown
    above happens because gnulib's <a href="https://komiya-dental.com/crypto/new-coins/">https://komiya-dental.com/crypto/new-coins/</a>
config.h has not been included before
    the include of <signal.h>. <a href="http://www-look-4.com/tech/nvidia-and-samsung/">http://www-look-4.com/tech/nvidia-and-samsung/</a>

    The fix is simple - we just rearrange the order of the header file
<a href="https://www.webb-dev.co.uk/crypto/crypto-for-investing/">https://www.webb-dev.co.uk/crypto/crypto-for-investing/</a>
    includes to make sure that gdbsupport/commondefs.h is included before
    attempting to include signal.h.  Note that gdbsupport/commondefs.h
    includes <gnulib/config.h>.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>