Revert "package/gcc: fix libgcc build for xtensa"
PATCH 1/1 Revert "package/gcc: fix libgcc build for xtensa"
This reverts commit c44cf2cc97df1729577263d2b0cb5263e8cdc4c1. Now that xtensa gas don't move literals into .init and .fini this fix is no longer needed.
--- package/gcc/gcc.mk | 7 ------- 1 file changed, 7 deletions(-)
package/gcc/gcc.mk +0 -7
@@ -97,13 +97,6 @@ HOST_GCC_COMMON_CONF_ENV = \ GCC_COMMON_TARGET_CFLAGS = $(TARGET_CFLAGS) GCC_COMMON_TARGET_CXXFLAGS = $(TARGET_CXXFLAGS) -# Xtensa libgcc can't be built with -mauto-litpools -# because of the trick used to generate .init/.fini sections. -ifeq ($(BR2_xtensa),y) -GCC_COMMON_TARGET_CFLAGS = $(filter-out -mauto-litpools,$(TARGET_CFLAGS)) -GCC_COMMON_TARGET_CXXFLAGS = $(filter-out -mauto-litpools,$(TARGET_CXXFLAGS)) -endif - # Propagate options used for target software building to GCC target libs HOST_GCC_COMMON_CONF_ENV += CFLAGS_FOR_TARGET="$(GCC_COMMON_TARGET_CFLAGS)" HOST_GCC_COMMON_CONF_ENV += CXXFLAGS_FOR_TARGET="$(GCC_COMMON_TARGET_CXXFLAGS)"
Signature · 1 line
2.1.4
PATCH 1/1 Revert "package/gcc: fix libgcc build for xtensa"
Max, All,
On 2016-03-11 04:34 +0300, Max Filippov spake thusly:
Quoted 3 lines
This reverts commit
c44cf2cc97df1729577263d2b0cb5263e8cdc4c1. Now that xtensa gas don't move literals into .init and .fini this fix is no longer needed.
Do you have an upstream reference with that fix?
Regards,
Yann E. MORIN.
Quoted 30 lines
Signed-off-by Max Filippov <[email protected]>--- package/gcc/gcc.mk | 7 ------- 1 file changed, 7 deletions(-)package/gcc/gcc.mk +0
-7@@ -97,13 +97,6 @@ HOST_GCC_COMMON_CONF_ENV = \ GCC_COMMON_TARGET_CFLAGS = $(TARGET_CFLAGS) GCC_COMMON_TARGET_CXXFLAGS = $(TARGET_CXXFLAGS) -# Xtensa libgcc can't be built with -mauto-litpools -# because of the trick used to generate .init/.fini sections. -ifeq ($(BR2_xtensa),y) -GCC_COMMON_TARGET_CFLAGS = $(filter-out -mauto-litpools,$(TARGET_CFLAGS)) -GCC_COMMON_TARGET_CXXFLAGS = $(filter-out -mauto-litpools,$(TARGET_CXXFLAGS)) -endif - # Propagate options used for target software building to GCC target libs HOST_GCC_COMMON_CONF_ENV += CFLAGS_FOR_TARGET="$(GCC_COMMON_TARGET_CFLAGS)" HOST_GCC_COMMON_CONF_ENV += CXXFLAGS_FOR_TARGET="$(GCC_COMMON_TARGET_CXXFLAGS)"Signature · 6 lines
2.1.4 _______________________________________________ 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. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 Revert "package/gcc: fix libgcc build for xtensa"
Hi Yann,
Quoted 8 lines · Yann E. MORIN
Max, All,
On 2016-03-11 04:34 +0300, Max Filippov spake thusly:
Quoted 3 lines
This reverts commit
c44cf2cc97df1729577263d2b0cb5263e8cdc4c1. Now that xtensa gas don't move literals into .init and .fini this fix is no longer needed.Do you have an upstream reference with that fix?
It's 4111950f363221c4641dc2f33bea61cc94f34906 ,
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=4111950f363221c4641dc2f33bea61cc94f34906
backported to all supported binutils as
*-xtensa-fix-.init-.fini-literals-moving.patch
Signature · 2 lines
Thanks. -- Max
PATCH 1/1 Revert "package/gcc: fix libgcc build for xtensa"
In reply to Max FilippovHello,
Quoted 8 lines · Max Filippov
This reverts commit
c44cf2cc97df1729577263d2b0cb5263e8cdc4c1. Now that xtensa gas don't move literals into .init and .fini this fix is no longer needed.Signed-off-by Max Filippov <[email protected]>--- package/gcc/gcc.mk | 7 ------- 1 file changed, 7 deletions(-)
I've added a few more details in the commit, as suggested by Yann, and using the info you provided as a reply to Yann. Then I applied, of course.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com