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

unable to build sysimg #3642

Closed
vtjnash opened this issue Jul 7, 2013 · 1 comment
Closed

unable to build sysimg #3642

vtjnash opened this issue Jul 7, 2013 · 1 comment
Assignees
Labels
bug Indicates an unexpected problem or unintended behavior building Build system, or building Julia or its dependencies

Comments

@vtjnash
Copy link
Sponsor Member

vtjnash commented Jul 7, 2013

After a make cleanall, I get the following error:

    JULIA usr/lib/julia/sys.ji
c.jl
Assertion failed: (jbp == NULL), function emit_var, file codegen.cpp, line 1811.
/bin/sh: line 1:  7431 Illegal instruction: 4  /Users/jameson/Documents/no-backup/julia/usr/bin/julia-release-readline -bf sysimg.jl
*** This error is usually fixed by running 'make clean'. If the error persists, try 'make cleanall'. ***
(lldb) bt
* thread #1: tid = 0x1c03, 0x00007fff8c479212 libsystem_kernel.dylib`__pthread_kill + 10, stop reason = signal SIGABRT
    frame #0: 0x00007fff8c479212 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff86e3ab54 libsystem_c.dylib`pthread_kill + 90
    frame #2: 0x0000000100a892f6 libjulia-debug.dylib`abort + 22
    frame #3: 0x0000000100a892d1 libjulia-debug.dylib`__assert_rtn + 81
    frame #4: 0x000000010003819f libjulia-debug.dylib`emit_var(sym=0x0000000102b08070, ty=0x0000000103009380, ctx=0x00007fff5fbfe288, isboxed=true) + 799 at codegen.cpp:1811
    frame #5: 0x00000001000359e8 libjulia-debug.dylib`emit_expr(expr=0x0000000102b08070, ctx=0x00007fff5fbfe288, isboxed=true, valuepos=true) + 152 at codegen.cpp:1883
    frame #6: 0x000000010003a181 libjulia-debug.dylib`emit_assignment(l=0x0000000101407650, r=0x0000000102b08070, ctx=0x00007fff5fbfe288) + 241 at codegen.cpp:1833
    frame #7: 0x000000010003649a libjulia-debug.dylib`emit_expr(expr=0x0000000102010000, ctx=0x00007fff5fbfe288, isboxed=false, valuepos=false) + 2890 at codegen.cpp:2003
    frame #8: 0x000000010003277b libjulia-debug.dylib`emit_function(lam=0x0000000103060f50, cstyle=false) + 12923 at codegen.cpp:2903
    frame #9: 0x00000001000279a0 libjulia-debug.dylib`to_function(li=0x0000000103060f50, cstyle=false) + 336 at codegen.cpp:214
    frame #10: 0x0000000100027813 libjulia-debug.dylib`jl_compile(f=0x0000000102010040) + 83 at codegen.cpp:284
    frame #11: 0x000000010002357b libjulia-debug.dylib`jl_trampoline(F=0x0000000102010040, args=0x0000000000000000, nargs=0) + 443 at builtins.c:844
    frame #12: 0x000000010009daec libjulia-debug.dylib`jl_apply(f=0x0000000102010040, args=0x0000000000000000, nargs=0) + 76 at julia.h:1018
    frame #13: 0x000000010009d15f libjulia-debug.dylib`jl_toplevel_eval_flex(e=0x0000000103071f20, fast=1) + 2111 at toplevel.c:391
    frame #14: 0x000000010009dcf9 libjulia-debug.dylib`jl_parse_eval_all(fname=0x000000010185b730) + 377 at toplevel.c:427
    frame #15: 0x000000010009dee9 libjulia-debug.dylib`jl_load(fname=0x000000010185b730) + 217 at toplevel.c:459
    frame #16: 0x000000010009df8b libjulia-debug.dylib`jl_load_(str=0x0000000101854cb0) + 43 at toplevel.c:469
    frame #17: 0x0000000101700b76
    frame #18: 0x00000001000154fc libjulia-debug.dylib`jl_apply(f=0x000000010186aa40, args=0x00007fff5fbfeef8, nargs=1) + 76 at julia.h:1018
    frame #19: 0x00000001000173c4 libjulia-debug.dylib`jl_apply_generic(F=0x0000000102004b00, args=0x00007fff5fbfeef8, nargs=1) + 532 at gf.c:1401
    frame #20: 0x000000010008949c libjulia-debug.dylib`jl_apply(f=0x0000000102004b00, args=0x00007fff5fbfeef8, nargs=1) + 76 at julia.h:1018
    frame #21: 0x000000010008935e libjulia-debug.dylib`do_call(f=0x0000000102004b00, args=0x000000010387ee38, nargs=1, locals=0x0000000000000000, nl=0) + 318 at interpreter.c:56
    frame #22: 0x000000010008739f libjulia-debug.dylib`eval(e=0x000000010306f600, locals=0x0000000000000000, nl=0) + 1871 at interpreter.c:160
    frame #23: 0x0000000100086c23 libjulia-debug.dylib`jl_interpret_toplevel_expr(e=0x000000010306f600) + 51 at interpreter.c:19
    frame #24: 0x000000010009d0b0 libjulia-debug.dylib`jl_toplevel_eval_flex(e=0x00000001020061c0, fast=1) + 1936 at toplevel.c:380
    frame #25: 0x000000010009c845 libjulia-debug.dylib`jl_eval_module_expr(ex=0x0000000102004d80) + 789 at toplevel.c:92
    frame #26: 0x000000010009c9d7 libjulia-debug.dylib`jl_toplevel_eval_flex(e=0x0000000102004d80, fast=1) + 183 at toplevel.c:290
    frame #27: 0x000000010009dcf9 libjulia-debug.dylib`jl_parse_eval_all(fname=0x00007fff5fbffc69) + 377 at toplevel.c:427
    frame #28: 0x000000010009dee9 libjulia-debug.dylib`jl_load(fname=0x00007fff5fbffc69) + 217 at toplevel.c:459
    frame #29: 0x0000000100002526 julia-debug-basic`exec_program + 470 at repl.c:181
    frame #30: 0x0000000100002159 julia-debug-basic`true_main(argc=1, argv=0x00007fff5fbffb30) + 345 at repl.c:250
    frame #31: 0x0000000100091f5f libjulia-debug.dylib`julia_trampoline(argc=1, argv=0x00007fff5fbffb30, pmain=0x0000000100002000) + 207 at init.c:647
    frame #32: 0x000000010000272b julia-debug-basic`main(argc=1, argv=0x00007fff5fbffb30) + 171 at repl.c:303
    frame #33: 0x00000001000016d4 julia-debug-basic`start + 52`

