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

build issue on 32-bit OS X #2140

Closed
mlubin opened this issue Jan 26, 2013 · 4 comments
Closed

build issue on 32-bit OS X #2140

mlubin opened this issue Jan 26, 2013 · 4 comments
Labels
domain:building Build system, or building Julia or its dependencies system:mac Affects only macOS system:32-bit Affects only 32-bit systems

Comments

@mlubin
Copy link
Member

mlubin commented Jan 26, 2013

Just tried to build on 10.7.5 (32-bit kernel) from a clean clone. I got:

``
i387/fenv.c:34:10: fatal error: 'machine/npx.h' file not found

include <machine/npx.h>

     ^

1 error generated.
make[3]: *** [i387/fenv.c.o] Error 1
make[2]: *** [openlibm/libopenlibm.dylib] Error 2
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2
``

@ViralBShah
Copy link
Member

Ah - I just saw this yesterday on a 32-bit Snow Leopard box.

The easy solution is to build with USE_SYSTEM_LIBM=1. I also got stuck with building openblas, but I then proceeded with USE_SYSTEM_BLAS=1 and USE_SYSTEM_LAPACK=1. Let me know if openblas does build for you though. With the system versions of BLAS/LAPACK, your make testall will fail because pivoted cholesky routines are not available in older OS X installations.

You can stick all of these in Make.user so that you do not have to pass them every time.

@ViralBShah
Copy link
Member

@loladiro Any idea how to fix this openlibm issue?

@mlubin
Copy link
Member Author

mlubin commented Jan 26, 2013

USE_SYSTEM_LIBM=1 fixes the issue. I didn't run into issues with openblas.

@iamed2
Copy link
Contributor

iamed2 commented Feb 13, 2014

This exact problem happened for my friend on a 64-bit Air running Mavericks. USE_SYSTEM_LIBM=1 fixed the problem there too.

fredrikekre added a commit that referenced this issue Oct 19, 2020
$ git log --pretty=oneline --abbrev=commit 0314b79..fb9c7eb
fb9c7eb1db30d90f5bfade4dcea2e7c7b1e1c8e7 Reset JULIA_PROJECT environment variable during testing. (#2140)
a9a152d08aa4b874613e59376cfbc6bc61cbd4c7 Precompile: Fix and test per-project precomp suspension state retention (#2129)
e0539a9d0de08cf3e3da1e8bcb2e9f44435c5381 Delete the `bors.toml` file (#2139)
9d1b2188c11234b57790185b1d17b5b89f94b4d6 Docs: moved Julia 1.4 compat below the section (#1867)
6d2dc3fcefe160cf829fbf5664878733be64816a Print a warning when using the REPL interface in non-interactive mode. (#2076)
ac55c0ef35ac80aaef9998376887da1c1c95ee8d Add an example for the SSH-based git protocol. (#2068)
41a3b1204ee9836faf5cce5c255d311974681df6 add a progress bar to precompile process (#2128)
8da19e0f3db3f09239bcb07d9a5dc8339915d61c fixup to progress printing when downloading (#2136)
87873f8037fcd47712578dc0f39eeba9418f9376 send Pkg server value itself as a header to the Pkg server (#2134)
1698ee9377736f10081b63e4ea0997d7dee80640 sort jlls together in status printing (#1987)
88afa647445c65bf50d987f81cfbf85a380618c1 remove using latest registry version when no version in Project (#2133)
5100e0b687236bb24976b3a0dd7e7f8cd4d331bf removed unused argument (#2132)
1e480a5a3185d83abd9dbf3d343452506dd9490b show a progress bar for downloads and build (#2130)
KristofferC pushed a commit that referenced this issue Oct 20, 2020
$ git log --pretty=oneline --abbrev=commit 0314b79..fb9c7eb
fb9c7eb1db30d90f5bfade4dcea2e7c7b1e1c8e7 Reset JULIA_PROJECT environment variable during testing. (#2140)
a9a152d08aa4b874613e59376cfbc6bc61cbd4c7 Precompile: Fix and test per-project precomp suspension state retention (#2129)
e0539a9d0de08cf3e3da1e8bcb2e9f44435c5381 Delete the `bors.toml` file (#2139)
9d1b2188c11234b57790185b1d17b5b89f94b4d6 Docs: moved Julia 1.4 compat below the section (#1867)
6d2dc3fcefe160cf829fbf5664878733be64816a Print a warning when using the REPL interface in non-interactive mode. (#2076)
ac55c0ef35ac80aaef9998376887da1c1c95ee8d Add an example for the SSH-based git protocol. (#2068)
41a3b1204ee9836faf5cce5c255d311974681df6 add a progress bar to precompile process (#2128)
8da19e0f3db3f09239bcb07d9a5dc8339915d61c fixup to progress printing when downloading (#2136)
87873f8037fcd47712578dc0f39eeba9418f9376 send Pkg server value itself as a header to the Pkg server (#2134)
1698ee9377736f10081b63e4ea0997d7dee80640 sort jlls together in status printing (#1987)
88afa647445c65bf50d987f81cfbf85a380618c1 remove using latest registry version when no version in Project (#2133)
5100e0b687236bb24976b3a0dd7e7f8cd4d331bf removed unused argument (#2132)
1e480a5a3185d83abd9dbf3d343452506dd9490b show a progress bar for downloads and build (#2130)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:building Build system, or building Julia or its dependencies system:mac Affects only macOS system:32-bit Affects only 32-bit systems
Projects
None yet
Development

No branches or pull requests

3 participants