Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2013 16:15:18 +0400 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        freebsd-current@freebsd.org
Subject:   Re: building i386 world on amd64 host: failed @svn
Message-ID:  <alpine.BSF.2.00.1307291611250.55051@woozle.rinet.ru>
In-Reply-To: <alpine.BSF.2.00.1307281713160.55051@woozle.rinet.ru>
References:  <alpine.BSF.2.00.1307281713160.55051@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ***
------------------------------------------------------------------------



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