[llvm-bugs] [Bug 32182] New: [MIPS] Error: unknown pseudo-op: `.nan'

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 8 09:37:41 PST 2017


http://bugs.llvm.org/show_bug.cgi?id=32182

            Bug ID: 32182
           Summary: [MIPS]  Error: unknown pseudo-op: `.nan'
           Product: clang
           Version: trunk
          Hardware: Other
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sbruno at freebsd.org
                CC: llvm-bugs at lists.llvm.org

I seem to have forgotten "something" in the chain of events to get us to a
working clang assembler on FreeBSD for MIPS64.

--------------------------------------------------------------
>>> stage 4.2: building libraries
--------------------------------------------------------------
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170308/6217f03c/attachment.html>


More information about the llvm-bugs mailing list