* [PATCH] gcc-cross-canadian: Do not create symlink to real-ld
@ 2019-01-28 12:47 Samuli Piippo
2019-01-29 18:20 ` Khem Raj
2019-01-30 9:11 ` [PATCH v2] Revert "gcc-cross-canadian: Add symlink to real-ld alongside other symlinks" Samuli Piippo
0 siblings, 2 replies; 4+ messages in thread
From: Samuli Piippo @ 2019-01-28 12:47 UTC (permalink / raw)
To: openembedded-core
real-ld is always used if that is found, which means you cannot
switch between bfd and gold linkers using -fuse-ld=gold.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
---
meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 --
1 file changed, 2 deletions(-)
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index e7c08d3a61..ececec4965 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -137,8 +137,6 @@ do_install () {
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t$suffix $dest$t$suffix
done
- t=real-ld
- ln -sf ${BINRELPATH}/${TARGET_PREFIX}ld$suffix $dest$t$suffix
# libquadmath headers need to be available in the gcc libexec dir
install -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] gcc-cross-canadian: Do not create symlink to real-ld
2019-01-28 12:47 [PATCH] gcc-cross-canadian: Do not create symlink to real-ld Samuli Piippo
@ 2019-01-29 18:20 ` Khem Raj
2019-01-30 9:17 ` Samuli Piippo
2019-01-30 9:11 ` [PATCH v2] Revert "gcc-cross-canadian: Add symlink to real-ld alongside other symlinks" Samuli Piippo
1 sibling, 1 reply; 4+ messages in thread
From: Khem Raj @ 2019-01-29 18:20 UTC (permalink / raw)
To: Samuli Piippo; +Cc: openembedded-core
On Mon, Jan 28, 2019 at 11:19 PM Samuli Piippo <samuli.piippo@qt.io> wrote:
>
> real-ld is always used if that is found, which means you cannot
> switch between bfd and gold linkers using -fuse-ld=gold.
>
> Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
> ---
> meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
> index e7c08d3a61..ececec4965 100644
> --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
> +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
> @@ -137,8 +137,6 @@ do_install () {
>
> ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t$suffix $dest$t$suffix
> done
> - t=real-ld
> - ln -sf ${BINRELPATH}/${TARGET_PREFIX}ld$suffix $dest$t$suffix
>
this patch is essentially, reverting
https://git.openembedded.org/openembedded-core/commit/?id=cdd86896c8d29135f937968e9aa07f919cf543d3
so lets do a revert instead to keep the context clear
secondly, please test with the mips/mips64 as those were primary drivers for
the patch in first place. Richard might add more context if he remembers.
> # libquadmath headers need to be available in the gcc libexec dir
> install -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] Revert "gcc-cross-canadian: Add symlink to real-ld alongside other symlinks"
2019-01-28 12:47 [PATCH] gcc-cross-canadian: Do not create symlink to real-ld Samuli Piippo
2019-01-29 18:20 ` Khem Raj
@ 2019-01-30 9:11 ` Samuli Piippo
1 sibling, 0 replies; 4+ messages in thread
From: Samuli Piippo @ 2019-01-30 9:11 UTC (permalink / raw)
To: openembedded-core
This reverts commit cdd86896c8d29135f937968e9aa07f919cf543d3.
real-ld is always used if that is found, which means you cannot
switch between bfd and gold linkers using -fuse-ld=gold.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
---
meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 --
1 file changed, 2 deletions(-)
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index e7c08d3a61..ececec4965 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -137,8 +137,6 @@ do_install () {
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t$suffix $dest$t$suffix
done
- t=real-ld
- ln -sf ${BINRELPATH}/${TARGET_PREFIX}ld$suffix $dest$t$suffix
# libquadmath headers need to be available in the gcc libexec dir
install -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] gcc-cross-canadian: Do not create symlink to real-ld
2019-01-29 18:20 ` Khem Raj
@ 2019-01-30 9:17 ` Samuli Piippo
0 siblings, 0 replies; 4+ messages in thread
From: Samuli Piippo @ 2019-01-30 9:17 UTC (permalink / raw)
To: Khem Raj, richard.purdie; +Cc: openembedded-core
Sent v2 as a revert patch.
Simple compilation test with mips64 toolchain works fine, as does arm64/armv7.
Richard, would you happen to remember more details where this failed
in the first place?
-samuli
On Tue, 29 Jan 2019 at 20:20, Khem Raj <raj.khem@gmail.com> wrote:
>
> On Mon, Jan 28, 2019 at 11:19 PM Samuli Piippo <samuli.piippo@qt.io> wrote:
> >
> > real-ld is always used if that is found, which means you cannot
> > switch between bfd and gold linkers using -fuse-ld=gold.
> >
> > Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
> > ---
> > meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
> > index e7c08d3a61..ececec4965 100644
> > --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
> > +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
> > @@ -137,8 +137,6 @@ do_install () {
> >
> > ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t$suffix $dest$t$suffix
> > done
> > - t=real-ld
> > - ln -sf ${BINRELPATH}/${TARGET_PREFIX}ld$suffix $dest$t$suffix
> >
>
> this patch is essentially, reverting
> https://git.openembedded.org/openembedded-core/commit/?id=cdd86896c8d29135f937968e9aa07f919cf543d3
>
> so lets do a revert instead to keep the context clear
>
> secondly, please test with the mips/mips64 as those were primary drivers for
> the patch in first place. Richard might add more context if he remembers.
>
>
> > # libquadmath headers need to be available in the gcc libexec dir
> > install -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/
> > --
> > 2.17.1
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-01-31 22:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-28 12:47 [PATCH] gcc-cross-canadian: Do not create symlink to real-ld Samuli Piippo
2019-01-29 18:20 ` Khem Raj
2019-01-30 9:17 ` Samuli Piippo
2019-01-30 9:11 ` [PATCH v2] Revert "gcc-cross-canadian: Add symlink to real-ld alongside other symlinks" Samuli Piippo
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.