Changes between Initial Version and Version 2 of Ticket #49160
- Timestamp:
- Oct 8, 2015, 2:39:45 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49160
-
Property
Priority
changed from
Normal
toLow
-
Property
Summary
changed from
[FWIW] "base" and port:MacPorts fail to build with -flto
tobase fails to build with -flto
- Property Port MacPorts removed
-
Property
Priority
changed from
-
Ticket #49160 – Description
initial v2 5 5 That 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: 6 6 7 {{{ 7 8 main() 8 9 { … … 11 12 return f != pthread_getattr_np; 12 13 } 14 }}} 13 15 14 16 In other words, the main function should always return true, the actual value of the variable (including "undefined") is moot for the test result.