From owner-freebsd-current Tue Jan 29 9: 8:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 364C737B404; Tue, 29 Jan 2002 09:08:29 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g0TH8LQ89026; Tue, 29 Jan 2002 19:08:21 +0200 (EET) (envelope-from ru) Date: Tue, 29 Jan 2002 19:08:21 +0200 From: Ruslan Ermilov To: "David O'Brien" Cc: current@FreeBSD.ORG, alpha@FreeBSD.ORG Subject: Latest binutils import breaks Alpha cross compiles Message-ID: <20020129190821.B83452@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David! After the latest binutils import, attempts to cross-compile Alpha fail at the cross-tools stage of buildworld as shown below. Please also note sed(1) complaints about nonexistent ldscripts/ files. I suspect that "normal" alpha worlds may be broken as well, but I can't tell for sure. : -------------------------------------------------------------- : >>> stage 3: cross tools : -------------------------------------------------------------- : cd /usr/src; TOOLS_PREFIX=/usr/obj/alpha/usr/src/i386 MAKEOBJDIRPREFIX=/usr/obj/alpha/usr/src/i386 DESTDIR= INSTALL="sh /usr/src/tools/install.sh" make -f Makefile.inc1 -DBOOTSTRAPPING -DNOHTML -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED -DNO_WERROR -DNO_FORTRAN -DNO_GDB cross-tools : [...] : cd /usr/src/gnu/usr.bin/binutils; make obj; make depend; make all; make DESTDIR=/usr/obj/alpha/usr/src/i386 install : [...] : ===> ld : ln -sf /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/emultempl/astring.sed stringify.sed : sh /usr/src/gnu/usr.bin/binutils/ld/genscripts.sh /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld \"/usr/lib\" alpha-unknown-freebsd alpha-unknown-freebsd alpha-unknown-freebsd elf64alpha "" elf64alpha alpha-unknown-freebsd : sed: ldscripts/elf64alpha.xsc: No such file or directory : sed: ldscripts/elf64alpha.xc: No such file or directory : [...] : ===> addr2line : cc -O -pipe -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/addr2line -I/usr/src/gnu/usr.bin/binutils/addr2line/../libbfd/alpha -I/usr/src/gnu/usr.bin/binutils/addr2line/../../../../contrib/binutils/include -I/usr/src/gnu/usr.bin/binutils/addr2line/../libbinutils -I/usr/src/gnu/usr.bin/binutils/addr2line/../../../../contrib/binutils/binutils -c /usr/src/gnu/usr.bin/binutils/addr2line/../../../../contrib/binutils/binutils/addr2line.c : cc -O -pipe -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/addr2line -I/usr/src/gnu/usr.bin/binutils/addr2line/../libbfd/alpha -I/usr/src/gnu/usr.bin/binutils/addr2line/../../../../contrib/binutils/include -I/usr/src/gnu/usr.bin/binutils/addr2line/../libbinutils -I/usr/src/gnu/usr.bin/binutils/addr2line/../../../../contrib/binutils/binutils -static -o addr2line addr2line.o ../libbinutils/libbinutils.a ../libbfd/libbfd.a ../libiberty/libiberty.a : ../libbinutils/libbinutils.a(bucomm.o): In function `make_tempname': : bucomm.o(.text+0x3af): warning: mktemp() possibly used unsafely; consider using mkstemp() : ../libbfd/libbfd.a(archive.o): In function `bfd_slurp_armap': : archive.o(.text+0xf0d): undefined reference to `bfd_elf64_archive_slurp_armap' : *** Error code 1 : : Stop in /usr/src/gnu/usr.bin/binutils/addr2line. : *** Error code 1 -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message