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

New AddrSpaceCast error when building RPM nightlies #22439

Closed
nalimilan opened this issue Jun 19, 2017 · 3 comments
Closed

New AddrSpaceCast error when building RPM nightlies #22439

nalimilan opened this issue Jun 19, 2017 · 3 comments
Labels
building Build system, or building Julia or its dependencies

Comments

@nalimilan
Copy link
Member

I've just seen this new error when building the RPM nightlies, using system LLVM 3.9.1. Do we require new LLVM patches?

/builddir/build/BUILD/julia/base/precompile.jl
AddrSpaceCast must be between different address spaces
AddrSpaceCast must be between different address spaces
  %.sroa_cast = addrspacecast i8* %66 to i8*, !dbg !76331
  %.sroa_cast = addrspacecast i8* %66 to i8*, !dbg !76331
LLVM ERROR: Broken function found, compilation aborted!
LLVM ERROR: Broken function found, compilation aborted!
*** This error is usually fixed by running `make clean`. If the error persists, try `make cleanall`. ***
*** This error is usually fixed by running `make clean`. If the error persists, try `make cleanall`. ***
Makefile:233: recipe for target '/builddir/build/BUILD/julia/build/usr/lib64/julia/sys.o' failed

https://copr-be.cloud.fedoraproject.org/results/nalimilan/julia-nightlies/fedora-26-x86_64/00567889-julia/build.log.gz

@nalimilan nalimilan added the building Build system, or building Julia or its dependencies label Jun 19, 2017
@yuyichao
Copy link
Contributor

I assume this is master? It shouldn't be an issue on 0.6. There are indeed two new patches added compare to 0.6 (check deps/llvm.mk and check the last two for 3.9.x) For a complete list of patches for 4.0 that I'm currently using, see https://github.com/archlinuxcn/repo/blob/4b27a509d0831880afce76c8eba02a5e1cf232af/llvm-julia/PKGBUILD#L116-L132

@yuyichao
Copy link
Contributor

#22022

@nalimilan
Copy link
Member Author

Thanks. (I guess I should have searched better, but that PR has been merged one month ago, when builds were still fine.)

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
Projects
None yet
Development

No branches or pull requests

2 participants