Opened 3 years ago

Last modified 3 years ago

#65105 assigned defect

arm-none-eabi-gdb @12.1: error: thread-local storage is unsupported for the current target

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: arm-none-eabi-gdb

Description

https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/186659/steps/install-port/logs/stdio

error: thread-local storage is unsupported for the current target
  static thread_local char buf[1024];
         ^
1 error generated.

Using configure.thread_local_storage yes should tell MacPorts to pick a TLS-compatible compiler.

Change History (8)

comment:1 Changed 3 years ago by Vadym-Valdis Yudaiev (Glory to Ukraine) <judaew@…>

In 82f67c0d68f8d5abbc9918c51e80671b25c32301/macports-ports (master):

crossgdb PG: Pick a TLS-compatible compiler

See #65105

comment:2 Changed 3 years ago by blair (Blair Zajac)

It appears that With the above commit I'm now getting this error from portindex:

Creating port index in /Users/blairzajac/Code/MacPorts/macports-ports.git
Failed to parse file cross/arm-none-eabi-gdb/Portfile: invalid command name "configure.thread_local_storage"
Failed to parse file cross/avr-gdb/Portfile: invalid command name "configure.thread_local_storage"

Did you mean compiler.thread_local_storage rather than configure.thread_local_storage ?

comment:3 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)

Version 0, edited 3 years ago by judaew (Vadym-Valdis Yudaiev) (next)

comment:4 in reply to:  2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to blair:

Did you mean compiler.thread_local_storage rather than configure.thread_local_storage ?

Indeed I did; sorry about that.

comment:5 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)

Since the change was in PG (crossgdb), the builder didn't build the port after this error. May be need to bump revision?

comment:6 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Increasing the revision would not be appropriate unless the preceding change changes what the port installs. (Consult the documentation about revision in the guide.) Any change to a portfile, even a whitespace change, will trigger a build if one is needed. Even more preferable would be to force a build using the buildbot web interface. I've forced a build of arm-none-eabi-gdb now: 10.9, 10.11. If other ports that use the portgroup need builds forced as well, we can do that too.

comment:7 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)

Thank you, Ryan. The avr-gdb port also uses this portgroup. Please, help force a build of this port too.

comment:8 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

10.6 i386 (fail due to #65111), 10.9 (success), 10.11 (fail), 12 arm64 (fail).

Note: See TracTickets for help on using tickets.