* [PATCH] gcc-runtime: Build libatomic
@ 2014-03-07 13:39 Cosmin Paraschiv
2014-03-08 0:13 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Cosmin Paraschiv @ 2014-03-07 13:39 UTC (permalink / raw)
To: openembedded-core, Saul Wold
GCC 4.8 includes a new runtime library, libatomic, which supports
atomic operations not supported by hardware or the OS. Build it,
so other packages can link against it, if needed.
Signed-off-by: Cosmin Paraschiv <cosmin.paraschiv@freescale.com>
---
meta/recipes-devtools/gcc/gcc-runtime.inc | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index d3b11a7..f8c1109 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -12,7 +12,7 @@ ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
EXTRA_OECONF += "--disable-libunwind-exceptions"
EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
-RUNTIMETARGET = "libssp libstdc++-v3 libgomp"
+RUNTIMETARGET = "libssp libstdc++-v3 libgomp libatomic"
# ?
# libiberty
# libmudflap
@@ -87,6 +87,9 @@ PACKAGES = "\
libgomp \
libgomp-dev \
libgomp-staticdev \
+ libatomic \
+ libatomic-dev \
+ libatomic-staticdev \
"
# The base package doesn't exist, so we clear the recommends.
RRECOMMENDS_${PN}-dbg = ""
@@ -161,6 +164,13 @@ FILES_libgomp-staticdev = "\
${libdir}/libgomp*.a \
"
+FILES_libatomic = "${libdir}/libatomic.so.*"
+FILES_libatomic-dev = " \
+ ${libdir}/libatomic.so \
+ ${libdir}/libatomic.la"
+FILES_libatomic-staticdev = " \
+ ${libdir}/libatomic.a"
+
do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] gcc-runtime: Build libatomic
2014-03-07 13:39 [PATCH] gcc-runtime: Build libatomic Cosmin Paraschiv
@ 2014-03-08 0:13 ` Khem Raj
2014-03-08 11:45 ` Cosmin Paraschiv
0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2014-03-08 0:13 UTC (permalink / raw)
To: Cosmin Paraschiv; +Cc: Patches and discussions about the oe-core layer
On Fri, Mar 7, 2014 at 5:39 AM, Cosmin Paraschiv
<cosmin.paraschiv@freescale.com> wrote:
> GCC 4.8 includes a new runtime library, libatomic, which supports
> atomic operations not supported by hardware or the OS. Build it,
> so other packages can link against it, if needed.
what all architectures did you test
>
> Signed-off-by: Cosmin Paraschiv <cosmin.paraschiv@freescale.com>
> ---
> meta/recipes-devtools/gcc/gcc-runtime.inc | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
> index d3b11a7..f8c1109 100644
> --- a/meta/recipes-devtools/gcc/gcc-runtime.inc
> +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
> @@ -12,7 +12,7 @@ ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
> EXTRA_OECONF += "--disable-libunwind-exceptions"
> EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
>
> -RUNTIMETARGET = "libssp libstdc++-v3 libgomp"
> +RUNTIMETARGET = "libssp libstdc++-v3 libgomp libatomic"
> # ?
> # libiberty
> # libmudflap
> @@ -87,6 +87,9 @@ PACKAGES = "\
> libgomp \
> libgomp-dev \
> libgomp-staticdev \
> + libatomic \
> + libatomic-dev \
> + libatomic-staticdev \
> "
> # The base package doesn't exist, so we clear the recommends.
> RRECOMMENDS_${PN}-dbg = ""
> @@ -161,6 +164,13 @@ FILES_libgomp-staticdev = "\
> ${libdir}/libgomp*.a \
> "
>
> +FILES_libatomic = "${libdir}/libatomic.so.*"
> +FILES_libatomic-dev = " \
> + ${libdir}/libatomic.so \
> + ${libdir}/libatomic.la"
> +FILES_libatomic-staticdev = " \
> + ${libdir}/libatomic.a"
> +
> do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
> do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
> do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
> --
> 1.7.9.5
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gcc-runtime: Build libatomic
2014-03-08 0:13 ` Khem Raj
@ 2014-03-08 11:45 ` Cosmin Paraschiv
2014-03-08 18:27 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Cosmin Paraschiv @ 2014-03-08 11:45 UTC (permalink / raw)
To: Khem Raj; +Cc: Patches and discussions about the oe-core layer
On 3/8/2014 2:13 AM, Khem Raj wrote:
> On Fri, Mar 7, 2014 at 5:39 AM, Cosmin Paraschiv
> <cosmin.paraschiv@freescale.com> wrote:
>> GCC 4.8 includes a new runtime library, libatomic, which supports
>> atomic operations not supported by hardware or the OS. Build it,
>> so other packages can link against it, if needed.
> what all architectures did you test
I have tested the patch on powerpc, powerpc64, i586, x86_64 and arm.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gcc-runtime: Build libatomic
2014-03-08 11:45 ` Cosmin Paraschiv
@ 2014-03-08 18:27 ` Khem Raj
2014-03-19 9:01 ` cosmin.paraschiv
0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2014-03-08 18:27 UTC (permalink / raw)
To: Cosmin Paraschiv; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
-Khem
On Mar 8, 2014 3:46 AM, "Cosmin Paraschiv" <cosmin.paraschiv@freescale.com>
wrote:
>
> On 3/8/2014 2:13 AM, Khem Raj wrote:
>>
>> On Fri, Mar 7, 2014 at 5:39 AM, Cosmin Paraschiv
>> <cosmin.paraschiv@freescale.com> wrote:
>>>
>>> GCC 4.8 includes a new runtime library, libatomic, which supports
>>> atomic operations not supported by hardware or the OS. Build it,
>>> so other packages can link against it, if needed.
>>
>> what all architectures did you test
>
>
> I have tested the patch on powerpc, powerpc64, i586, x86_64 and arm.
thanks for info
[-- Attachment #2: Type: text/html, Size: 895 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gcc-runtime: Build libatomic
2014-03-08 18:27 ` Khem Raj
@ 2014-03-19 9:01 ` cosmin.paraschiv
0 siblings, 0 replies; 5+ messages in thread
From: cosmin.paraschiv @ 2014-03-19 9:01 UTC (permalink / raw)
To: Khem Raj; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 7 bytes --]
Ping!
[-- Attachment #2: Type: text/html, Size: 1906 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-03-19 9:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-07 13:39 [PATCH] gcc-runtime: Build libatomic Cosmin Paraschiv
2014-03-08 0:13 ` Khem Raj
2014-03-08 11:45 ` Cosmin Paraschiv
2014-03-08 18:27 ` Khem Raj
2014-03-19 9:01 ` cosmin.paraschiv
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.