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

Reply via email to