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

comby 1.8.1 failed to build against ocaml 5.0.0 #358

Open
chenrui333 opened this issue Feb 19, 2023 · 4 comments
Open

comby 1.8.1 failed to build against ocaml 5.0.0 #358

chenrui333 opened this issue Feb 19, 2023 · 4 comments

Comments

@chenrui333
Copy link

while trying to ocaml to 5.0.0, found an issue while regression build comby 1.8.1

⬇ retrieved ocaml-variants.4.12.0+domains  (git+https://github.com/ocaml-multicore/ocaml-multicore.git#4.12+domains)
[ERROR] The compilation of ocaml-variants.4.12.0+domains failed at "make -j9".

#=== ERROR while compiling ocaml-variants.4.12.0+domains ======================#
# context              2.1.4 | macos/arm64 |  | https://opam.ocaml.org#0fd96b90
# path                 /private/tmp/comby-20230219-29540-15z8nt/comby-1.8.1/.opam/default/.opam-switch/build/ocaml-variants.4.12.0+domains
# command              /opt/homebrew/Library/Homebrew/shims/mac/super/make -j9
# exit-code            2
# env-file             /private/tmp/comby-20230219-29540-15z8nt/comby-1.8.1/.opam/log/ocaml-variants-30048-4d85a2.env
# output-file          /private/tmp/comby-20230219-29540-15z8nt/comby-1.8.1/.opam/log/ocaml-variants-30048-4d85a2.out
### output ###
# [...]
# cc -c -O2 -fno-strict-aliasing -fwrapv -Wall -Wdeclaration-after-statement -fno-common -g  -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE   -DCAMLDLLIMPORT= -DNATIVE_CODE -DTARGET_arm64 -DMODEL_default -DSYS_macosx   -o clambda_checks.n.o clambda_checks.c
# cc -c -O2 -fno-strict-aliasing -fwrapv -Wall -Wdeclaration-after-statement -fno-common -g  -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE   -DCAMLDLLIMPORT= -DNATIVE_CODE -DTARGET_arm64 -DMODEL_default -DSYS_macosx   -o afl.n.o afl.c
# cc -c -O2 -fno-strict-aliasing -fwrapv -Wall -Wdeclaration-after-statement -fno-common -g  -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DCAML_NAME_SPACE   -DCAMLDLLIMPORT= -DNATIVE_CODE -DTARGET_arm64 -DMODEL_default -DSYS_macosx   -o bigarray.n.o bigarray.c
# fiber.c:233:53: error: use of undeclared identifier 'Wosize_gc_regs'
#     value* bucket = caml_stat_alloc(sizeof(value) * Wosize_gc_regs);
#                                                     ^
# 1 error generated.
@rvantonder
Copy link
Member

thanks @chenrui333! I'll have to tweak the build commands for 5.0.0 since it's a major bump. We'll track progress with this issue.

@chenrui333
Copy link
Author

Thanks @rvantonder!

@chenrui333
Copy link
Author

@rvantonder hope everything goes well, any updates on this thread? Thanks!

relates to Homebrew/homebrew-core#154837

@rvantonder
Copy link
Member

Thanks for the ping @chenrui333 let me see what I can do!

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

No branches or pull requests

2 participants