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

0.5 fails to build on osx sierra #18635

Closed
swadey opened this issue Sep 22, 2016 · 5 comments
Closed

0.5 fails to build on osx sierra #18635

swadey opened this issue Sep 22, 2016 · 5 comments
Labels
building Build system, or building Julia or its dependencies system:mac Affects only macOS upstream The issue is with an upstream dependency, e.g. LLVM

Comments

@swadey
Copy link
Contributor

swadey commented Sep 22, 2016

Objconv is the specific fail point:

In file included from cmdline.cpp:14:
In file included from ./stdafx.h:17:
/usr/include/stdlib.h:139:38: error: expected ')'
            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
                                            ^
/usr/include/stdlib.h:139:26: note: to match this '('
            size_t __width, int (* _Nonnull __compar)(const void *, const void *));
                                ^
/usr/include/stdlib.h:158:22: error: expected ')'
            int (* _Nonnull __compar)(const void *, const void *));
                            ^
/usr/include/stdlib.h:158:10: note: to match this '('
            int (* _Nonnull __compar)(const void *, const void *));
                ^
/usr/include/stdlib.h:270:38: error: expected ')'
            size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
                                            ^
/usr/include/stdlib.h:270:26: note: to match this '('
            size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
                                ^
/usr/include/stdlib.h:294:22: error: expected ')'
            int (* _Nonnull __compar)(const void *, const void *));
                            ^
/usr/include/stdlib.h:294:10: note: to match this '('
            int (* _Nonnull __compar)(const void *, const void *));
                ^
/usr/include/stdlib.h:297:22: error: expected ')'
            int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
                            ^
/usr/include/stdlib.h:297:10: note: to match this '('
            int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
                ^
/usr/include/stdlib.h:300:22: error: expected ')'
            int (* _Nonnull __compar)(const void *, const void *));
                            ^
/usr/include/stdlib.h:300:10: note: to match this '('
            int (* _Nonnull __compar)(const void *, const void *));
...
@ViralBShah ViralBShah added the building Build system, or building Julia or its dependencies label Sep 22, 2016
@ViralBShah ViralBShah modified the milestone: mac Sep 22, 2016
@tkelman tkelman added the system:mac Affects only macOS label Sep 22, 2016
@tkelman
Copy link
Contributor

tkelman commented Sep 22, 2016

we should have rehosted that download. this should be reproducible with the simple steps at https://github.com/JuliaLang/julia/blob/master/deps/objconv.mk ?

@swadey
Copy link
Contributor Author

swadey commented Sep 22, 2016

yes, I think that's right. If I run make -C deps compile-objconv

@tkelman tkelman added the upstream The issue is with an upstream dependency, e.g. LLVM label Sep 22, 2016
@tkelman
Copy link
Contributor

tkelman commented Sep 23, 2016

Oh evidently it hasn't changed since January if the "last modified" information at http://agner.org/optimize/#objconv is accurate. Can someone with an upgraded mac (or VM thereof) report this to the author so he's aware of the issue? He's apparently @AgnerF on github but not sure if he'd mind being pinged here.

@tkelman
Copy link
Contributor

tkelman commented Sep 23, 2016

Or, anyone know if LLVM has implemented a symbol-renaming utility for static libraries on Darwin yet? binutils objcopy hasn't grown mach-o support since we did #8734, has it? Can Keno's object file Julia packages do this (would be a bit of a bootstrapping issue there)?

@KristofferC
Copy link
Member

Please update if this is still a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies system:mac Affects only macOS upstream The issue is with an upstream dependency, e.g. LLVM
Projects
None yet
Development

No branches or pull requests

4 participants