This occurs while generating the anonymous function for assigning to sizeof_off_t while emitting the variable "#s34".

Last git pull updated f7f6cf1..ec3311a

@vtjnash
Copy link
Sponsor Member Author

vtjnash commented Jul 7, 2013

confirmed.

(note: assert() in .cpp files is tied to building with llvm assertions)

KristofferC pushed a commit that referenced this issue Jul 26, 2024
Stdlib: Pkg
URL: https://github.com/JuliaLang/Pkg.jl.git
Stdlib branch: master
Julia branch: master
Old commit: 6b4394914
New commit: e4a6723bf
Julia version: 1.12.0-DEV
Pkg version: 1.12.0
Bump invoked by: @IanButterworth
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaLang/Pkg.jl@6b43949...e4a6723

```
$ git log --oneline 6b4394914..e4a6723bf
e4a6723bf Use `Base.TOML.Parser{Dates}` for TOML parsing w/ Dates support (#3938)
8c1f45d98 Append bundled depots to places where we empty it during tests (#3807)
2fdfabaf5 Test fixes (#3972)
34bb51ece fix bad depot path setting (#3971)
3715685b9 fix suggestions threshold for printing (#3968)
3f81d6c4d feat: add JULIA_PKG_GC_AUTO env var (#3642)
fad26d7f2 check `project_file` isa String (#3967)
8875120ad fix not hardcoding "Project.toml" when fixing up extensions in manifest (#3851)
90d42a1b0 Make manifest usage log errors non-fatal (#3962)
```

Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
lazarusA pushed a commit to lazarusA/julia that referenced this issue Aug 17, 2024
…#55258)

Stdlib: Pkg
URL: https://github.com/JuliaLang/Pkg.jl.git
Stdlib branch: master
Julia branch: master
Old commit: 6b4394914
New commit: e4a6723bf
Julia version: 1.12.0-DEV
Pkg version: 1.12.0
Bump invoked by: @IanButterworth
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaLang/Pkg.jl@6b43949...e4a6723

```
$ git log --oneline 6b4394914..e4a6723bf
e4a6723bf Use `Base.TOML.Parser{Dates}` for TOML parsing w/ Dates support (JuliaLang#3938)
8c1f45d98 Append bundled depots to places where we empty it during tests (JuliaLang#3807)
2fdfabaf5 Test fixes (JuliaLang#3972)
34bb51ece fix bad depot path setting (JuliaLang#3971)
3715685b9 fix suggestions threshold for printing (JuliaLang#3968)
3f81d6c4d feat: add JULIA_PKG_GC_AUTO env var (JuliaLang#3642)
fad26d7f2 check `project_file` isa String (JuliaLang#3967)
8875120ad fix not hardcoding "Project.toml" when fixing up extensions in manifest (JuliaLang#3851)
90d42a1b0 Make manifest usage log errors non-fatal (JuliaLang#3962)
```

Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior building Build system, or building Julia or its dependencies
Projects
None yet
Development

No branches or pull requests

2 participants