* [PATCH] gcc-configure-target: Add --enable-dependency-tracking to EXTRA_OECONF
@ 2013-05-05 6:24 Khem Raj
2013-09-22 9:15 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2013-05-05 6:24 UTC (permalink / raw)
To: openembedded-core
Fixes errors seen while compiling gcc 4.8 for target, errors like
| /home/khem/work/angstrom/build/tmp-angstrom_next-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/libatomic/cas_n.c:125:1: fatal error: opening dependency file .deps/cas_1_.lo.Ppo: No such file or directory
which are due to disabled dependency tracking but dependency files being still generated
while compiling libatomics.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-devtools/gcc/gcc-configure-target.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
index 6cc374b..5f608d6 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc
@@ -5,4 +5,4 @@ EXTRA_OECONF_PATHS = " \
--with-sysroot=/ \
--with-build-sysroot=${STAGING_DIR_TARGET} \
--with-native-system-header-dir=${STAGING_DIR_TARGET}${target_includedir} \
- --with-gxx-include-dir=${includedir}/c++/"
+ --with-gxx-include-dir=${includedir}/c++/ --enable-dependency-tracking"
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gcc-configure-target: Add --enable-dependency-tracking to EXTRA_OECONF
2013-05-05 6:24 [PATCH] gcc-configure-target: Add --enable-dependency-tracking to EXTRA_OECONF Khem Raj
@ 2013-09-22 9:15 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2013-09-22 9:15 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-core
Hi Khem,
On Sat, 2013-05-04 at 23:24 -0700, Khem Raj wrote:
> Fixes errors seen while compiling gcc 4.8 for target, errors like
>
> | /home/khem/work/angstrom/build/tmp-angstrom_next-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/libatomic/cas_n.c:125:1: fatal error: opening dependency file .deps/cas_1_.lo.Ppo: No such file or directory
>
> which are due to disabled dependency tracking but dependency files being still generated
> while compiling libatomics.
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> meta/recipes-devtools/gcc/gcc-configure-target.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
> index 6cc374b..5f608d6 100644
> --- a/meta/recipes-devtools/gcc/gcc-configure-target.inc
> +++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc
> @@ -5,4 +5,4 @@ EXTRA_OECONF_PATHS = " \
> --with-sysroot=/ \
> --with-build-sysroot=${STAGING_DIR_TARGET} \
> --with-native-system-header-dir=${STAGING_DIR_TARGET}${target_includedir} \
> - --with-gxx-include-dir=${includedir}/c++/"
> + --with-gxx-include-dir=${includedir}/c++/ --enable-dependency-tracking"
We keep occasionally seeing:
http://autobuilder.yoctoproject.org:8011/builders/nightly-mips-lsb/builds/310/steps/Building%20Images/logs/stdio
which is a failure in target gcc due to the use of the dependency
tracking. I think the dependency tracking code does have some kind of
races in it :(.
Do why know why we can't turn off the dependency tracking in libatomic?
Are there any upstream bug fixes for this?
Cheers,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-22 9:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-05 6:24 [PATCH] gcc-configure-target: Add --enable-dependency-tracking to EXTRA_OECONF Khem Raj
2013-09-22 9:15 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox