Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2021-12-09
12:05 • Ticket [97b8e1d54b] -mdynamic-no-pic not supported on Apple Silicon status s... artifact: 9fea2c474a user: chrstphrchvz
2021-11-28
22:07 • Closed ticket [97b8e1d54b]. artifact: aad3fa1630 user: jan.nijtmans
21:53
Fix [97b8e1d54b]: -mdynamic-no-pic not supported on Apple Silicon check-in: 010d43daee user: jan.nijtmans tags: core-8-branch
2021-11-27
22:29 • New ticket [97b8e1d54b] -mdynamic-no-pic not supported on Apple Silicon. artifact: dd3e182b39 user: ilg-ul

-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.