View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013973CMakeModulespublic2013-03-04 04:342015-04-06 09:07
Reporterdiger 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
Platformx86-x86_64OSHaikuOS Version1
Product VersionCMake 2.8.10 
Target VersionFixed in Version 
Summary0013973: patch for fix FindThreads on haiku
DescriptionThis patch workarounds issue with pthreads on Haiku platform. The source of problem was that pthreads support is implemented in libroot.
TagsNo tags attached.
Attached Files? file icon patch-Modules_FindThreads.cmake [^] (423 bytes) 2013-03-04 04:34

 Relationships

  Notes
(0032432)
Rolf Eike Beer (developer)
2013-03-04 04:54

libroot is not automatically linked?
(0032507)
diger (reporter)
2013-03-05 04:27

Looks like it is not linked automatically. Should it do this?
(0032510)
Rolf Eike Beer (developer)
2013-03-05 11:59

No idea, just because "root" is such a basic name I assumed it could be.
(0032517)
diger (reporter)
2013-03-06 05:34

http://ports.haiku-files.org/wiki/CommonProblems [^]
(0032518)
Rolf Eike Beer (developer)
2013-03-06 06:13

This suggests that libroot should be automatically linked in.
(0032524)
diger (reporter)
2013-03-06 15:00

how? CMAKE defines haiku as Unix. Of course when testing for the presence of threads using the flag -lpthread! But there is no such library of Haiku.
(0032525)
Rolf Eike Beer (developer)
2013-03-06 15:16

I interpret this as "libroot is automatically linked":

> No -lm was encountered: The -lm refers to libm which isn't needed for Haiku or BeOS. As the math library is part of libroot, is linked by default, implicitly.

And the module says (and does) this, see line 48ff:

# Check if pthread functions are in normal C library
(0036987)
Rolf Eike Beer (developer)
2014-10-06 16:16

It has been reported on IRC by PulkoMandy that things work fine now on Haiku.
(0038420)
Robert Maynard (manager)
2015-04-06 09:07

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-03-04 04:34 diger New Issue
2013-03-04 04:34 diger File Added: patch-Modules_FindThreads.cmake
2013-03-04 04:54 Rolf Eike Beer Note Added: 0032432
2013-03-05 04:27 diger Note Added: 0032507
2013-03-05 11:59 Rolf Eike Beer Note Added: 0032510
2013-03-06 05:34 diger Note Added: 0032517
2013-03-06 06:13 Rolf Eike Beer Note Added: 0032518
2013-03-06 15:00 diger Note Added: 0032524
2013-03-06 15:16 Rolf Eike Beer Note Added: 0032525
2014-10-06 16:16 Rolf Eike Beer Note Added: 0036987
2014-10-06 16:16 Rolf Eike Beer Status new => resolved
2014-10-06 16:16 Rolf Eike Beer Resolution open => fixed
2014-10-06 16:16 Rolf Eike Beer Category CMake => Modules
2015-04-06 09:07 Robert Maynard Note Added: 0038420
2015-04-06 09:07 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team