[MacPorts] #38833: gcc4* (gcc47/gcc48 at least) - future/promise code always fails with segmentation fault 11
#38833: gcc4* (gcc47/gcc48 at least) - future/promise code always fails with segmentation fault 11 -------------------------+-------------------------------- Reporter: wuyongwei@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: gcc | Port: gcc48 -------------------------+-------------------------------- It seems any code using `std::future` or `std::promise` will fail with a segmentation fault. My searching for answers led to the question on StackOverflow. It seems many people have this problem. http://stackoverflow.com/questions/15778085/is-stdpromise-broken-on-my- machine-using-g-mp As far as I know, such code does not even compile on Windows (w/ MinGW). On Linux, such code works very well. On Mac, it compiles but then fails. I do not think the OS/Xcode version matters. Just for the record, the info is as below: OS: OS X 10.7.5[[BR]] Xcode: 10.6.1 -- Ticket URL: <https://trac.macports.org/ticket/38833> MacPorts <http://www.macports.org/> Ports system for OS X
#38833: gcc4* (gcc47/gcc48 at least) - future/promise code always fails with segmentation fault 11 --------------------------+------------------- Reporter: wuyongwei@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: gcc48 | --------------------------+------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => mww@… * cc: jeremyhu@… (added) * keywords: gcc => Comment: In the future, please Cc the port maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/38833#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38833: gcc4* (gcc47/gcc48 at least) - future/promise code always fails with segmentation fault 11 --------------------------+-------------------- Reporter: wuyongwei@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: duplicate | Keywords: Port: gcc48 | --------------------------+-------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => duplicate Comment: #38814 -- Ticket URL: <https://trac.macports.org/ticket/38833#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts