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

compil labltk failed (3.06) #3641

Closed
vicuna opened this issue Sep 5, 2002 · 2 comments
Closed

compil labltk failed (3.06) #3641

vicuna opened this issue Sep 5, 2002 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Sep 5, 2002

Original bug ID: 1373
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Sur machine solaris

Le fichier obtenu par ./configure > conf.log

et la trace de make world

Amicalement

Vincent


Configuring for a sparc-sun-solaris2.6 ...
gcc found
The C compiler is ANSI-compliant.
Checking the sizes of integers and pointers...
OK, this is a regular 32 bit architecture.
64-bit "long long" integer type found (printf with "%ll").
This is a big-endian architecture.
Doubles must be doubleword-aligned.
64-bit integers must be doubleword-aligned.
Native division and modulus have round-towards-zero semantics, will use them.
Dynamic loading of shared libraries is supported.
objcopy and nm found in /usr/local/bin
ranlib found
#! appears to work in shell scripts
POSIX signal handling found.
strerror() found.
times() found.
termcap functions found (with libraries '-lcurses')
You have BSD sockets (with libraries '-lnsl -lsocket')
unistd.h found.
off_t is defined in <sys/types.h>
dirent.h found.
rewinddir() found.
lockf() found.
mkfifo() found.
getcwd() found.
getwd() found.
getpriority() found.
utime() found.
utimes() found.
dup2() found.
fchmod() found.
truncate() found.
sys/select.h found.
select() found.
symlink() found.
waitpid() found.
wait4() found.
getgroups() found.
POSIX termios found.
setitimer() found.
gethostname() found.
uname() found.
gettimeofday() found.
mktime() found.
setsid() found.
putenv() found.
setlocale() and <locale.h> found.
dlopen() found.
mmap() found.
gethostbyname_r() found (with 5 arguments).
gethostbyaddr_r() found (with 7 arguments).
Replay debugger supported.
Cannot detect system stack overflow.
Threads library supported (using bytecode-level scheduling).
Location of X11 include files: /usr/include/X11
Options for linking with X11: -lX11
NDBM found (in /usr/include)
Configuring LablTk...
tcl.h version 8.0 found.
tk.h found.
Tcl/Tk libraries found.

** Configuration summary **

Directories where Objective Caml will be installed:
binaries.................. /usr/local/bin
standard library.......... /usr/local/lib/ocaml
manual pages.............. /usr/local/man (with extension .1)
Configuration for the bytecode compiler:
C compiler used........... gcc
options for compiling..... -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64
options for linking....... -Wl,-E -lnsl -lsocket -lm -ldl -lcurses
shared libraries are supported
options for compiling..... -fPIC -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64
command for building...... gcc -shared -o lib.so -Wl,-rpath,/a/path objs
Configuration for the native-code compiler:
hardware architecture..... sparc
OS variant................ solaris
C compiler used........... gcc
options for compiling..... -Wall -Wno-unused -D_FILE_OFFSET_BITS=64
options for linking....... -lnsl -lsocket -lm
assembler ................ $(AS)
preprocessed assembler ... gcc -c -DSYS_$(SYSTEM)
profiling with gprof ..... not supported
ocamlopt -pack ........... supported
Source-level replay debugger: supported
Additional libraries supported:
unix str num dynlink bigarray threads graph dbm labltk
Configuration for the "num" library:
target architecture ...... supersparc-solaris
Configuration for the "graph" library:
options for compiling ....
options for linking ...... -lX11
Configuration for the "labltk" library:
use tcl/tk version ....... 8.0
options for compiling ....
options for linking ...... -ltk8.0 -ltcl8.0 -ldl


