Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libuv doesn't build on os x 10.6, gcc 4.2.1 #8829

Closed
brson opened this issue Aug 28, 2013 · 1 comment
Closed

libuv doesn't build on os x 10.6, gcc 4.2.1 #8829

brson opened this issue Aug 28, 2013 · 1 comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows O-macos Operating system: macOS

Comments

@brson
Copy link
Contributor

brson commented Aug 28, 2013

Mozilla-Corporations-MacBook-Pro-3:build moco$ make
cfg: build triple x86_64-apple-darwin
cfg: host triples x86_64-apple-darwin
cfg: target triples x86_64-apple-darwin
cfg: host for x86_64-apple-darwin is x86_64
cfg: os for x86_64-apple-darwin is apple-darwin
cfg: using gcc
cfg: no pandoc found, omitting docs
cfg: no node found, omitting docs
cfg: no llnextgen found, omitting grammar-verification
cfg: no pandoc found, omitting library doc build
  CC(target) obj.target/libuv/src/unix/fsevents.o
../../../../../src/libuv/src/unix/fsevents.c:80: error: initializer element is not constant
../../../../../src/libuv/src/unix/fsevents.c:83: error: initializer element is not constant
make[1]: *** [obj.target/libuv/src/unix/fsevents.o] Error 1
make: *** [rt/x86_64-apple-darwin/stage0/libuv/libuv.a] Error 2
Mozilla-Corporations-MacBook-Pro-3:build moco$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
Mozilla-Corporations-MacBook-Pro-3:build moco$ 

@alexcrichton
Copy link
Member

Looks like we need to cherry-pick joyent/libuv@82f2472

bors added a commit that referenced this issue Aug 29, 2013
The LLVM update includes patches from #8488 by @klutzy to build llvm on mingw-64 and also to enable segmented stacks on that platform.

The libuv patch is a rebase on the now-current joyent/master in order to fix #8829
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows O-macos Operating system: macOS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants