Changes between Initial Version and Version 2 of Ticket #49160


Ignore:
Timestamp:
Oct 8, 2015, 2:39:45 AM (9 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

As far as I know, the version of tcl bundled with MacPorts is stock, with no modifications.

You should report the bug to the developers of Tcl, because you are the one experiencing the problem.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49160

    • Property Priority changed from Normal to Low
    • Property Summary changed from [FWIW] "base" and port:MacPorts fail to build with -flto to base fails to build with -flto
    • Property Port MacPorts removed
  • Ticket #49160 – Description

    initial v2  
    55That appears to be because of the test for the availability of the pthread*_np functions succeeds because the link-optimiser suppresses the actual symbol tested for from the test app. Looking at the test code this appears to be something any good optimiser would (or could) do; after cleanup the test "payload" looks like this:
    66
     7{{{
    78main()
    89{
     
    1112        return f != pthread_getattr_np;
    1213}
     14}}}
    1315
    1416In other words, the main function should always return true, the actual value of the variable (including "undefined") is moot for the test result.