ocaml packages fails to build. #84

Closed
opened 2021-12-23 11:15:52 +01:00 by patlefort · 3 comments

Hey, another problem I found when trying to install some ocaml packages from the AUR: They fail to build with linkage errors like:

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/Scrt1.o: in function `_start':
(.text+0x24): undefined reference to `main'
/usr/bin/ld: /tmp/builda1514c.dune/camlstartupd0a18b.o: in function `caml_program':
:(.text+0xc): undefined reference to `caml_globals_inited'
/usr/bin/ld: :(.text+0x1c): undefined reference to `caml_globals_inited'
/usr/bin/ld: :(.text+0x2c): undefined reference to `caml_globals_inited'
/usr/bin/ld: :(.text+0x3c): undefined reference to `caml_globals_inited'
/usr/bin/ld: :(.text+0x4c): undefined reference to `caml_globals_inited'
... and more

It work fine with ocaml from main repos.

Hey, another problem I found when trying to install some ocaml packages from the AUR: They fail to build with linkage errors like: ``` /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' /usr/bin/ld: /tmp/builda1514c.dune/camlstartupd0a18b.o: in function `caml_program': :(.text+0xc): undefined reference to `caml_globals_inited' /usr/bin/ld: :(.text+0x1c): undefined reference to `caml_globals_inited' /usr/bin/ld: :(.text+0x2c): undefined reference to `caml_globals_inited' /usr/bin/ld: :(.text+0x3c): undefined reference to `caml_globals_inited' /usr/bin/ld: :(.text+0x4c): undefined reference to `caml_globals_inited' ... and more ``` It work fine with ocaml from main repos.
anonfunc added the bug label 2021-12-23 12:36:44 +01:00
Owner

I requeued ocaml with LTO disabled. If that should not work it's getting blacklisted.

I requeued `ocaml` with LTO disabled. If that should not work it's getting blacklisted.
Owner

Can you please test version 4.13.1-1.2?

Can you please test version `4.13.1-1.2`?
Author

It's working now, thanks.

It's working now, thanks.
Sign in to join this conversation.