Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2011 20:02:09 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-toolchain@freebsd.org
Subject:   clang fails to crossbuild world for i386 on amd64
Message-ID:  <20110104200208.GA70255@freebsd.org>

next in thread | raw e-mail | index | archive | help
hi there,

just experienced this failure. the command line i used is right at the end:

****
--------------------------------------------------------------
>>> stage 4.2: building libraries
--------------------------------------------------------------
cd /usr/subversion-src;  MAKEOBJDIRPREFIX=/usr/obj/i386.i386  MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE=  GROFF_BIN_PATH=/usr/obj/i386.i386/usr/subversion-src/tmp/legacy/usr/bin  GROFF_FONT_PATH=/usr/obj/i386.i386/usr/subversion-src/tmp/legacy/usr/share/groff_font  GROFF_TMAC
cd /usr/subversion-src;  /usr/obj/usr/subversion-src/make.amd64/make -f Makefile.inc1 _prereq_libs;  /usr/obj/usr/subversion-src/make.amd64/make -f Makefile.inc1 _startup_libs;  /usr/obj/usr/subversion-src/make.amd64/make -f Makefile.inc1 _prebuild_libs;  /usr/obj/usr/subver
===> gnu/lib/libssp/libssp_nonshared (obj,depend,all,install)
clang -v -O2 -pipe  -DHAVE_CONFIG_H -I/usr/subversion-src/gnu/lib/libssp/libssp_nonshared/..  -I/usr/subversion-src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp  -I/usr/subversion-src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/include -
FreeBSD clang version 2.8 (tags/RELEASE_28 115870) 20101007
Target: x86_64-undermydesk-freebsd9.0
Thread model: posix
 "/usr/obj/i386.i386/usr/subversion-src/tmp/usr/bin/clang" -cc1 -triple x86_64-undermydesk-freebsd9.0 -S -disable-free -main-file-name ssp-local.c -pic-level 2 -mdisable-fp-elim -mconstructor-aliases -munwind-tables -target-cpu x86-64 -v -g -resource-dir /usr/obj/i386.i386/u
clang -cc1 version 2.8 based upon llvm 2.8svn hosted on x86_64-undermydesk-freebsd9.0
ignoring nonexistent directory "/usr/obj/i386.i386/usr/subversion-src/tmp/usr/lib/clang/2.8/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/subversion-src/gnu/lib/libssp/libssp_nonshared/..
 /usr/subversion-src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp
 /usr/subversion-src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/include
 /usr/obj/i386.i386/usr/subversion-src/tmp/usr/include/clang/2.8
 /usr/obj/i386.i386/usr/subversion-src/tmp/usr/include
End of search list.
 "/usr/obj/i386.i386/usr/subversion-src/tmp/usr/bin/as" -o ssp-local.o /tmp/cc-dFZCvC.s
/tmp/cc-dFZCvC.s: Assembler messages:
/tmp/cc-dFZCvC.s:33: Error: suffix or operands invalid for `push'
/tmp/cc-dFZCvC.s:35: Error: suffix or operands invalid for `movq'
/tmp/cc-dFZCvC.s:38: Error: suffix or operands invalid for `pop'
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop in /usr/subversion-src/gnu/lib/libssp/libssp_nonshared.
*** Error code 1

Stop in /usr/subversion-src.
*** Error code 1

Stop in /usr/subversion-src.
*** Error code 1

Stop in /usr/subversion-src.
*** Error code 1

Stop in /usr/subversion-src.
make buildworld TARGET=i386  72,41s user 17,42s system 66% cpu 2:14,98 total
****

this is on amd64 and HEAD (r216877). can anybody verify this? with gcc as
compiler everything works just fine.

cheers.
alex

-- 
a13x



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110104200208.GA70255>