<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - libglapi build failure with gcc -fsanitize=address"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=75315">bug 75315</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;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTOURBUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - libglapi build failure with gcc -fsanitize=address"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=75315#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTOURBUG - libglapi build failure with gcc -fsanitize=address"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=75315">bug 75315</a>
              from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
        <pre>Indeed it does - it seems that it should be fed to gcc in link mode rather than
the actual linker :\

I see a few of routes
 1. append " -fsanitize=address" to your CC/CXX variable prior to executing
configure, or
 2. add a configure option and handle this internally in mesa (oh god not
another configure switch) by adding "-Wc,-fsanitize=address" in all Makefiles,
or
 3. raise a bug with the libtool people so that they do not strip the it - i.e.
extend the following switch statement. 

-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
-O*|-flto*|-fwhopr*|-fuse-linker-plugin

I would recommend #3, and use #1 as a workaround until it's resolved :)
Marking this as NOTOURBUG for now as it seems to be a libtool issue.

[1] <a href="http://www.gnu.org/software/libtool/manual/libtool.html#Stripped-link-flags">http://www.gnu.org/software/libtool/manual/libtool.html#Stripped-link-flags</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>