We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Original bug ID: 6544 Reporter: madroach Assigned to: @gasche Status: closed (set by @xavierleroy on 2016-12-07T10:34:46Z) Resolution: fixed Priority: normal Severity: major Version: 4.02.0+beta1 / +rc1 Target version: 4.02.1+dev Category: otherlibs Monitored by: @gasche
Bytes and CamlinternalFormat are missing from threads stdlib.cma leading to linker failures:
ocamlc -I ptests -dtypes -vmthread -g -o bin/ptests.byte unix.cma threads.cma str.cma dynlink.cma ptests/ptests_config.ml ptests/ptests.ml File "ptests/ptests.ml", line 1: Error: Error while linking /usr/local/lib/ocaml/vmthreads/stdlib.cma(String): Reference to undefined global `Bytes'
$ ./configure && gmake world && gmake bootstrap $ ocamlobjinfo stdlib/stdlib.cma |grep Bytes Unit name: Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes Unit name: BytesLabels f6f25f5328b09c590f56c7e37005c501 BytesLabels 4c433013a088edac8556bb94512e4988 Bytes f6f25f5328b09c590f56c7e37005c501 BytesLabels $ ocamlobjinfo otherlibs/threads/stdlib.cma |grep Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes 4c433013a088edac8556bb94512e4988 Bytes f6f25f5328b09c590f56c7e37005c501 BytesLabels
Patch is attached.
The text was updated successfully, but these errors were encountered:
Comment author: @gasche
Fixed in 4.02 branch.
Sorry, something went wrong.
gasche
No branches or pull requests
Original bug ID: 6544
Reporter: madroach
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2016-12-07T10:34:46Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 4.02.0+beta1 / +rc1
Target version: 4.02.1+dev
Category: otherlibs
Monitored by: @gasche
Bug description
Bytes and CamlinternalFormat are missing from threads stdlib.cma leading to linker failures:
ocamlc -I ptests -dtypes -vmthread -g -o bin/ptests.byte unix.cma threads.cma str.cma dynlink.cma ptests/ptests_config.ml ptests/ptests.ml
File "ptests/ptests.ml", line 1:
Error: Error while linking /usr/local/lib/ocaml/vmthreads/stdlib.cma(String):
Reference to undefined global `Bytes'
Steps to reproduce
$ ./configure && gmake world && gmake bootstrap
$ ocamlobjinfo stdlib/stdlib.cma |grep Bytes
Unit name: Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
Unit name: BytesLabels
f6f25f5328b09c590f56c7e37005c501 BytesLabels
4c433013a088edac8556bb94512e4988 Bytes
f6f25f5328b09c590f56c7e37005c501 BytesLabels
$ ocamlobjinfo otherlibs/threads/stdlib.cma |grep Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
4c433013a088edac8556bb94512e4988 Bytes
f6f25f5328b09c590f56c7e37005c501 BytesLabels
Additional information
Patch is attached.
File attachments
The text was updated successfully, but these errors were encountered: