From owner-svn-src-head@FreeBSD.ORG Mon Sep 16 20:44:41 2013 Return-Path: Delivered-To: svn-src-head@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 D99001B5; Mon, 16 Sep 2013 20:44:41 +0000 (UTC) (envelope-from edschouten@gmail.com) Received: from mail-vc0-x236.google.com (mail-vc0-x236.google.com [IPv6:2607:f8b0:400c:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 623232C0B; Mon, 16 Sep 2013 20:44:41 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id hf12so3411396vcb.13 for ; Mon, 16 Sep 2013 13:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=EXXJJpZR9Xgi+ijWH2BhY/+Ul7aSp6QU8vwAOaQv2Ko=; b=yt6qh3Oi/IAulvyh8Ey8RB/jxTFNnfBilEzzeReJ99ZvGbc4RLG2WLpHKLMNWPeSB7 01CHpZhJeNQf/7Xq8dvwpaSH/tjYB++0vUgXRDxwScLoBsR9I0Y6Q55M6bPJ0yXf26Tc g0RkXwHSUicDmlggAmpqPOOfIiWW2kZGNV/ZXKhR1ndZ1TE0qWDFQa48wRFIGR7sVgQK DkOCTodjtT5LLPZPXZ91wn5rn9m2zwdf9a+f0ONGLsChgAQuDh15i0APPb4pc4nwBXqm 3KYeadIj0ox9y9vQzRCctv0jfMDh+RJZjgjfpwFT28lm6k6nV8jovi1sOBGyCxjhP5MJ mLaA== MIME-Version: 1.0 X-Received: by 10.52.116.74 with SMTP id ju10mr24003908vdb.20.1379364280485; Mon, 16 Sep 2013 13:44:40 -0700 (PDT) Sender: edschouten@gmail.com Received: by 10.220.115.206 with HTTP; Mon, 16 Sep 2013 13:44:40 -0700 (PDT) In-Reply-To: <201309161046.r8GAkxEM084656@svn.freebsd.org> References: <201309161046.r8GAkxEM084656@svn.freebsd.org> Date: Mon, 16 Sep 2013 22:44:40 +0200 X-Google-Sender-Auth: QCDYdoITH8cUBnH2vP6AWxfmooo Message-ID: Subject: Re: svn commit: r255613 - head/sys/arm/arm From: Ed Schouten To: Zbigniew Bodek Content-Type: text/plain; charset=UTF-8 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Sep 2013 20:44:41 -0000 2013/9/16 Zbigniew Bodek : > Log: > Fix GCC build error when building for ARMv6 > > Apply theravens's idea to move __strong_reference > macros into the proper ifdef section. > > Approved by: cognet (mentor) > Approved by: re > > Modified: > head/sys/arm/arm/stdatomic.c For some reason, this still breaks the build of the AVILA kernel: /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:842: error: '__sync_lock_test_and_set_1_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:842: warning: type defaults to 'int' in declaration of '__sync_lock_test_and_set_1' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:842: error: '__sync_lock_test_and_set_1' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:843: error: '__sync_lock_test_and_set_2_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:843: warning: type defaults to 'int' in declaration of '__sync_lock_test_and_set_2' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:843: error: '__sync_lock_test_and_set_2' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:844: error: '__sync_lock_test_and_set_4_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:844: warning: type defaults to 'int' in declaration of '__sync_lock_test_and_set_4' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:844: error: '__sync_lock_test_and_set_4' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:845: error: '__sync_val_compare_and_swap_1_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:845: warning: type defaults to 'int' in declaration of '__sync_val_compare_and_swap_1' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:845: error: '__sync_val_compare_and_swap_1' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:846: error: '__sync_val_compare_and_swap_2_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:846: warning: type defaults to 'int' in declaration of '__sync_val_compare_and_swap_2' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:846: error: '__sync_val_compare_and_swap_2' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:847: error: '__sync_val_compare_and_swap_4_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:847: warning: type defaults to 'int' in declaration of '__sync_val_compare_and_swap_4' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:847: error: '__sync_val_compare_and_swap_4' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:848: error: '__sync_fetch_and_add_1_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:848: warning: type defaults to 'int' in declaration of '__sync_fetch_and_add_1' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:848: error: '__sync_fetch_and_add_1' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:849: error: '__sync_fetch_and_add_2_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:849: warning: type defaults to 'int' in declaration of '__sync_fetch_and_add_2' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:849: error: '__sync_fetch_and_add_2' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:850: error: '__sync_fetch_and_add_4_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:850: warning: type defaults to 'int' in declaration of '__sync_fetch_and_add_4' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:850: error: '__sync_fetch_and_add_4' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:851: error: '__sync_fetch_and_and_1_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:851: warning: type defaults to 'int' in declaration of '__sync_fetch_and_and_1' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:851: error: '__sync_fetch_and_and_1' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:852: error: '__sync_fetch_and_and_2_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:852: warning: type defaults to 'int' in declaration of '__sync_fetch_and_and_2' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:852: error: '__sync_fetch_and_and_2' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:853: error: '__sync_fetch_and_and_4_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:853: warning: type defaults to 'int' in declaration of '__sync_fetch_and_and_4' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:853: error: '__sync_fetch_and_and_4' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:854: error: '__sync_fetch_and_sub_1_c' undeclared here (not in a function) /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:854: warning: type defaults to 'int' in declaration of '__sync_fetch_and_sub_1' /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:854: error: '__sync_fetch_and_sub_1' redeclared as different kind of symbol /usr/edje/projects/freebsd-head-4/sys/arm/arm/stdatomic.c:855: error: '__sync_fetch_and_sub_2_c' undeclared here (not in a function) etc. -- Ed Schouten