package/gcc: fix ARC failure to build in 2 phases.
PATCH 1/1 package/gcc: fix ARC failure to build in 2 phases.
From: Tal Zilcer <[email protected]>
When working with GCC initial at override source dir mode the HOST_GCC_INITIAL_POST_PATCH_HOOKS is not called and compilation failes. The solution is to use HOST_GCC_INITIAL_POST_RSYNC_HOOKS since this hook is being called at override source dir mode.
--- package/gcc/gcc-initial/gcc-initial.mk | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
package/gcc/gcc-initial/gcc-initial.mk +1 -0
@@ -34,6 +34,7 @@ define HOST_GCC_INITIAL_DISABLE_LIBGMON $(@D)/libgcc/config.host endef HOST_GCC_INITIAL_POST_PATCH_HOOKS += HOST_GCC_INITIAL_DISABLE_LIBGMON +HOST_GCC_INITIAL_POST_RSYNC_HOOKS += HOST_GCC_INITIAL_DISABLE_LIBGMON endif HOST_GCC_INITIAL_CONF_OPTS = \
Signature · 1 line
1.7.1
PATCH 1/1 package/gcc: fix ARC failure to build in 2 phases.
Tal, All,
On 2015-07-02 17:44 +0300, Tal Zilcer spake thusly:
Quoted 8 lines
From: Tal Zilcer <[email protected]>
When working with GCC initial at override source dir mode the
HOST_GCC_INITIAL_POST_PATCH_HOOKSis not called and compilation failes. The solution is to useHOST_GCC_INITIAL_POST_RSYNC_HOOKSsince this hook is being called at override source dir mode.Signed-off-by Tal Zilcer <[email protected]>
Based on the feedback from Alexey:
http://lists.busybox.net/pipermail/buildroot/2015-July/131358.html
a post-rsync hook seems the most appropriate solution short- and mid-term, so:
Regards,
Yann E. MORIN.
Quoted 23 lines
--- package/gcc/gcc-initial/gcc-initial.mk | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)package/gcc/gcc-initial/gcc-initial.mk +1
-0@@ -34,6 +34,7 @@ define HOST_GCC_INITIAL_DISABLE_LIBGMON $(@D)/libgcc/config.host endef HOST_GCC_INITIAL_POST_PATCH_HOOKS += HOST_GCC_INITIAL_DISABLE_LIBGMON +HOST_GCC_INITIAL_POST_RSYNC_HOOKS += HOST_GCC_INITIAL_DISABLE_LIBGMON endif HOST_GCC_INITIAL_CONF_OPTS = \Signature · 6 lines
1.7.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
Thomas Petazzoni
AppliedPATCH 1/1 package/gcc: fix ARC failure to build in 2 phases.
In reply to Tal ZilcerDear Tal Zilcer,
Quoted 11 lines · Tal Zilcer
From: Tal Zilcer <[email protected]>
When working with GCC initial at override source dir mode the
HOST_GCC_INITIAL_POST_PATCH_HOOKSis not called and compilation failes. The solution is to useHOST_GCC_INITIAL_POST_RSYNC_HOOKSsince this hook is being called at override source dir mode.Signed-off-by Tal Zilcer <[email protected]>--- package/gcc/gcc-initial/gcc-initial.mk | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com