From owner-freebsd-ports@FreeBSD.ORG Mon Sep 14 12:02:31 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E578C1065695; Mon, 14 Sep 2009 12:02:31 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id 635A58FC1C; Mon, 14 Sep 2009 12:02:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id AB9F55C189; Mon, 14 Sep 2009 14:46:50 +0300 (EEST) X-Virus-Scanned: amavisd-new at bulinfo.net Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ktsy+wEBzOpR; Mon, 14 Sep 2009 14:46:50 +0300 (EEST) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id 5203E5C188; Mon, 14 Sep 2009 14:46:50 +0300 (EEST) Message-ID: <4AAE2D26.3030006@bulinfo.net> Date: Mon, 14 Sep 2009 14:46:46 +0300 From: Krassimir Slavchev User-Agent: Thunderbird 2.0.0.19 (X11/20090225) MIME-Version: 1.0 To: freebsd-ports@freebsd.org, Stanislav Sedov X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: GCC cross build fails for ARCH=arc and ABI=elf32 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2009 12:02:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am trying to compile cross-gcc under 7.2 and build fails with: ... gmake[5]: Entering directory `/usr/ports/devel/cross-gcc/work/build/arc-elf32/newlib/libc' rm -f libc.a rm -rf tmp mkdir tmp cd tmp; \ for i in argz/lib.a stdlib/lib.a ctype/lib.a search/lib.a stdio/lib.a string/lib.a signal/lib.a time/lib.a locale/lib.a reent/lib.a errno/lib.a misc/lib.a syscalls/lib.a sys/lib.a; do \ /usr/local/arc-elf32/bin/ar x ../$i; \ done; \ /usr/local/arc-elf32/bin/ar rc ../libc.a *.o /usr/local/arc-elf32/bin/ar: ../search/lib.a: No such file or directory /usr/local/arc-elf32/bin/ranlib libc.a rm -rf tmp rm -f crt0.o ln sys/crt0.o crt0.o >/dev/null 2>/dev/null || cp sys/crt0.o crt0.o gmake[5]: Leaving directory `/usr/ports/devel/cross-gcc/work/build/arc-elf32/newlib/libc' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/ports/devel/cross-gcc/work/build/arc-elf32/newlib/libc' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/cross-gcc/work/build/arc-elf32/newlib' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/cross-gcc/work/build/arc-elf32/newlib' gmake[1]: *** [all-target-newlib] Error 2 gmake[1]: Leaving directory `/usr/ports/devel/cross-gcc/work/build' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/devel/cross-gcc. *** Error code 1 Stop in /usr/ports/devel/cross-gcc. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.1163.0 env TGTARCH=arc TGTABI=elf32 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! devel/cross-gcc (compiler error) - ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed Trying to compile under -current: gmake[2]: Entering directory `/usr/ports/devel/cross-gcc/work/build/gcc' build/genrecog .././../gcc-4.3.2/gcc/config/arc/arc.md \ insn-conditions.md > tmp-recog.c .././../gcc-4.3.2/gcc/config/arc/arc.md:156: warning: unknown predicate 'move_dest_operand' .././../gcc-4.3.2/gcc/config/arc/arc.md:156: warning: unknown predicate 'move_src_operand' .././../gcc-4.3.2/gcc/config/arc/arc.md:156: warning: unknown predicate 'move_dest_operand' in 'match_operand' expression .././../gcc-4.3.2/gcc/config/arc/arc.md:156: warning: unknown predicate 'move_src_operand' in 'match_operand' expression .././../gcc-4.3.2/gcc/config/arc/arc.md:171: warning: unknown predicate 'move_src_operand' .././../gcc-4.3.2/gcc/config/arc/arc.md:171: warning: unknown predicate 'move_dest_operand' .././../gcc-4.3.2/gcc/config/arc/arc.md:171: warning: unknown predicate 'move_src_operand' in 'match_operand' expression .././../gcc-4.3.2/gcc/config/arc/arc.md:171: warning: unknown predicate 'move_dest_operand' in 'match_operand' expression .././../gcc-4.3.2/gcc/config/arc/arc.md:194: warning: unknown predicate 'move_dest_operand' .././../gcc-4.3.2/gcc/config/arc/arc.md:194: warning: unknown predicate 'move_src_operand' .././../gcc-4.3.2/gcc/config/arc/arc.md:194: warning: unknown predicate 'move_dest_operand' in 'match_operand' expression .././../gcc-4.3.2/gcc/config/arc/arc.md:194: warning: unknown predicate 'move_src_operand' in 'match_operand' expression gmake[2]: *** [s-recog] Segmentation fault: 11 (core dumped) gmake[2]: Leaving directory `/usr/ports/devel/cross-gcc/work/build/gcc' gmake[1]: *** [all-gcc] Error 2 gmake[1]: Leaving directory `/usr/ports/devel/cross-gcc/work/build' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/devel/cross-gcc. *** Error code 1 Stop in /usr/ports/devel/cross-gcc. Any help is appreciated -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFKri0mxJBWvpalMpkRAtYwAJ46fWbDtVJmadzJ9jgcIlcDpGfpmgCbBg8H TVABA15dKYRbA4Nk0z9xlWo= =n6E7 -----END PGP SIGNATURE-----