digitalmars.D.announce - LDC+Dub+Vibe.d work on SmartOS 64bit now
- Alexandr Basko (14/14) Jun 08 2016 At first, we have build ldc-lts-master on OmniOS(32bit arch). We
- Joakim (4/20) Jun 08 2016 Have you run the standard library's tests? There was a thread
- Oleg Nykytenko (11/14) Jun 08 2016 We haven't run library's tests.
- Joakim (5/20) Jun 08 2016 That's great to hear. :) If I were you though, I'd at least
- Alexandr Basko (3/23) Jun 08 2016 Ok. I try to run these tests on server. Tomorrow i will post
- Alexandr Basko (100/125) Jun 09 2016 Some tests failed. More than that, they walked to the
- Joakim (6/14) Jun 09 2016 Until you figure it out, you can skip a module's tests with ctest
- Alexandr Basko (3/21) Jun 09 2016 I will do these tests (according your recommendations) again on
- Alexandr Basko (3/28) Jun 15 2016 I have made tests, but some tests failed. We are analyzing
- Johan Engelen (7/21) Jun 08 2016 Are you interested in running a buildbot for LDC on your platform
- Oleg Nykytenko (5/7) Jun 09 2016 Yes, interested. But our servers can't to use for this purpose.
- flamencofantasy (2/22) Jun 20 2016 What are the system requirements for a SmartOS buildbot?
- flamencofantasy (3/19) Jun 08 2016 Excellent! Please post a howto. I would very much like to move my
- Alexandr Basko (3/7) Jun 08 2016 Can I post howto in this thread? If yes, than i`m post it
- flamencofantasy (3/13) Jun 08 2016 Yes, please. Or if that's too much trouble just send to my email.
- Alexandr Basko (4/19) Jun 09 2016 I wrote and post howto on
- flamencofantasy (37/59) Jun 10 2016 Thank you very much!
- Oleg Nykytenko (8/9) Jun 10 2016 I think need install libevent.
- Alexandr Basko (2/11) Jun 12 2016 Sorry this is my misprint. I already corrected howto
- Oleg Nykytenko (3/13) Jun 10 2016 My pull request with fix this issue merged to version 0.7.29. Use
- Alexandr Basko (5/11) Jun 12 2016 You only need to install additional package libevent.
- flamencofantasy (5/19) Jun 14 2016 Yes, it all works now. The only thing I noticed is build time of
- Johan Engelen (3/13) Jun 08 2016 You could make a new page on the wiki so the Howto will be easier
At first, we have build ldc-lts-master on OmniOS(32bit arch). We did some corrections in AddLLVM.cmake file for build llvm_3.8. And soon we have received working "Hello world" on Dlang. But when we try to build vibe.d it fall down. We should had do some corrections in vide.d source. After this vibe.d began working on OmniOS and SmartOS 32bit. But in SmartOS 64 bit not only vibe.d not compiling, even "Hello world" not working. Many hours of analyzing and correcting errors during build bring success. Vibe.d works fine with libevent configuration in OmniOS, SmartOS 32bit and SmartOS 64bit. All corrections are commited to druntime, phobos and vibe.d by Nykytenko Oleg. PS. If anybody need more details, we will be happy to help and write completely "HOWTO"
Jun 08 2016
On Wednesday, 8 June 2016 at 08:00:03 UTC, Alexandr Basko wrote:At first, we have build ldc-lts-master on OmniOS(32bit arch). We did some corrections in AddLLVM.cmake file for build llvm_3.8. And soon we have received working "Hello world" on Dlang. But when we try to build vibe.d it fall down. We should had do some corrections in vide.d source. After this vibe.d began working on OmniOS and SmartOS 32bit. But in SmartOS 64 bit not only vibe.d not compiling, even "Hello world" not working. Many hours of analyzing and correcting errors during build bring success. Vibe.d works fine with libevent configuration in OmniOS, SmartOS 32bit and SmartOS 64bit. All corrections are commited to druntime, phobos and vibe.d by Nykytenko Oleg. PS. If anybody need more details, we will be happy to help and write completely "HOWTO"Have you run the standard library's tests? There was a thread last summer about this: http://forum.dlang.org/thread/zhcduibirwprgbzqkpvy forum.dlang.org
Jun 08 2016
On Wednesday, 8 June 2016 at 08:43:59 UTC, Joakim wrote:Have you run the standard library's tests? There was a thread last summer about this: http://forum.dlang.org/thread/zhcduibirwprgbzqkpvy forum.dlang.orgWe haven't run library's tests. What right way to run this tests? But: We ported our sufficiently big server application from Linux to SmartOS x64. All application tests is OK. Application working now on testing server in production like regime under full load. And it's working fine. We're planning to use it in production in future. Vibe.d simple http/https/web test applications work fine too.
Jun 08 2016
On Wednesday, 8 June 2016 at 10:06:00 UTC, Oleg Nykytenko wrote:On Wednesday, 8 June 2016 at 08:43:59 UTC, Joakim wrote:That's great to hear. :) If I were you though, I'd at least double-check by running the ldc tests, as I don't think others are using that platform. With ldc, I believe it's just "make test".Have you run the standard library's tests? There was a thread last summer about this: http://forum.dlang.org/thread/zhcduibirwprgbzqkpvy forum.dlang.orgWe haven't run library's tests. What right way to run this tests? But: We ported our sufficiently big server application from Linux to SmartOS x64. All application tests is OK. Application working now on testing server in production like regime under full load. And it's working fine. We're planning to use it in production in future. Vibe.d simple http/https/web test applications work fine too.
Jun 08 2016
On Wednesday, 8 June 2016 at 11:30:50 UTC, Joakim wrote:On Wednesday, 8 June 2016 at 10:06:00 UTC, Oleg Nykytenko wrote:Ok. I try to run these tests on server. Tomorrow i will post results, then i came back to working placeOn Wednesday, 8 June 2016 at 08:43:59 UTC, Joakim wrote:That's great to hear. :) If I were you though, I'd at least double-check by running the ldc tests, as I don't think others are using that platform. With ldc, I believe it's just "make test".[...]We haven't run library's tests. What right way to run this tests? But: We ported our sufficiently big server application from Linux to SmartOS x64. All application tests is OK. Application working now on testing server in production like regime under full load. And it's working fine. We're planning to use it in production in future. Vibe.d simple http/https/web test applications work fine too.
Jun 08 2016
On Wednesday, 8 June 2016 at 13:30:26 UTC, Alexandr Basko wrote:On Wednesday, 8 June 2016 at 11:30:50 UTC, Joakim wrote:Some tests failed. More than that, they walked to the core.sync.semaphore test and frozen on it (no more resources are eating by OS from last evening: PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP 74206 root 7376K 3564K sleep 56 0 0:00:00 0.0% druntime-test-r And I don't know why? :-( Other results are: gmake test Running tests... Test project /root/work/test_ldc Start 1: build-druntime-ldc-unittest Passed 611.86 sec Start 2: build-druntime-test-runner Passed 1.43 sec Start 3: build-phobos2-ldc-unittest ..................***Failed 525.34 sec Start 4: build-phobos2-test-runner ...................***Failed 0.43 sec Start 5: build-druntime-ldc-unittest-debug Passed 70.82 sec Start 6: build-druntime-test-runner-debug Passed 1.41 sec Start 7: build-phobos2-ldc-unittest-debug ............***Failed 125.51 sec Start 8: build-phobos2-test-runner-debug .............***Failed 0.30 sec Start 9: core.simd Passed 0.01 sec Start 10: core.exception Passed 0.01 sec Start 11: core.atomic Passed 0.01 sec Start 12: core.memory Passed 0.01 sec Start 13: core.bitop Passed 0.02 sec Start 14: core.cpuid Passed 0.01 sec Start 15: core.time ...................................***Failed 0.01 sec Start 16: core.demangle Passed 0.01 sec Start 17: core.checkedint Passed 0.01 sec Start 18: core.thread Passed 0.12 sec Start 19: core.runtime Passed 0.01 sec Start 20: core.math Passed 0.01 sec Start 21: core.vararg Passed 0.01 sec Start 22: core.internal.hash Passed 0.01 sec Start 23: core.internal.traits Passed 0.01 sec Start 24: core.internal.convert Passed 0.01 sec Start 25: core.sync.rwmutex Passed 0.01 sec Start 26: core.sync.config Passed 0.01 sec Start 27: core.sync.mutex Passed 0.01 sec Start 28: core.sync.condition Passed 0.02 sec Start 29: core.sync.semaphore If need more details, I have log for this tests.On Wednesday, 8 June 2016 at 10:06:00 UTC, Oleg Nykytenko wrote:Ok. I try to run these tests on server. Tomorrow i will post results, then i came back to working placeOn Wednesday, 8 June 2016 at 08:43:59 UTC, Joakim wrote:That's great to hear. :) If I were you though, I'd at least double-check by running the ldc tests, as I don't think others are using that platform. With ldc, I believe it's just "make test".[...]We haven't run library's tests. What right way to run this tests? But: We ported our sufficiently big server application from Linux to SmartOS x64. All application tests is OK. Application working now on testing server in production like regime under full load. And it's working fine. We're planning to use it in production in future. Vibe.d simple http/https/web test applications work fine too.
Jun 09 2016
On Thursday, 9 June 2016 at 12:48:24 UTC, Alexandr Basko wrote:On Wednesday, 8 June 2016 at 13:30:26 UTC, Alexandr Basko wrote:Until you figure it out, you can skip a module's tests with ctest -E, ie "ctest -E core.sync.semaphore".[...]Some tests failed. More than that, they walked to the core.sync.semaphore test and frozen on it (no more resources are eating by OS from last evening: [...]Other results are: [...]You may need to add some library flags for curl, as I did last summer: http://forum.dlang.org/post/eipycgdrrjtuuyglppfk forum.dlang.org
Jun 09 2016
On Thursday, 9 June 2016 at 14:25:07 UTC, Joakim wrote:On Thursday, 9 June 2016 at 12:48:24 UTC, Alexandr Basko wrote:I will do these tests (according your recommendations) again on Monday and post results here after getting them.On Wednesday, 8 June 2016 at 13:30:26 UTC, Alexandr Basko wrote:Until you figure it out, you can skip a module's tests with ctest -E, ie "ctest -E core.sync.semaphore".[...]Some tests failed. More than that, they walked to the core.sync.semaphore test and frozen on it (no more resources are eating by OS from last evening: [...]Other results are: [...]You may need to add some library flags for curl, as I did last summer: http://forum.dlang.org/post/eipycgdrrjtuuyglppfk forum.dlang.org
Jun 09 2016
On Thursday, 9 June 2016 at 19:37:29 UTC, Alexandr Basko wrote:On Thursday, 9 June 2016 at 14:25:07 UTC, Joakim wrote:I have made tests, but some tests failed. We are analyzing errors, and will done all for tests passed.On Thursday, 9 June 2016 at 12:48:24 UTC, Alexandr Basko wrote:I will do these tests (according your recommendations) again on Monday and post results here after getting them.On Wednesday, 8 June 2016 at 13:30:26 UTC, Alexandr Basko wrote:Until you figure it out, you can skip a module's tests with ctest -E, ie "ctest -E core.sync.semaphore".[...]Some tests failed. More than that, they walked to the core.sync.semaphore test and frozen on it (no more resources are eating by OS from last evening: [...]Other results are: [...]You may need to add some library flags for curl, as I did last summer: http://forum.dlang.org/post/eipycgdrrjtuuyglppfk forum.dlang.org
Jun 15 2016
On Wednesday, 8 June 2016 at 10:06:00 UTC, Oleg Nykytenko wrote:On Wednesday, 8 June 2016 at 08:43:59 UTC, Joakim wrote:Are you interested in running a buildbot for LDC on your platform to detect issues early? See: http://forum.dlang.org/thread/hikcbbqqnpvvyirxgzxu forum.dlang.org Thanks, JohanHave you run the standard library's tests? There was a thread last summer about this: http://forum.dlang.org/thread/zhcduibirwprgbzqkpvy forum.dlang.orgWe haven't run library's tests. What right way to run this tests? But: We ported our sufficiently big server application from Linux to SmartOS x64. All application tests is OK. Application working now on testing server in production like regime under full load. And it's working fine. We're planning to use it in production in future.
Jun 08 2016
On Wednesday, 8 June 2016 at 15:35:32 UTC, Johan Engelen wrote:Are you interested in running a buildbot for LDC on your platform to detect issues early?Yes, interested. But our servers can't to use for this purpose. They use for data acquisition from electrical substation's automation system and do not have access from Internet for sequrity reasons.
Jun 09 2016
On Wednesday, 8 June 2016 at 15:35:32 UTC, Johan Engelen wrote:On Wednesday, 8 June 2016 at 10:06:00 UTC, Oleg Nykytenko wrote:What are the system requirements for a SmartOS buildbot?On Wednesday, 8 June 2016 at 08:43:59 UTC, Joakim wrote:Are you interested in running a buildbot for LDC on your platform to detect issues early? See: http://forum.dlang.org/thread/hikcbbqqnpvvyirxgzxu forum.dlang.org Thanks, Johan[...]We haven't run library's tests. What right way to run this tests? But: We ported our sufficiently big server application from Linux to SmartOS x64. All application tests is OK. Application working now on testing server in production like regime under full load. And it's working fine. We're planning to use it in production in future.
Jun 20 2016
On Wednesday, 8 June 2016 at 08:00:03 UTC, Alexandr Basko wrote:At first, we have build ldc-lts-master on OmniOS(32bit arch). We did some corrections in AddLLVM.cmake file for build llvm_3.8. And soon we have received working "Hello world" on Dlang. But when we try to build vibe.d it fall down. We should had do some corrections in vide.d source. After this vibe.d began working on OmniOS and SmartOS 32bit. But in SmartOS 64 bit not only vibe.d not compiling, even "Hello world" not working. Many hours of analyzing and correcting errors during build bring success. Vibe.d works fine with libevent configuration in OmniOS, SmartOS 32bit and SmartOS 64bit. All corrections are commited to druntime, phobos and vibe.d by Nykytenko Oleg. PS. If anybody need more details, we will be happy to help and write completely "HOWTO"Excellent! Please post a howto. I would very much like to move my server from an LX branded zone to SmartOS.
Jun 08 2016
On Wednesday, 8 June 2016 at 12:19:08 UTC, flamencofantasy wrote:On Wednesday, 8 June 2016 at 08:00:03 UTC, Alexandr Basko wrote:Can I post howto in this thread? If yes, than i`m post it tomorrow also[...]Excellent! Please post a howto. I would very much like to move my server from an LX branded zone to SmartOS.
Jun 08 2016
On Wednesday, 8 June 2016 at 13:41:59 UTC, Alexandr Basko wrote:On Wednesday, 8 June 2016 at 12:19:08 UTC, flamencofantasy wrote:Yes, please. Or if that's too much trouble just send to my email. Thanks!On Wednesday, 8 June 2016 at 08:00:03 UTC, Alexandr Basko wrote:Can I post howto in this thread? If yes, than i`m post it tomorrow also[...]Excellent! Please post a howto. I would very much like to move my server from an LX branded zone to SmartOS.
Jun 08 2016
On Wednesday, 8 June 2016 at 14:13:48 UTC, flamencofantasy wrote:On Wednesday, 8 June 2016 at 13:41:59 UTC, Alexandr Basko wrote:I wrote and post howto on https://wiki.dlang.org/LDC%2BDub%2BVibe.d_on_SmartOS_64bit. It need to format, but it fully functional.On Wednesday, 8 June 2016 at 12:19:08 UTC, flamencofantasy wrote:Yes, please. Or if that's too much trouble just send to my email. Thanks!On Wednesday, 8 June 2016 at 08:00:03 UTC, Alexandr Basko wrote:Can I post howto in this thread? If yes, than i`m post it tomorrow also[...]Excellent! Please post a howto. I would very much like to move my server from an LX branded zone to SmartOS.
Jun 09 2016
On Thursday, 9 June 2016 at 12:30:30 UTC, Alexandr Basko wrote:On Wednesday, 8 June 2016 at 14:13:48 UTC, flamencofantasy wrote:Thank you very much! I followed the instructions and I was able to build ldc, dub but not vibe.d's examples. I get some errors, in one case I get this; Performing "debug" build using ldc2 for x86_64. vibe-d:utils 0.7.30-alpha.2+commit.13.g4fcdbe9: target for configuration "library" is up to date. vibe-d:data 0.7.30-alpha.2+commit.13.g4fcdbe9: target for configuration "library" is up to date. vibe-d:core 0.7.30-alpha.2+commit.13.g4fcdbe9: target for configuration "libevent" is up to date. vibe-d:http 0.7.30-alpha.2+commit.13.g4fcdbe9: target for configuration "library" is up to date. http-server-example ~master: building configuration "application"... ld: fatal: library -levent: not found ld: fatal: library -levent_pthreads: not found ld: fatal: file processing errors. No output written to .dub/build/application-debug-posix.solaris-x86_64-ldc_0-A00A2E31B9B960EA3878168DFC41B6A8/http-server-example collect2: error: ld returned 1 exit status Error: /opt/local/bin/gcc failed with status: 1 ldc2 failed with exit code 1. In another one I get the following; Performing "debug" build using ldc2 for x86_64. vibe-d:utils 0.7.28: target for configuration "library" is up to date. vibe-d:data 0.7.28: target for configuration "library" is up to date. vibe-d:core 0.7.28: building configuration "libevent"... ../../../.dub/packages/vibe-d-0.7.28/vibe-d/source/vibe/core/core.d(570): Error: static assert "Unsupported OS!" ldc2 failed with exit code 1. I'll see if I can figure out what's happening sometime later when I have more time. Thanks again!On Wednesday, 8 June 2016 at 13:41:59 UTC, Alexandr Basko wrote:I wrote and post howto on https://wiki.dlang.org/LDC%2BDub%2BVibe.d_on_SmartOS_64bit. It need to format, but it fully functional.On Wednesday, 8 June 2016 at 12:19:08 UTC, flamencofantasy wrote:Yes, please. Or if that's too much trouble just send to my email. Thanks!On Wednesday, 8 June 2016 at 08:00:03 UTC, Alexandr Basko wrote:Can I post howto in this thread? If yes, than i`m post it tomorrow also[...]Excellent! Please post a howto. I would very much like to move my server from an LX branded zone to SmartOS.
Jun 10 2016
On Friday, 10 June 2016 at 21:40:22 UTC, flamencofantasy wrote:ld: fatal: library -levent: not foundI think need install libevent. In howto on https://wiki.dlang.org/LDC%2BDub%2BVibe.d_on_SmartOS_64bit. I think misprint in line: gcc49-libs unzip libconfig livevent change "livevent" -> "libevent".
Jun 10 2016
On Friday, 10 June 2016 at 22:20:20 UTC, Oleg Nykytenko wrote:On Friday, 10 June 2016 at 21:40:22 UTC, flamencofantasy wrote:Sorry this is my misprint. I already corrected howtold: fatal: library -levent: not foundI think need install libevent. In howto on https://wiki.dlang.org/LDC%2BDub%2BVibe.d_on_SmartOS_64bit. I think misprint in line: gcc49-libs unzip libconfig livevent change "livevent" -> "libevent".
Jun 12 2016
On Friday, 10 June 2016 at 21:40:22 UTC, flamencofantasy wrote:In another one I get the following; Performing "debug" build using ldc2 for x86_64. vibe-d:utils 0.7.28: target for configuration "library" is up to date. vibe-d:data 0.7.28: target for configuration "library" is up to date. vibe-d:core 0.7.28: building configuration "libevent"... ../../../.dub/packages/vibe-d-0.7.28/vibe-d/source/vibe/core/core.d(570): Error: static assert "Unsupported OS!" ldc2 failed with exit code 1.My pull request with fix this issue merged to version 0.7.29. Use please version 0.7.29 or higher.
Jun 10 2016
On Friday, 10 June 2016 at 21:40:22 UTC, flamencofantasy wrote:On Thursday, 9 June 2016 at 12:30:30 UTC, Alexandr Basko wrote:You only need to install additional package libevent. Nothing else need to change, your project will be builded with vibe.d version > 0.7.30-alpha1[...]Thank you very much! I followed the instructions and I was able to build ldc, dub but not vibe.d's examples. [...]
Jun 12 2016
On Monday, 13 June 2016 at 06:10:22 UTC, Alexandr Basko wrote:On Friday, 10 June 2016 at 21:40:22 UTC, flamencofantasy wrote:Yes, it all works now. The only thing I noticed is build time of my project has increased to a few minutes up from a few seconds when using DMD. But overall I am very happy. Thanks!On Thursday, 9 June 2016 at 12:30:30 UTC, Alexandr Basko wrote:You only need to install additional package libevent. Nothing else need to change, your project will be builded with vibe.d version > 0.7.30-alpha1[...]Thank you very much! I followed the instructions and I was able to build ldc, dub but not vibe.d's examples. [...]
Jun 14 2016
On Wednesday, 8 June 2016 at 13:41:59 UTC, Alexandr Basko wrote:On Wednesday, 8 June 2016 at 12:19:08 UTC, flamencofantasy wrote:You could make a new page on the wiki so the Howto will be easier to locate.On Wednesday, 8 June 2016 at 08:00:03 UTC, Alexandr Basko wrote:Can I post howto in this thread? If yes, than i`m post it tomorrow also[...]Excellent! Please post a howto. I would very much like to move my server from an LX branded zone to SmartOS.
Jun 08 2016