From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 18:21:16 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 40589279 for ; Mon, 8 Jul 2013 18:21:16 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-qc0-f173.google.com (mail-qc0-f173.google.com [209.85.216.173]) by mx1.freebsd.org (Postfix) with ESMTP id 063E1109E for ; Mon, 8 Jul 2013 18:21:15 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id l10so2452681qcy.32 for ; Mon, 08 Jul 2013 11:21:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=MqmS99hPNdUgAS8QuzCexijFNHtmVhk9HtvEDPOG7TI=; b=SdXm6PRvVy33ppwE6YZ++qBHp4pt6yqzcf2SWgXlKb1F50bOARwCKm2/cshoDQXIBk Q8hdffTeKt0U2q9yTsjfCEgjQrNoK5jpeCz9u7NrCZFMWVxvzIq6s1YlYfPoI8SygKsS zRypyOLdg8Lz6aAZsNPZgDj88sCSCySwCDFBwmC3P4vYP+S1A7JfmvSWxxo498vKydFA dT0z8liypQtzH6hxStf65lKXATe030nZFSEwzrj3zdOKDD/8Gd+wTEvJoxIuUoUDyfc3 H0PnZOC9ExO1D2kMFERIne6RIm6srjHuHFCVaIROwHWUCtrboYgCuAvzxd20Y+7C6l54 BGTQ== MIME-Version: 1.0 X-Received: by 10.224.60.133 with SMTP id p5mr19471995qah.101.1373307669478; Mon, 08 Jul 2013 11:21:09 -0700 (PDT) Received: by 10.49.84.168 with HTTP; Mon, 8 Jul 2013 11:21:09 -0700 (PDT) In-Reply-To: <20130706013348.GP39302@server.rulingia.com> References: <20130706013348.GP39302@server.rulingia.com> Date: Tue, 9 Jul 2013 02:21:09 +0800 Message-ID: Subject: Re: buildworld failure on arm/armv6 using gcc From: Alie Tan To: Peter Jeremy X-Gm-Message-State: ALoCoQnCLKfl5920CXdokGqu6Ev8uqMpacbGBFnq5CCmjTcHG7rWMMOAxwMrgboihSiu+h2sZeKK Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 18:21:16 -0000 On Sat, Jul 6, 2013 at 9:33 AM, Peter Jeremy wrote: > I'm getting the following error trying to build either r252698 > (natively) or r252781 (cross) for my RPi with gcc (ie > WITHOUT_CLANG=yes). > > /usr/obj/usr/src/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o): > In function `svn_named_atomic__cmpxchg': > named_atomic.c:(.text+0xf0): undefined reference to > `__sync_val_compare_and_swap_8' > /usr/obj/usr/src/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o): > In function `svn_named_atomic__add': > named_atomic.c:(.text+0x174): undefined reference to > `__sync_add_and_fetch_8' > /usr/obj/usr/src/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o): > In function `svn_named_atomic__write': > named_atomic.c:(.text+0x1c0): undefined reference to > `__sync_lock_test_and_set_8' > /usr/obj/usr/src/usr.bin/svn/svn/../lib/libapr/libapr.a(builtins.o): In > function `apr_atomic_dec32': > builtins.c:(.text+0x90): undefined reference to `__sync_sub_and_fetch_4' > *** Error code 1 > > Tinberbox build are succeeding but I gather they are using clang. > I've looked back through the archives and there were similar build > issues on both ARM & MIPS in mid April and MIPS in mid June but I > can't find what the fix was. > I am getting this issue today. Are you able to solve the issue? > > -- > Peter Jeremy >