Skip to contentSkip to conversation

package/uclibc-ng-test: disable TLS for nios2

PATCH New Fabrice Fontaine 2 participants 2 messages Nov 28, 2020 – Dec 21, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/uclibc-ng-test: disable TLS for nios2

Disable TLS for nios2 to avoid the following build failure:

In file included from tst-tls1.c:6:
tls-macros.h:101:3: error: #error "No support for this architecture so far."

 # error "No support for this architecture so far."
   ^~~~~

Fixes:
- http://autobuild.buildroot.org/results/303e50d996b7261896f163418831fabb40779ff5

---
 package/uclibc-ng-test/uclibc-ng-test.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/uclibc-ng-test/uclibc-ng-test.mk +1 -1
index 9f866f5d71..7ebc5bbcf9 100644
@@ -39,7 +39,7 @@ ifeq ($(BR2_STATIC_LIBS),y)
 UCLIBC_NG_TEST_MAKE_ENV += NO_TLS=1 NO_NPTL=1 NO_DL=1
 endif
 # no TLS macros available
-ifeq ($(BR2_nds32)$(BR2_s390x),y)
+ifeq ($(BR2_nds32)$(BR2_nios2)$(BR2_s390x),y)
 UCLIBC_NG_TEST_MAKE_ENV += NO_TLS=1
 endif
 
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 package/uclibc-ng-test: disable TLS for nios2

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Disable TLS for nios2 to avoid the following build failure:
In file included from tst-tls1.c:6:
tls-macros.h:101:3: error: #error "No support for this architecture so far."

Quoted 7 lines
 # error "No support for this architecture so far."
   ^~~~~

Fixes:
- http://autobuild.buildroot.org/results/303e50d996b7261896f163418831fabb40779ff5

Committed to 2020.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard