<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - LLVM fails to build with MinGW (gcc 4.8.1) - error: unknown type name 'off_t'"
   href="http://llvm.org/bugs/show_bug.cgi?id=18531">18531</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLVM fails to build with MinGW (gcc 4.8.1) - error: unknown type name 'off_t'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows XP
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Makefiles
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>federico.aponte@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>While building LLVM with MinGW I get the following error.


llvm[2]: ======= Finished Linking Release Executable yaml2obj (without symbols)
make[2]: Leaving directory `/d/federico/LLVM/trunk/build/tools/yaml2obj'
make[2]: Entering directory `/d/federico/LLVM/trunk/build/tools/llvm-c-test'
llvm[2]: Compiling calc.c for Release build
llvm[2]: Compiling disassemble.c for Release build
llvm[2]: Compiling helpers.c for Release build
llvm[2]: Compiling include-all.c for Release build
In file included from
d:/federico/LLVM/trunk/llvm/tools/llvm-c-test/include-all.
c:33:0:
d:/federico/LLVM/trunk/llvm/include/llvm-c/lto.h:195:54: error: unknown type
nam
e 'off_t'
                                     size_t map_size, off_t offset);
                                                      ^
/bin/rm: cannot lstat
`/d/federico/LLVM/trunk/build/tools/llvm-c-test/Release/in
clude-all.d.tmp': No such file or directory
make[2]: ***
[/d/federico/LLVM/trunk/build/tools/llvm-c-test/Release/include-all
.o] Error 1
make[2]: Leaving directory `/d/federico/LLVM/trunk/build/tools/llvm-c-test'
make[1]: *** [llvm-c-test/.makeall] Error 2
make[1]: Leaving directory `/d/federico/LLVM/trunk/build/tools'
make: *** [all] Error 1


The problem appeared after moving to the latest version of MinGW that has GCC
4.8.1. The preliminary configuration script has run with no issues (from the
build directory ../llvm/configure).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>