Date: Mon, 16 Sep 2013 22:44:40 +0200 From: Ed Schouten <ed@80386.nl> To: Zbigniew Bodek <zbb@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r255613 - head/sys/arm/arm Message-ID: <CAJOYFBBHgtakgLhO4o1%2BKnPCiWt6WvXAc-LxeP6op=xJFCcJUA@mail.gmail.com> In-Reply-To: <201309161046.r8GAkxEM084656@svn.freebsd.org> References: <201309161046.r8GAkxEM084656@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2013/9/16 Zbigniew Bodek <zbb@freebsd.org>: > 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 <ed@80386.nl>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJOYFBBHgtakgLhO4o1%2BKnPCiWt6WvXAc-LxeP6op=xJFCcJUA>