cd byterun; make all
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c interp.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c misc.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c stacks.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c fix_code.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c startup.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c main.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c freelist.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c major_gc.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c minor_gc.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c memory.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c alloc.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c roots.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c globroots.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c fail.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c signals.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c printexc.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c backtrace.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c compare.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c ints.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c floats.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c str.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c array.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c io.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c extern.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c intern.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c hash.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c sys.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c meta.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c parsing.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c gc_ctrl.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c terminfo.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c md5.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c obj.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c lexing.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c callback.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c debugger.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c weak.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c compact.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c finalise.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c custom.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c dynlink.c
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c unix.c
ar rc libcamlrun.a interp.o misc.o stacks.o fix_code.o startup.o main.o freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o globroots.o fail.o signals.o printexc.o backtrace.o compare.o ints.o floats.o str.o array.o io.o extern.o intern.o hash.o sys.o meta.o parsing.o gc_ctrl.o terminfo.o md5.o obj.o lexing.o callback.o debugger.o weak.o compact.o finalise.o custom.o dynlink.o unix.o
ranlib libcamlrun.a
gcc -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -c prims.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -Wl,-E -o ocamlrun
prims.o libcamlrun.a -lnsl -lsocket -lm -ldl -lcurses
cp byterun/ocamlrun boot/ocamlrun
cd yacc; make all
cp yacc/ocamlyacc boot/ocamlyacc
cd stdlib; make COMPILER=../boot/ocamlc all
if true; then
echo '#!/usr/local/bin/ocamlrun' > camlheader &&
echo '#!' | tr -d '\012' > camlheader_ur;
else
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -Wl,-E
-DRUNTIME_NAME='"/usr/local/bin/ocamlrun"'
header.c -o tmpheader &&
strip tmpheader &&
mv tmpheader camlheader &&
cp camlheader camlheader_ur;
fi
cd stdlib; cp stdlib.cma std_exit.cmo *.cmi camlheader ../boot
if test -f boot/libcamlrun.a; then :; else
ln -s ../byterun/libcamlrun.a boot/libcamlrun.a; fi
if test -d stdlib/caml; then :; else
ln -s ../byterun stdlib/caml; fi
cd byterun; make all
if test -f stdlib/libcamlrun.a; then :; else
ln -s ../byterun/libcamlrun.a stdlib/libcamlrun.a; fi
sed -e 's|%%LIBDIR%%|/usr/local/lib/ocaml|'
-e 's|%%BYTERUN%%|/usr/local/bin/ocamlrun|'
-e 's|%%CCOMPTYPE%%|cc|'
-e 's|%%BYTECC%%|gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -fPIC|'
-e 's|%%BYTELINK%%|gcc -Wl,-E|'
-e 's|%%NATIVECC%%|gcc -Wall -Wno-unused -D_FILE_OFFSET_BITS=64|'
-e 's|%%NATIVELINK%%|gcc |'
-e 's|%%PARTIALLD%%|ld -r |'
-e 's|%%BYTECCLIBS%%|-lnsl -lsocket -lm -ldl -lcurses|'
-e 's|%%NATIVECCLIBS%%|-lnsl -lsocket -lm -ldl|'
-e 's|%%RANLIBCMD%%|ranlib|'
-e 's|%%BINUTILS_NM%%|/usr/local/bin/nm|'
-e 's|%%BINUTILS_OBJCOPY%%|/usr/local/bin/objcopy|'
-e 's|%%ARCH%%|sparc|'
-e 's|%%MODEL%%|default|'
-e 's|%%SYSTEM%%|solaris|'
-e 's|%%EXT_OBJ%%|.o|'
-e 's|%%EXT_ASM%%|.s|'
-e 's|%%EXT_LIB%%|.a|'
-e 's|%%EXT_DLL%%|.so|'
utils/config.mlp > utils/config.ml
boot/ocamlrun boot/ocamlc -nostdlib -I boot -warn-error A -I utils -I parsing -I typing -I bytecomp -I asmcomp -I driver -I toplevel -c utils/config.ml
boot/ocamlrun boot/ocamlc -nostdlib -I boot -o ocamlc utils/misc.cmo utils/tbl.cmo utils/config.cmo utils/clflags.cmo utils/terminfo.cmo utils/ccomp.cmo utils/warnings.cmo parsing/linenum.cmo parsing/location.cmo parsing/longident.cmo parsing/syntaxerr.cmo parsing/parser.cmo parsing/lexer.cmo parsing/parse.cmo parsing/printast.cmo typing/ident.cmo typing/path.cmo typing/primitive.cmo typing/types.cmo typing/btype.cmo typing/oprint.cmo typing/subst.cmo typing/predef.cmo typing/datarepr.cmo typing/env.cmo typing/typedtree.cmo typing/ctype.cmo typing/printtyp.cmo typing/includeclass.cmo typing/mtype.cmo typing/includecore.cmo typing/includemod.cmo typing/parmatch.cmo typing/typetexp.cmo typing/typecore.cmo typing/typedecl.cmo typing/typeclass.cmo typing/typemod.cmo bytecomp/lambda.cmo bytecomp/printlambda.cmo bytecomp/typeopt.cmo bytecomp/switch.cmo bytecomp/matching.cmo bytecomp/translobj.cmo bytecomp/translcore.cmo bytecomp/translclass.cmo bytecomp/translmod.cmo bytecomp/simplif.cmo bytecomp/runtimedef.cmo bytecomp/meta.cmo bytecomp/instruct.cmo bytecomp/bytegen.cmo bytecomp/printinstr.cmo bytecomp/opcodes.cmo bytecomp/emitcode.cmo bytecomp/bytesections.cmo bytecomp/dll.cmo bytecomp/symtable.cmo bytecomp/bytelink.cmo bytecomp/bytelibrarian.cmo bytecomp/bytepackager.cmo driver/pparse.cmo driver/errors.cmo driver/compile.cmo driver/main_args.cmo driver/main.cmo
cd yacc; make all
cd lex; make all
cd tools; make all
sed -e 's|%%BINDIR%%|/usr/local/bin|' ocamlmktop.tpl > ocamlmktop
chmod +x ocamlmktop
sed -e "s|%%BINDIR%%|/usr/local/bin|"
-e "s|%%SUPPORTS_SHARED_LIBRARIES%%|true|"
-e "s|%%MKSHAREDLIB%%|gcc -shared -o|"
-e "s|%%BYTECCRPATH%%|-Wl,-rpath,|"
-e "s|%%NATIVECCRPATH%%|-Wl,-rpath,|"
-e "s|%%MKSHAREDLIBRPATH%%|-Wl,-rpath,|"
-e "s|%%RANLIB%%|ranlib|"
ocamlmklib.mlp > ocamlmklib.ml
../boot/ocamlrun ../boot/ocamlc -I ../boot -c -warn-error A -I ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I ../driver -nostdlib ocamlmklib.ml
../boot/ocamlrun ../boot/ocamlc -I ../boot -I ../utils -I ../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I ../driver -o ocamlmklib ocamlmklib.cmo
cd stdlib; make all
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -nopervasives -c pervasives.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -nopervasives -c pervasives.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c array.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c array.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c list.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c list.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c char.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c char.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c string.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c string.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c sys.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c sys.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c hashtbl.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c hashtbl.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c sort.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c sort.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c marshal.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c marshal.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c obj.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c obj.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c lexing.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c lexing.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c parsing.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c parsing.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c set.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c set.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c map.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c map.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c stack.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c stack.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c queue.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c queue.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c stream.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c stream.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c buffer.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c buffer.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c printf.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c printf.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c format.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c format.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c scanf.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c scanf.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c arg.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c arg.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c printexc.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c printexc.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c gc.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c gc.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c digest.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c digest.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c random.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c random.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -nopervasives -c camlinternalOO.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c camlinternalOO.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c oo.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c oo.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c genlex.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c genlex.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c callback.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c callback.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c weak.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c weak.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c lazy.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c lazy.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c filename.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c filename.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c int32.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c int32.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c int64.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c int64.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c nativeint.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c nativeint.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c complex.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c complex.ml
make EXTRAFLAGS=-nolabels RUNTIME=../boot/ocamlrun
COMPILER=../ocamlc arrayLabels.cmo listLabels.cmo stringLabels.cmo moreLabels.cmo
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -nolabels -c arrayLabels.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -nolabels -c arrayLabels.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -nolabels -c listLabels.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -nolabels -c listLabels.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -nolabels -c stringLabels.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -nolabels -c stringLabels.ml
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -nolabels -c moreLabels.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -nolabels -c moreLabels.ml
touch labelled.cmo
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c stdLabels.mli
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c stdLabels.ml
../boot/ocamlrun ../ocamlc -a -o stdlib.cma pervasives.cmo array.cmo list.cmo char.cmo string.cmo sys.cmo hashtbl.cmo sort.cmo marshal.cmo obj.cmo lexing.cmo parsing.cmo set.cmo map.cmo stack.cmo queue.cmo stream.cmo buffer.cmo printf.cmo format.cmo scanf.cmo arg.cmo printexc.cmo gc.cmo digest.cmo random.cmo camlinternalOO.cmo oo.cmo genlex.cmo callback.cmo weak.cmo lazy.cmo filename.cmo int32.cmo int64.cmo nativeint.cmo complex.cmo arrayLabels.cmo listLabels.cmo stringLabels.cmo moreLabels.cmo stdLabels.cmo
../boot/ocamlrun ../ocamlc -g -warn-error A -nostdlib -c std_exit.ml
boot/ocamlrun boot/ocamlc -nostdlib -I boot -a -o toplevel/toplevellib.cma utils/misc.cmo utils/tbl.cmo utils/config.cmo utils/clflags.cmo utils/terminfo.cmo utils/ccomp.cmo utils/warnings.cmo parsing/linenum.cmo parsing/location.cmo parsing/longident.cmo parsing/syntaxerr.cmo parsing/parser.cmo parsing/lexer.cmo parsing/parse.cmo parsing/printast.cmo typing/ident.cmo typing/path.cmo typing/primitive.cmo typing/types.cmo typing/btype.cmo typing/oprint.cmo typing/subst.cmo typing/predef.cmo typing/datarepr.cmo typing/env.cmo typing/typedtree.cmo typing/ctype.cmo typing/printtyp.cmo typing/includeclass.cmo typing/mtype.cmo typing/includecore.cmo typing/includemod.cmo typing/parmatch.cmo typing/typetexp.cmo typing/typecore.cmo typing/typedecl.cmo typing/typeclass.cmo typing/typemod.cmo bytecomp/lambda.cmo bytecomp/printlambda.cmo bytecomp/typeopt.cmo bytecomp/switch.cmo bytecomp/matching.cmo bytecomp/translobj.cmo bytecomp/translcore.cmo bytecomp/translclass.cmo bytecomp/translmod.cmo bytecomp/simplif.cmo bytecomp/runtimedef.cmo bytecomp/meta.cmo bytecomp/instruct.cmo bytecomp/bytegen.cmo bytecomp/printinstr.cmo bytecomp/opcodes.cmo bytecomp/emitcode.cmo bytecomp/bytesections.cmo bytecomp/dll.cmo bytecomp/symtable.cmo bytecomp/bytelink.cmo bytecomp/bytelibrarian.cmo bytecomp/bytepackager.cmo driver/pparse.cmo driver/errors.cmo driver/compile.cmo toplevel/genprintval.cmo toplevel/toploop.cmo toplevel/trace.cmo toplevel/topdirs.cmo toplevel/topmain.cmo
boot/ocamlrun boot/ocamlc -nostdlib -I boot -o expunge utils/misc.cmo utils/tbl.cmo utils/config.cmo utils/clflags.cmo typing/ident.cmo typing/path.cmo typing/types.cmo typing/btype.cmo typing/predef.cmo bytecomp/runtimedef.cmo bytecomp/bytesections.cmo bytecomp/dll.cmo bytecomp/symtable.cmo toplevel/expunge.cmo
boot/ocamlrun boot/ocamlc -nostdlib -I boot -linkall -o ocaml.tmp toplevel/toplevellib.cma toplevel/topstart.cmo
byterun/ocamlrun ./expunge ocaml.tmp ocaml arg array buffer callback char digest filename format gc hashtbl lexing list map obj parsing pervasives printexc printf scanf queue random set sort stack string stream sys oo camlinternalOO genlex topdirs toploop weak lazy marshal int32 int64 nativeint complex outcometree arrayLabels listLabels stringLabels stdLabels moreLabels
rm -f ocaml.tmp
for i in unix str num dynlink bigarray threads graph dbm labltk; do
(cd otherlibs/$i; make RUNTIME= all) || exit $?;
done
gcc -O -I./bignum/h -I../../byterun -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -fPIC -c nat_stubs.c
../../boot/ocamlrun ../../tools/ocamlmklib -o nums bignum/o/KerN.o bignum/o/bnInit.o bignum/o/bnMult.o bignum/o/bnDivide.o bignum/o/bnCmp.o bignum/o/bzf.o bignum/o/bz.o nat_stubs.o
gcc -I../../byterun -g -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -fPIC -c bigarray_stubs.c
gcc -I../../byterun -g -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -fPIC -c mmap_unix.c
../../boot/ocamlrun ../../tools/ocamlmklib -o bigarray bigarray_stubs.o mmap_unix.o
gcc -I../../byterun -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -fPIC -g -c scheduler.c
../../boot/ocamlrun ../../tools/ocamlmklib -o threads scheduler.o
../../ocamlcomp.sh -I ../unix -warn-error A -nopervasives -c pervasives.ml
../../ocamlcomp.sh -I ../unix -warn-error A -c marshal.ml
../../ocamlcomp.sh -I ../unix -a -o stdlib.cma pervasives.cmo ../../stdlib/array.cmo ../../stdlib/list.cmo ../../stdlib/char.cmo ../../stdlib/string.cmo ../../stdlib/sys.cmo ../../stdlib/hashtbl.cmo ../../stdlib/sort.cmo marshal.cmo ../../stdlib/obj.cmo ../../stdlib/lexing.cmo ../../stdlib/parsing.cmo ../../stdlib/set.cmo ../../stdlib/map.cmo ../../stdlib/stack.cmo ../../stdlib/queue.cmo ../../stdlib/stream.cmo ../../stdlib/buffer.cmo ../../stdlib/printf.cmo ../../stdlib/format.cmo ../../stdlib/scanf.cmo ../../stdlib/arg.cmo ../../stdlib/printexc.cmo ../../stdlib/gc.cmo ../../stdlib/digest.cmo ../../stdlib/random.cmo ../../stdlib/camlinternalOO.cmo ../../stdlib/oo.cmo ../../stdlib/genlex.cmo ../../stdlib/callback.cmo ../../stdlib/weak.cmo ../../stdlib/lazy.cmo ../../stdlib/filename.cmo ../../stdlib/int32.cmo ../../stdlib/int64.cmo ../../stdlib/nativeint.cmo ../../stdlib/arrayLabels.cmo ../../stdlib/listLabels.cmo ../../stdlib/stringLabels.cmo ../../stdlib/stdLabels.cmo ../../stdlib/moreLabels.cmo
cd support; make
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -fPIC -c cltkCaml.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -fPIC -c cltkUtf.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -fPIC -c cltkEval.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -fPIC -c cltkEvent.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -fPIC -c cltkFile.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -fPIC -c cltkMain.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -fPIC -c cltkMisc.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -fPIC -c cltkTimer.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -fPIC -c cltkVar.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -fPIC -c cltkWait.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -fPIC -c cltkImg.c
../../../boot/ocamlrun ../../../tools/ocamlmklib -o labltk cltkCaml.o cltkUtf.o cltkEval.o cltkEvent.o cltkFile.o cltkMain.o cltkMisc.o cltkTimer.o cltkVar.o cltkWait.o cltkImg.o -ltk8.0 -ltcl8.0 -ldl -lX11
cd compiler; make
cd labltk; make -f Makefile.gen
cd labltk; make
cd camltk; make -f Makefile.gen
cd camltk; make
cd lib; make
../../../ocamlcomp.sh -verbose -linkall -o labltktop -I ../support
-I ../../../toplevel toplevellib.cma
-I ../labltk -I ../camltk labltk.cma
-I ../../unix unix.cma
-I ../../str str.cma
topstart.cmo
*** Error code 139
make: Fatal error: Command failed for target labltktop' Current working directory /prof/poirriez/OcamlStuff/ocaml-3.06/otherlibs/labltk/lib *** Error code 1 make: Fatal error: Command failed for target all'
Current working directory /prof/poirriez/OcamlStuff/ocaml-3.06/otherlibs/labltk
*** Error code 1
make: Fatal error: Command failed for target `otherlibraries'



@vicuna
Copy link
Author

vicuna commented Sep 6, 2002

Comment author: administrator

From: Vincent.Poirriez@univ-valenciennes.fr

Sur machine solaris

Le fichier obtenu par ./configure > conf.log

et la trace de make world

Merci pour la trace: apparemment linker labltk.cma avec dynamic
loading cause un SEGV.
Deux possibilites:

  • le dynamic loading ne marche pas sur cette machine
    Ca m'etonne un peu, car j'ai aussi des sparcs en 2.6 et ca marche
    sans probleme. Attention cependant: est-ce que tous les patchs
    recommandes de Sun ont ete' appliques? Le dynamic loading de solaris
    contient de nombreux bugs, corriges au fil des patchs.
  • un probleme bizarre specifique a` Tk. Mais je ne vois pas pourquoi,
    et je ne vois pas comment ca pourrait causer un SEGV en l'absence
    d'un bug dans le dynamic loading.

Tu peux deja` essayer de d'ajouter -custom aux options de link de
labltk (soit dans config/Makefile, soit dans otherlibs/labltk/lib/Makefile).
Si ca marche c'est probablement un probleme de dynamic loading.

J'attends plus de details.

Cordialement,

    Jacques Garrigue

@vicuna
Copy link
Author

vicuna commented Sep 27, 2002

Comment author: administrator

See #3814. Works OK when appropriate patches are applied to Solaris 2.6.

@vicuna vicuna closed this as completed Sep 27, 2002
@vicuna vicuna mentioned this issue Mar 14, 2019
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant