[Bug 197259] [mips64] First Pass at clang enabled builds for mips64 (with clang36)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 3 20:26:29 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197259
--- Comment #11 from Sean Bruno <sbruno at FreeBSD.org> ---
Ok, much further along now. We appear to be breaking down handling crt:
-------------------------------------------------------------
>>> stage 4.2: building libraries
--------------------------------------------------------------
cd /home/sbruno/bsd/clang360-import; MAKEOBJDIRPREFIX=/var/tmp/mips.mips64
MACHINE_ARCH=mips64 MACHINE=mips CPUTYPE=
GROFF_BIN_PATH=/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/legacy/usr/bin
GROFF_FONT_PATH=/var/tmp/mip
s.mips64/home/sbruno/bsd/clang360-import/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/legacy/usr/share/tmac
_SHLIBDIRPREFIX=/var/tmp/mips.mips64/home/sbruno/bsd/clang360-impor
t/tmp _LDSCRIPTROOT= VERSION="FreeBSD 11.0-CURRENT mips64 1100058"
INSTALL="sh /home/sbruno/bsd/clang360-import/tools/install.sh"
PATH=/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/legacy/usr/sbin:/var/tmp/mips.mips64/home
/sbruno/bsd/clang360-import/tmp/legacy/usr/bin:/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/legacy/usr/games:/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/legacy/bin:/var/tmp/mips.mips64/home/sbruno/bsd/clang360-im
port/tmp/usr/sbin:/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/bin:/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
CC="cc " CXX="c++ " DEPFLAGS="" CPP="cpp " AS="as" AR
="ar" LD="ld" NM=nm OBJDUMP=objdump OBJCOPY="objcopy" RANLIB=ranlib STRINGS=
SIZE="size" make -f Makefile.inc1
DESTDIR=/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp -DNO_FSCHG
MK_HTML=no -DNO_LINT MK_MAN=no MK_PROFILE=no
MK_TESTS=no MK_TESTS_SUPPORT=yes libraries
cd /home/sbruno/bsd/clang360-import && make -f Makefile.inc1 _prereq_libs &&
make -f Makefile.inc1 _startup_libs && make -f Makefile.inc1 _prebuild_libs &&
make -f Makefile.inc1 _generic_libs
===> gnu/lib/libssp/libssp_nonshared (obj,depend,all,install)
sh /home/sbruno/bsd/clang360-import/tools/install.sh -C -o root -g wheel -m 444
libssp_nonshared.a
/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/lib
===> gnu/lib/libgcc (obj,depend,all,install)
sh /home/sbruno/bsd/clang360-import/tools/install.sh -C -o root -g wheel -m 444
libgcc_eh.a /var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/lib
===> lib/libcompiler_rt (obj,depend,all,install)
sh /home/sbruno/bsd/clang360-import/tools/install.sh -C -o root -g wheel -m 444
libcompiler_rt.a
/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/lib
/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/lib/libgcc.a ->
libcompiler_rt.a
===> gnu/lib/csu (obj,depend,all,install)
cc -O -pipe -v -G0 -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
-fno-asynchronous-unwind-tables -fno-omit-frame-pointer
-I/home/sbruno/bsd/clang360-impo
rt/gnu/lib/csu/../../../contrib/gcclibs/include
-I/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcc/config
-I/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcc -I.
-I/home/sbruno/bsd/clang360-import/gnu/li
b/csu/../../usr.bin/cc/cc_tools -std=gnu89 -Qunused-arguments -g0 -DCRT_BEGIN
-c -o crtbegin.o
/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
FreeBSD clang version 3.6.0 (tags/RELEASE_360/rc2 227651) 20150131
Target: mips64-unknown-freebsd11.0
Thread model: posix
"/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/bin/cc" -cc1
-triple mips64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name
crtstuff.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim
-mno-zero-
initialized-in-bss -masm-verbose -mconstructor-aliases -target-cpu mips64r2
-target-feature -o32 -target-feature +n64 -target-abi n64 -mfloat-abi hard
-mllvm -mips-ssection-threshold=0 -v -dwarf-column-info -coverage-file
/var/tmp/mips.m
ips64/home/sbruno/bsd/clang360-import/gnu/lib/csu/crtbegin.o -resource-dir
/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/bin/../lib/clang/3.6.0
-D IN_GCC -D HAVE_LD_EH_FRAME_HDR -D DT_CONFIG -D __GLIBC__=3 -D CRT_BEGIN -I
/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcclibs/include
-I /home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcc/config -I
/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcc -I . -I
/home/
sbruno/bsd/clang360-import/gnu/lib/csu/../../usr.bin/cc/cc_tools -isysroot
/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp -O2 -std=gnu89
-fdebug-compilation-dir
/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/gnu/lib/csu -ferror-limit
19 -fmessage-length 0 -mstackrealign -fno-inline-functions
-fobjc-runtime=gnustep -fdiagnostics-show-option -vectorize-loops
-vectorize-slp -o crtbegin.o -x c
/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
clang -cc1 version 3.6.0 based upon LLVM 3.6.0 default target
mips64-unknown-freebsd11.0
#include "..." search starts here:
#include <...> search starts here:
/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcclibs/include
/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcc/config
/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcc
.
/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../usr.bin/cc/cc_tools
/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/bin/../lib/clang/3.6.0/include
/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/include
End of search list.
<inline asm>:6:20: error: expected identifier
.cpsetup $31, $2, 1b
^
Assertion failed: (!Name.empty() && "Normal symbols cannot be unnamed!"),
function GetOrCreateSymbol, file
/home/sbruno/bsd/clang360-import/lib/clang/libllvmmc/../../../contrib/llvm/lib/MC/MCContext.cpp,
line 101.
Stack dump:
Stack dump:
0. Program arguments:
/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/bin/cc -cc1
-triple mips64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name
crtstuff.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim
-mno-zero-initialized-in-bss -masm-verbose -mconstructor-aliases -target-cpu
mips64r2 -target-feature -o32 -target-feature +n64 -target-abi n64 -mfloat-abi
hard -mllvm -mips-ssection-threshold=0 -v -dwarf-column-info -coverage-file
/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/gnu/lib/csu/crtbegin.o
-resource-dir
/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/bin/../lib/clang/3.6.0
-D IN_GCC -D HAVE_LD_EH_FRAME_HDR -D DT_CONFIG -D __GLIBC__=3 -D CRT_BEGIN -I
/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcclibs/include
-I /home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcc/config -I
/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcc -I . -I
/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../usr.bin/cc/cc_tools
-isysroot /var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp -O2
-std=gnu89 -fdebug-compilation-dir
/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/gnu/lib/csu -ferror-limit
19 -fmessage-length 0 -mstackrealign -fno-inline-functions
-fobjc-runtime=gnustep -fdiagnostics-show-option -vectorize-loops
-vectorize-slp -o crtbegin.o -x c
/home/sbruno/bsd/clang360-import/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
1. <eof> parser at end of file
2. Code generation
cc: error: unable to execute command: Abort trap (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.6.0 (tags/RELEASE_360/rc2 227651) 20150131
Target: mips64-unknown-freebsd11.0
Thread model: posix
cc: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed
source, and associated run script.
cc: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/crtstuff-ce8c9e.c
cc: note: diagnostic msg: /tmp/crtstuff-ce8c9e.sh
cc: note: diagnostic msg:
********************
*** Error code 254
Stop.
make[4]: stopped in /home/sbruno/bsd/clang360-import/gnu/lib/csu
*** Error code 1
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-mips
mailing list