uclibc: do not enable DODEBUG
PATCH 1/1 uclibc: do not enable DODEBUG
The DODEBUG configuration option in uClibc is broken, even for widely used architectures like ARM. Therefore, any Buildroot configuration that has BR2_ENABLE_DEBUG enabled and uses uClibc with the internal toolchain backend will fail, with an error like:
http://autobuild.buildroot.net/results/d34/d34238c209cf2ef63371a598ab9218165c90f864/build-end.log
This error was also reported recently by a Buildroot user.
--- package/uclibc/uclibc.mk | 9 --------- 1 file changed, 9 deletions(-)
package/uclibc/uclibc.mk +0 -9
@@ -391,14 +391,6 @@ UCLIBC_WCHAR_CONFIG = $(call UCLIBC_OPT_UNSET,UCLIBC_HAS_WCHAR,$(@D)) endif # -# debug -# - -ifeq ($(BR2_ENABLE_DEBUG),y) -UCLIBC_DEBUG_CONFIG = $(call UCLIBC_OPT_SET,DODEBUG,y,$(@D)) -endif - -# # strip #
@@ -448,7 +440,6 @@ define UCLIBC_SETUP_DOT_CONFIG $(UCLIBC_LOCALE_CONFIG) $(UCLIBC_WCHAR_CONFIG) $(UCLIBC_STRIP_CONFIG) - $(UCLIBC_DEBUG_CONFIG) yes "" | $(MAKE1) -C $(@D) \ $(UCLIBC_MAKE_FLAGS) \ PREFIX=$(STAGING_DIR) \
Signature · 1 line
1.8.1.2
PATCH 1/1 uclibc: do not enable DODEBUG
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
The DODEBUG configuration option in uClibc is broken, even for widely used architectures like ARM. Therefore, any Buildroot configuration that has
BR2_ENABLE_DEBUGenabled and uses uClibc with the internal toolchain backend will fail, with an error like:
Quoted 5 lines
http://autobuild.buildroot.net/results/d34/d34238c209cf2ef63371a598ab9218165c90f864/build-end.log
This error was also reported recently by a Buildroot user.
Signed-off-by Thomas Petazzoni <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard