From owner-freebsd-current@FreeBSD.ORG Mon Jul 29 12:15:22 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1A6231A3 for ; Mon, 29 Jul 2013 12:15:22 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7CA8722E7 for ; Mon, 29 Jul 2013 12:15:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id r6TCFIkg011625 for ; Mon, 29 Jul 2013 16:15:18 +0400 (MSK) (envelope-from marck@rinet.ru) Date: Mon, 29 Jul 2013 16:15:18 +0400 (MSK) From: Dmitry Morozovsky To: freebsd-current@freebsd.org Subject: Re: building i386 world on amd64 host: failed @svn In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Mon, 29 Jul 2013 16:15:18 +0400 (MSK) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2013 12:15:22 -0000 On Sun, 28 Jul 2013, Dmitry Morozovsky wrote: > on my builder I have consistent error: Followup on different build environments: > > /usr/obj/i386.i386/FreeBSD/pristine/src.current/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o): > In function `svn_named_atomic__cmpxchg': > named_atomic.c:(.text+0xed): undefined reference to > `__sync_val_compare_and_swap_8' > /usr/obj/i386.i386/FreeBSD/pristine/src.current/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o): > In function `svn_named_atomic__add': > named_atomic.c:(.text+0x193): undefined reference to `__sync_add_and_fetch_8' > /usr/obj/i386.i386/FreeBSD/pristine/src.current/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o): > In function `svn_named_atomic__write': > named_atomic.c:(.text+0x1f3): undefined reference to > `__sync_lock_test_and_set_8' > *** Error code 1 > > Stop. > bmake: stopped in /FreeBSD/pristine/src.current/usr.bin/svn/svn > *** Error code 1 > > host is at contemporary stable/9: > > FreeBSD castor.rinet.ru 9.1-STABLE FreeBSD 9.1-STABLE #1 r252026: Thu Jun 20 > 15:04:35 MSK 2013 marck@castor.rinet.ru:/usr/obj/usr/src/sys/CASTOR amd64 > > the build line is > > make buildworld __MAKE_CONF=/dev/null TARGET=i386 > > and no, cleaning /usr/obj/i386.i386 does not help. > > On the same time, tinderbox.freebsd.org does not see this. > > Any hints? Thanks! The problem does not manifest itself on - TARGET=i386 build on ref10-amd64 box - build on 9-i386 jail on my 9-amd64 builder (while now there is watchdog' breakage with signedness, usr.bin/svn builds there without nasty atomics error) -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------