Skip to content
Tcl Source Code View Ticket
Login

View Ticket

-mdynamic-no-pic not supported on Apple Silicon

Closed / Fixed97b8e1d54ba6f9a0b7f0712310f79faf70788a49Created 5 years agoUpdated 5 years ago
Descriptionplain2021-11-27 22:29:49
The macOS configure script always adds -mdynamic-no-pic to the build, but this option is not available on Apple Silicon:

- https://github.com/iains/gcc-darwin-arm64/issues/55#issuecomment-980795386

It appears that clang silently ignores it, and GCC will probably too, but it would be still preferable for the configure script to not issue it at all.
Referenced by1
jan.nijtmanswiki2021-11-28 22:07:08

Although very unlikely that Tcl 8.6.12 still works on 32-bit intel Mac (or even earlier), fixed now for Tcl 8.7. I see that a workaround for (Darwin) gcc is already implemented, so there is no urge to fix it in 8.6 too. But knowing that there no longer will be support for this option, better removed it for 8.7. Done now.

Thanks for the report!

chrstphrchvzwiki2021-12-09 12:05:57

For anyone curious, MacPorts was able to build Tcl 8.6.12 and various extensions for macOS 10.6 Snow Leopard on 32-bit Intel: https://ports.macports.org/port/tcl/details/

Log in (anonymous is fine) to add a comment.