Re: [rust-dev] 0.5 prerelease testing
I've installed Windows XP 64bits (under VirtualBox), and I'm using the GCC suite from TDM because its 64-bits version works ok. http://tdm-gcc.tdragon.net/download I could install correctly the Rust through its installer, but when I run rustc it shows an error due it's unable to locate the library libgcc_s_dw2-1.dll El 20/12/12 20:22, John Mija escribió: I've Windows XP under VirtualBox. I'll test it tomorrow. El 20/12/12 20:05, Graydon Hoare escribió: On 12-12-20 03:34 AM, James Gao wrote: 7d818abf16c0061278658b8cfc6e0e0859885b5f *rust-0.5.tar.gz downloaded stage0 binary: *rust-0.5\dl\rust-stage0\bin\rustc.exe* is still failed to execute on *Win8 x64*. Error message is The application was unable to start correctly (0xc142). Click OK to close the application. The crash binary is extracted from the snapshot package *rust-stage0-2012-12-14-dbc52ce-winnt-i386-92ac1ac09a262a59f40160c9dcf535e1c8ea8e75.tar.bz2* Oh dear. That's somewhat worrying. Does anyone else have a windows machine they can test on? Our windows buildhosts are ok but there are a whole lot of flavours of windows out there. -Graydon ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
7d818abf16c0061278658b8cfc6e0e0859885b5f *rust-0.5.tar.gz downloaded stage0 binary: *rust-0.5\dl\rust-stage0\bin\rustc.exe* is still failed to execute on *Win8 x64*. Error message is The application was unable to start correctly (0xc142). Click OK to close the application. The crash binary is extracted from the snapshot package * rust-stage0-2012-12-14-dbc52ce-winnt-i386-92ac1ac09a262a59f40160c9dcf535e1c8ea8e75.tar.bz2 * On Thu, Dec 20, 2012 at 2:15 PM, Brian Anderson bander...@mozilla.comwrote: I created an issue for it at least: https://github.com/mozilla/rust/issues/4232 A suitably motivated individual should be able to get this working without too much hassle. Thanks again. - Original Message - From: Ralph Giles gi...@thaumas.net To: Lindsey Kuper lind...@rockstargirl.org Cc: Brian Anderson bander...@mozilla.com, rust-dev@mozilla.org Sent: Wednesday, December 19, 2012 9:30:36 PM Subject: Re: [rust-dev] 0.5 prerelease testing On 12-12-19 8:50 PM, Lindsey Kuper wrote: I don't think it should be impossible to make work, but I never had the energy to dig in, and I never supposed that anyone else cared about 10.5 -- apparently, I was wrong about that! :) I don't care that much, personally, it's not my primary system. Graydon just asked for broad testing. Apple's focus on supporting only the most recent two releases means it would be nice to have a language tool which worked across a wider range over OS versions though. Cheers, -r ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
On 12-12-20 03:34 AM, James Gao wrote: 7d818abf16c0061278658b8cfc6e0e0859885b5f *rust-0.5.tar.gz downloaded stage0 binary: *rust-0.5\dl\rust-stage0\bin\rustc.exe* is still failed to execute on *Win8 x64*. Error message is The application was unable to start correctly (0xc142). Click OK to close the application. The crash binary is extracted from the snapshot package *rust-stage0-2012-12-14-dbc52ce-winnt-i386-92ac1ac09a262a59f40160c9dcf535e1c8ea8e75.tar.bz2* Oh dear. That's somewhat worrying. Does anyone else have a windows machine they can test on? Our windows buildhosts are ok but there are a whole lot of flavours of windows out there. -Graydon ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
I've Windows XP under VirtualBox. I'll test it tomorrow. El 20/12/12 20:05, Graydon Hoare escribió: On 12-12-20 03:34 AM, James Gao wrote: 7d818abf16c0061278658b8cfc6e0e0859885b5f *rust-0.5.tar.gz downloaded stage0 binary: *rust-0.5\dl\rust-stage0\bin\rustc.exe* is still failed to execute on *Win8 x64*. Error message is The application was unable to start correctly (0xc142). Click OK to close the application. The crash binary is extracted from the snapshot package *rust-stage0-2012-12-14-dbc52ce-winnt-i386-92ac1ac09a262a59f40160c9dcf535e1c8ea8e75.tar.bz2* Oh dear. That's somewhat worrying. Does anyone else have a windows machine they can test on? Our windows buildhosts are ok but there are a whole lot of flavours of windows out there. -Graydon ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
- Original Message - From: Graydon Hoare gray...@mozilla.com To: rust-dev@mozilla.org Sent: Thursday, December 20, 2012 2:53:58 PM Subject: Re: [rust-dev] 0.5 prerelease testing On 12-12-20 01:03 PM, Brian Anderson wrote: I'll test on Windows 7 x64 today. What's the status of the windows installers? Candidate builds are up: http://static.rust-lang.org/dist/rust-0.5-install.exe Tested on Windows 7 x64. The installer worked fine. Trying to extract the tarball results in this oddness: ``` $ tar xzf rust-0.5.tar.gz tar: rust-0.5/src/llvm/tools/clang/tools/scan-build/c++-analyzer: Cannot create symlink to `ccc-analyzer': No such file or directory tar: Exiting with failure status due to previous errors ``` ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
The same problem occurs, Win8 Ent RTM 64bit, chcp=936. I found that rustrt.dll depends on some MingW dll, which version of MingW should I use? On Fri, Dec 21, 2012 at 6:53 AM, Graydon Hoare gray...@mozilla.com wrote: Candidate builds are up: http://static.rust-lang.org/dist/rust-0.5-install.exe If windows folks want to give that a spin, much appreciated. ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
rustc.exe from installer is also crash, here I dump some information from WinDbg: 0:000 g (1d50.c1c): Access violation - code c005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. eax=43467590 ebx= ecx=43467590 edx=015b1470 esi=0115840c edi=0028fd24 eip=6fc65c3c esp=0028f8b8 ebp=0028f8bc iopl=0 nv up ei pl nz na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010206 *** ERROR: Symbol file could not be found. Defaulted to export symbols for d:\MinGW\bin\libstdc++-6.dll - libstdc___6!ZNKSs7_M_dataEv+0xc: 6fc65c3c 8b00mov eax,dword ptr [eax] ds:002b:43467590= *** ERROR: Symbol file could not be found. Defaulted to export symbols for D:\Rust-0.5\bin\rustllvm.dll - 0:000 lmvm libstdc___6 startendmodule name 6fc4 6fd41000 libstdc___6 (export symbols) d:\MinGW\bin\libstdc++-6.dll Loaded symbol image file: d:\MinGW\bin\libstdc++-6.dll Image path: d:\MinGW\bin\libstdc++-6.dll Image name: libstdc++-6.dll Timestamp:Tue Oct 16 20:45:19 2012 (507D56DF) CheckSum: 00105565 ImageSize:00101000 Translations: .04b0 .04e0 0409.04b0 0409.04e0 0:000 k ChildEBP RetAddr WARNING: Stack unwind information not available. Following frames may be wrong. *0028f8bc 6fc65b6f libstdc___6!ZNKSs7_M_dataEv+0xc* 0028f8c8 6fc8aa98 libstdc___6!ZNKSs6_M_repEv+0x13 0028f908 00f28c22 libstdc___6!ZNSs6assignERKSs+0x14 0028f948 00751167 rustllvm!LLVMMoveToNextSection+0x119fe 0028f988 77a42846 rustllvm+0x1167 0028f9a8 77a42893 ntdll!LdrGetProcedureAddressForCaller+0x1ab 0028f9f0 77a49cb3 ntdll!LdrGetProcedureAddressForCaller+0x1f8 0028fa74 77a49b87 ntdll!RtlIsCriticalSectionLockedByThread+0x1019 0028fa94 77a4abce ntdll!RtlIsCriticalSectionLockedByThread+0xeed 0028fabc 77a4abce ntdll!RtlAllocateActivationContextStack+0xa1 0028fae4 77a4e5b4 ntdll!RtlAllocateActivationContextStack+0xa1 0028fc98 77a4d900 ntdll!vsnwprintf+0xf7e 0028fcf0 77a4aa8f ntdll!vsnwprintf+0x2ca 0028fd00 77a4aa59 ntdll!LdrInitializeThunk+0x46 0028fd10 ntdll!LdrInitializeThunk+0x10 0:000 lm startendmodule name 0040 00409000 image0040 (deferred) 0075 014a8000 rustllvm (export symbols) D:\Rust-0.5\bin\rustllvm.dll 6190 61b43000 rustrt (deferred) 6300 631c8000 core_c3ca5d77d81b46c1_0_5 (deferred) 63c0 63f3b000 syntax_84efebcb12c867a2_0_5 (deferred) 66b8 66d37000 std_4782a756585a81_0_5 (deferred) 6a04 6aa5c000 rustc_c84825241471686d_0_5 (deferred) 6e94 6e964000 libgcc_s_dw2_1 (deferred) 6fc4 6fd41000 libstdc___6 (export symbols) d:\MinGW\bin\libstdc++-6.dll 7501 75061000 bcryptPrimitives (deferred) 7507 75079000 CRYPTBASE (deferred) 7508 7509c000 SspiCli(deferred) 750a 75151000 msvcrt (deferred) 7532 753ce000 ADVAPI32 (deferred) 753d 76496000 SHELL32(deferred) 766c 766f4000 sechost(deferred) 7676 7678 IMM32 (deferred) 7678 767c SHLWAPI(deferred) 76a5 76b66000 USER32 (deferred) 76c0 76cac000 RPCRT4 (deferred) 76cb 76d0 WS2_32 (deferred) 76eb 76ec2000 IMAGEHLP (deferred) 7708 7715d000 MSCTF (deferred) 7716 77296000 combase(deferred) 772a 772a6000 PSAPI (deferred) 7746 7759 KERNEL32 (deferred) 7759 77598000 NSI(deferred) 775c 776bd000 GDI32 (deferred) 7788 77926000 KERNELBASE (deferred) 779f 77b47000 ntdll (export symbols) C:\Windows\SYSTEM32\ntdll.dll On Fri, Dec 21, 2012 at 6:53 AM, Graydon Hoare gray...@mozilla.com wrote: Candidate builds are up: http://static.rust-lang.org/dist/rust-0.5-install.exe If windows folks want to give that a spin, much appreciated. ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
On 12-12-20 07:42 PM, James Gao wrote: Confirm the problem here is caused by incompatible version of libstdc++-6.dll, I copy an old version libstdc++-6.dll, then rustc works fine. Can we pack the correct libstdc++-6.dll in the installer and stage0 snapshot packages? I'm afraid not, not presently. We've struggled with this issue in previous releases and attempted to be as explicit as possible about dependencies on mingw in the meantime. We will be fixing it when we can. It bites us every single time. Thanks for your testing though. -Graydon ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
On 12-12-20 08:33 PM, James Gao wrote: OK, how about supply a seperate package for these this run-time dll, or give the exact version/hash for the dll? We point directly to the version of mingw we test with on the website. https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust Longer term we're trying to move away from depending on this, and hope to use clang and/or the windows compiler(s) rather than mingw. We did not manage to allocate resources to fixing it in this cycle, nor to providing any other compensations. I'm sorry, hopefully this will improve in future releases. -Graydon ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
On 12-12-19 3:00 PM, Graydon Hoare wrote: We've posted a prerelease of 0.5 to: http://static.rust-lang.org/dist/rust-0.5.tar.gz Doesn't build on MacOS 10.5: checking for GCC atomic builtins... no configure: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing ... compile: rt/x86_64-apple-darwin/rust_builtin.o /Users/giles/rust-0.5/src/rt/sync/sync.h: In static member function 'static T sync::increment(T) [with T = intptr_t]': /Users/giles/rust-0.5/src/rt/rust_task.h:204: instantiated from here /Users/giles/rust-0.5/src/rt/sync/sync.h:35: error: '__sync_add_and_fetch' was not declared in this scope /Users/giles/rust-0.5/src/rt/sync/sync.h: In static member function 'static T sync::decrement(T) [with T = intptr_t]': /Users/giles/rust-0.5/src/rt/rust_task.h:204: instantiated from here /Users/giles/rust-0.5/src/rt/sync/sync.h:40: error: '__sync_sub_and_fetch' was not declared in this scope /Users/giles/rust-0.5/src/rt/sync/sync.h: In static member function 'static T sync::read(T) [with T = intptr_t]': /Users/giles/rust-0.5/src/rt/rust_task.h:204: instantiated from here /Users/giles/rust-0.5/src/rt/sync/sync.h:50: error: '__sync_add_and_fetch' was not declared in this scope make: *** [rt/x86_64-apple-darwin/rust.o] Error 1 make: *** Waiting for unfinished jobs /Users/giles/rust-0.5/src/rt/sync/sync.h: In static member function 'static T sync::increment(T) [with T = intptr_t]': /Users/giles/rust-0.5/src/rt/rust_task.h:204: instantiated from here /Users/giles/rust-0.5/src/rt/sync/sync.h:35: error: '__sync_add_and_fetch' was not declared in this scope /Users/giles/rust-0.5/src/rt/sync/sync.h: In static member function 'static T sync::decrement(T) [with T = intptr_t]': /Users/giles/rust-0.5/src/rt/rust_task.h:204: instantiated from here /Users/giles/rust-0.5/src/rt/sync/sync.h:40: error: '__sync_sub_and_fetch' was not declared in this scope /Users/giles/rust-0.5/src/rt/sync/sync.h: In static member function 'static T sync::read(T) [with T = intptr_t]': /Users/giles/rust-0.5/src/rt/rust_task.h:204: instantiated from here /Users/giles/rust-0.5/src/rt/sync/sync.h:50: error: '__sync_add_and_fetch' was not declared in this scope /Users/giles/rust-0.5/src/rt/sync/sync.h: In static member function 'static bool sync::compare_and_swap(T*, T, T) [with T = intptr_t]': /Users/giles/rust-0.5/src/rt/rust_builtin.cpp:833: instantiated from here /Users/giles/rust-0.5/src/rt/sync/sync.h:20: error: '__sync_bool_compare_and_swap' was not declared in this scope make: *** [rt/x86_64-apple-darwin/rust_builtin.o] Error 1 $ sw_vers ProductName:Mac OS X ProductVersion: 10.5.8 BuildVersion: 9L31a $ cc --version i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) -r ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
On 12/19/2012 05:40 PM, Ralph Giles wrote: On 12-12-19 3:00 PM, Graydon Hoare wrote: We've posted a prerelease of 0.5 to: http://static.rust-lang.org/dist/rust-0.5.tar.gz Doesn't build on MacOS 10.5: Thanks! I've long wondered whether Rust actually works on 10.5, which is the oldest OS X I think we could reasonably support (older versions are missing rpath). Now we know. ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
Built for me without a hitch: Mac OS X 10.7.3, uname -a says: Darwin Tims-MacBook-Pro.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64 SHA1(rust-0.5.tar.gz)= 7d818abf16c0061278658b8cfc6e0e0859885b5f Cheers, Tim -- Tim Chevalier * http://catamorphism.org/ * Often in error, never in doubt We know there'd hardly be no one in prison / If rights to food, clothes, and shelter were given. -- Boots Riley ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
Greetings, Compiled with no issues. uname -a Linux aeolus 3.6.10-1-ARCH #1 SMP PREEMPT Tue Dec 11 09:40:17 CET 2012 x86_64 GNU/Linux sha1sum rust.tar.gz 7d818abf16c0061278658b8cfc6e0e0859885b5f make check Everything passed Cheers! On Wed, Dec 19, 2012 at 9:32 PM, Tim Chevalier catamorph...@gmail.com wrote: Built for me without a hitch: Mac OS X 10.7.3, uname -a says: Darwin Tims-MacBook-Pro.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64 SHA1(rust-0.5.tar.gz)= 7d818abf16c0061278658b8cfc6e0e0859885b5f Cheers, Tim -- Tim Chevalier * http://catamorphism.org/ * Often in error, never in doubt We know there'd hardly be no one in prison / If rights to food, clothes, and shelter were given. -- Boots Riley ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
On Wed, Dec 19, 2012 at 9:01 PM, Brian Anderson bander...@mozilla.com wrote: On 12/19/2012 05:40 PM, Ralph Giles wrote: On 12-12-19 3:00 PM, Graydon Hoare wrote: We've posted a prerelease of 0.5 to: http://static.rust-lang.org/dist/rust-0.5.tar.gz Doesn't build on MacOS 10.5: Thanks! I've long wondered whether Rust actually works on 10.5, which is the oldest OS X I think we could reasonably support (older versions are missing rpath). Now we know. According to my notes from back then, I apparently did get Rust to build on my 10.5 Mac once, back in March 2011 (the pre-0.1 days). But all my notes say is that I had to use gcc 4.2 rather than 4.0.1 (Xcode should come with both, although 4.0.1 is the default) to get it to work. Unfortunately, I didn't go into any more detail than that, and now I wonder if I was hallucinating. In the time since then, I've tried several times to build it, but something has always gone wrong while building rt -- a missing header file, I think. I've never seen the error that Ralph had, though. Trying it again just now, I got this: /Users/lkuper/rust/src/rt/rust_sched_driver.cpp: In member function 'void rust_sched_driver::start_main_loop()': /Users/lkuper/rust/src/rt/rust_sched_driver.cpp:33: error: 'pthread_setname_np' was not declared in this scope I don't think it should be impossible to make work, but I never had the energy to dig in, and I never supposed that anyone else cared about 10.5 -- apparently, I was wrong about that! :) Lindsey ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
On Dec 19, 2012, at 8:50 PM, Lindsey Kuper lind...@rockstargirl.org wrote: /Users/lkuper/rust/src/rt/rust_sched_driver.cpp: In member function 'void rust_sched_driver::start_main_loop()': /Users/lkuper/rust/src/rt/rust_sched_driver.cpp:33: error: 'pthread_setname_np' was not declared in this scope I don't think it should be impossible to make work, but I never had the energy to dig in, and I never supposed that anyone else cared about 10.5 -- apparently, I was wrong about that! :) I think I added the call to pthread_setname_np. If I recall correctly, there's a POSIX version and a non-portable version. I think Mac has the _np version but not the POSIX version, and Linux et al. have the POSIX version. There should be some #ifdefs around that code that might need tweaked if we want Mac OS 10.5 support. -Eric ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] 0.5 prerelease testing
On 12-12-19 8:50 PM, Lindsey Kuper wrote: I don't think it should be impossible to make work, but I never had the energy to dig in, and I never supposed that anyone else cared about 10.5 -- apparently, I was wrong about that! :) I don't care that much, personally, it's not my primary system. Graydon just asked for broad testing. Apple's focus on supporting only the most recent two releases means it would be nice to have a language tool which worked across a wider range over OS versions though. Cheers, -r ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev