Re: building i386 world on amd64 host: failed _at_svn

From: Dmitry Morozovsky <marck_at_rinet.ru>
Date: Mon, 29 Jul 2013 16:15:18 +0400 (MSK)
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_at_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_at_FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck_at_rinet.ru ***
------------------------------------------------------------------------
Received on Mon Jul 29 2013 - 10:15:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC