<html>
    <head>
      <base href="http://bugs.llvm.org/">
    </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 - [MIPS] Error: unknown pseudo-op: `.nan'"
   href="http://bugs.llvm.org/show_bug.cgi?id=32182">32182</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[MIPS]  Error: unknown pseudo-op: `.nan'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>sbruno@freebsd.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I seem to have forgotten "something" in the chain of events to get us to a
working clang assembler on FreeBSD for MIPS64.

--------------------------------------------------------------
<span class="quote">>>> stage 4.2: building libraries</span >
--------------------------------------------------------------
cd /home/sbruno/fbsd_head;  COMPILER_VERSION=50000  COMPILER_TYPE=clang 
COMPILER_FREEBSD_VERSION=1100001 MAKEOBJDIRPREFIX=/var/tmp/sbruno/mips.mips64 
MACHINE_ARCH=mips64  MACHINE=mips  CPUTYPE=
GROFF_BIN_PATH=/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/legacy/usr/bin

GROFF_FONT_PATH=/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/legacy/usr/share/groff_font

GROFF_TMAC_PATH=/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/legacy/usr/share/tmac
CC="/home/sbruno/clang/build/bin/clang -Wno-typedef-redefinition
-Wno-pointer-sign -Wno-expansion-to-defined -Wno-address-of-packed-member
-target mips64-unknown-freebsd12.0
--sysroot=/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp
-B/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/usr/bin"
CXX="/home/sbruno/clang/build/bin/clang++  -Wno-typedef-redefinition
-Wno-pointer-sign -Wno-expansion-to-defined -Wno-address-of-packed-member
-target mips64-unknown-freebsd12.0
--sysroot=/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp
-B/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/usr/bin" 
CPP="/home/sbruno/clang/build/bin/clang-cpp -Wno-typedef-redefinition
-Wno-pointer-sign -Wno-expansion-to-defined -Wno-address-of-packed-member
-target mips64-unknown-freebsd12.0
--sysroot=/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp
-B/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/usr/bin"  AS="as"
AR="ar" LD="ld" LLVM_LINK=""  NM=nm OBJCOPY="objcopy"  RANLIB=ranlib STRINGS= 
SIZE="size"  INSTALL="sh /home/sbruno/fbsd_head/tools/install.sh" 
PATH=/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/legacy/usr/sbin:/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/legacy/usr/bin:/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/legacy/bin:/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/usr/sbin:/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin
make  -f Makefile.inc1
DESTDIR=/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp -DNO_FSCHG
MK_HTML=no -DNO_LINT MK_MAN=no  MK_PROFILE=no MK_TESTS=no MK_TESTS_SUPPORT=no
libraries
cd /home/sbruno/fbsd_head;  make -f Makefile.inc1 _prereq_libs;  make -f
Makefile.inc1 _startup_libs;  make -f Makefile.inc1 _prebuild_libs;  make -f
Makefile.inc1 _generic_libs
===> lib/libcompiler_rt (obj,all,install)
/home/sbruno/clang/build/bin/clang -Wno-typedef-redefinition -Wno-pointer-sign
-Wno-expansion-to-defined -Wno-address-of-packed-member -target
mips64-unknown-freebsd12.0
--sysroot=/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp
-B/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/usr/bin  -O -pipe -G0
-EB -msoft-float   -fpic -fvisibility=hidden -DVISIBILITY_HIDDEN
-I/home/sbruno/fbsd_head/contrib/libcxxrt -MD  -MF.depend.absvdi2.o
-MTabsvdi2.o -std=gnu99 -Wsystem-headers -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch
-Wno-switch-enum -Wno-knr-promoted-parameter  -Qunused-arguments  -c
/home/sbruno/fbsd_head/contrib/compiler-rt/lib/builtins/absvdi2.c -o absvdi2.o
/tmp/absvdi2-c7c07f.s: Assembler messages:
/tmp/absvdi2-c7c07f.s:4: Error: unknown pseudo-op: `.nan'
/tmp/absvdi2-c7c07f.s:11: Warning: Tried to set unrecognized symbol:
nomicromips

clang-4.0: error: assembler command failed with exit code 1 (use -v to see
invocation)
*** Error code 1

Stop.
make[4]: stopped in /home/sbruno/fbsd_head/lib/libcompiler_rt
*** Error code 1

Stop.
make[3]: stopped in /home/sbruno/fbsd_head
*** Error code 1

Stop.
make[2]: stopped in /home/sbruno/fbsd_head
*** Error code 1

Stop.
make[1]: stopped in /home/sbruno/fbsd_head
*** Error code 1

Stop.
make: stopped in /home/sbruno/fbsd_head</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>