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 fails on Ubuntu #28337

Closed
josefsachs opened this issue Jul 29, 2018 · 3 comments · Fixed by #28377
Closed

build fails on Ubuntu #28337

josefsachs opened this issue Jul 29, 2018 · 3 comments · Fixed by #28377

Comments

@josefsachs
Copy link

josefsachs commented Jul 29, 2018

I did make cleanall.

Precompile: ─  23.605761 seconds 13.8432%
    JULIA usr/lib/julia/sys-o.a
Illegal inttoptr
          %scevgep9 = ptrtoint i32 addrspace(13)* %scevgep to i64
Illegal inttoptr
          %scevgep1011 = ptrtoint i32 addrspace(13)* %scevgep10 to i64

signal (6): Aborted
in expression starting at no file:0
gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
runOnFunction at /home/sachs/src/julia-master/src/llvm-gc-invariant-verifier.cpp:178
_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE at /home/sachs/src/julia-master/usr/bin/../lib/libLLVM-6.0.so (unknown line)
_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE at /home/sachs/src/julia-master/usr/bin/../lib/libLLVM-6.0.so (unknown line)
_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /home/sachs/src/julia-master/usr/bin/../lib/libLLVM-6.0.so (unknown line)
operator() at /home/sachs/src/julia-master/src/jitlayers.cpp:1187 [inlined]
jl_dump_native at /home/sachs/src/julia-master/src/jitlayers.cpp:1196
jl_write_compiler_output at /home/sachs/src/julia-master/src/precompile.c:84
jl_atexit_hook at /home/sachs/src/julia-master/src/init.c:233
main at /home/sachs/src/julia-master/ui/repl.c:234
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at /home/sachs/src/julia-master/usr/bin/julia (unknown line)
Allocations: 3781630 (Pool: 3779664; Big: 1966); GC: 9
Aborted (core dumped)
*** This error is usually fixed by running `make clean`. If the error persists, try `make cleanall`. ***
make[1]: *** [/home/sachs/src/julia-master/usr/lib/julia/sys-o.a] Error 1
make: *** [julia-sysimg-release] Error 2
@Keno
Copy link
Member

Keno commented Jul 29, 2018

make -C deps distclean-llvm then rebuild to pick up the LLVM patches.

@josefsachs
Copy link
Author

That did it, thanks.

@swissr
Copy link
Contributor

swissr commented Jul 30, 2018

This command also fixed the problem on a Mac (High Sierra), thanks.

@vtjnash vtjnash reopened this Jul 31, 2018
vtjnash added a commit that referenced this issue Jul 31, 2018
Our rules were previously expecting that patches must be added to the end,
but 9803708 added a sticky patch at the end thwarting our rule.
Update the rules to avoid this being a problem.

fix #28337
Keno pushed a commit that referenced this issue Aug 1, 2018
Our rules were previously expecting that patches must be added to the end,
but 9803708 added a sticky patch at the end thwarting our rule.
Update the rules to avoid this being a problem.

fix #28337
KristofferC pushed a commit that referenced this issue Feb 11, 2019
Our rules were previously expecting that patches must be added to the end,
but 9803708 added a sticky patch at the end thwarting our rule.
Update the rules to avoid this being a problem.

fix #28337
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants