[eclipse-clp-users] Errors when trying to build 7.0#37 from sources on macOS 10.13.3 (High Sierra)

From: Paulo Moura <pmoura_at_...342...>
Date: Sat, 3 Feb 2018 15:26:40 +0000
Hi,

I'm trying to build 7.0#37 from sources on macOS 10.13.3 (High Sierra):

15:13 $ export ECLIPSEARCH=x86_64_macosx
✔ ~/Documents/Prolog/eclipse/Eclipse_7.0_37 
15:13 $ export ECLIPSETHIRDPARTY=/opt/local
✔ ~/Documents/Prolog/eclipse/Eclipse_7.0_37 
15:14 $ CONFIG_SITE=config.$ECLIPSEARCH
✔ ~/Documents/Prolog/eclipse/Eclipse_7.0_37 
15:14 $ ./configure
checking build system type... x86_64-apple-darwin17.4.0
checking host system type... x86_64-apple-darwin17.4.0
configure: Building for ECLiPSe architecture ----- x86_64_macosx -----
configure: No file 
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
configure: WARNING: C compiler doesn't understand -fno-schedule-insns
configure: WARNING: C compiler doesn't understand -fno-schedule-insns2
configure: WARNING: C compiler doesn't understand -fira-loop-pressure
configure: WARNING: C compiler doesn't understand -fschedule-fusion
configure: WARNING: C compiler doesn't understand -frename-registers
configure: GCCLIBDIR is /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin17.4.0
configure: OSTYPE is darwin17
...
15:15 $ make -f Makefile.$ECLIPSEARCH
make[2]: Nothing to be done for `objects'.
LD_LIBRARY_PATH=/lib: ../bin/x86_64_macosx/eclipse -e 'get_flag(library_path,P),set_flag(library_path,["."|P]),lib(fcompile), set_flag(variable_names,off), fcompile("graph_algorithms", [outdir:"../lib"])'
make[2]: Nothing to be done for `objects'.
LD_LIBRARY_PATH=/lib: ../bin/x86_64_macosx/eclipse -e 'get_flag(library_path,P),set_flag(library_path,["."|P]),lib(fcompile), set_flag(variable_names,off), fcompile("heap_array", [outdir:"../lib"])'
make[2]: Nothing to be done for `objects'.
LD_LIBRARY_PATH=/lib: ../bin/x86_64_macosx/eclipse -e 'get_flag(library_path,P),set_flag(library_path,["."|P]),lib(fcompile), set_flag(variable_names,off), fcompile("fd_sets", [outdir:"../lib"])'
make[2]: Nothing to be done for `objects'.
LD_LIBRARY_PATH=/lib: ../bin/x86_64_macosx/eclipse -e 'get_flag(library_path,P),set_flag(library_path,["."|P]),lib(fcompile), set_flag(variable_names,off), fcompile("ic_sets", [outdir:"../lib"])'
unimplemented functionality in integer_list(9007474139725823, 31, _404977)
WARNING: Directive failed or aborted in file ic.ecl, line 98:
:- reexport ic_constraints.
unimplemented functionality in integer_list(9007474139725823, 31, _379092)
WARNING: Directive failed or aborted in file ic_search.ecl, line 59:
:- use_module(ic_constraints).
make[2]: Nothing to be done for `objects'.
LD_LIBRARY_PATH=/lib: ../bin/x86_64_macosx/eclipse -e 'get_flag(library_path,P),set_flag(library_path,["."|P]),lib(fcompile), set_flag(variable_names,off), fcompile("ic", [outdir:"../lib"])'
unimplemented functionality in integer_list(9007474139725823, 31, _409385)
WARNING: Directive failed or aborted in file ic.ecl, line 98:
:- reexport ic_constraints.
unimplemented functionality in integer_list(9007474139725823, 31, _380596)
WARNING: Directive failed or aborted in file ic_search.ecl, line 59:
:- use_module(ic_constraints).
make[2]: Nothing to be done for `objects'.
LD_LIBRARY_PATH=/lib: ../bin/x86_64_macosx/eclipse -e 'get_flag(library_path,P),set_flag(library_path,["."|P]),lib(fcompile), set_flag(variable_names,off), fcompile("ic_kernel", [outdir:"../lib"])'
make[2]: Nothing to be done for `objects'.
LD_LIBRARY_PATH=/lib: ../bin/x86_64_macosx/eclipse -e 'get_flag(library_path,P),set_flag(library_path,["."|P]),lib(fcompile), set_flag(variable_names,off), fcompile("ic_constraints", [outdir:"../lib"])'
unimplemented functionality in integer_list(9007474139725823, 31, _139956)
abort
make[1]: *** [../lib/ic_constraints.eco] Error 2
rm ../doc/examples/tutorial/.stamp ../doc/examples/ech/.stamp
make: *** [make_icparc_solvers] Error 2


Trying to execute the generated binary:


15:20 $ cd bin
✔ ~/Documents/Prolog/eclipse/Eclipse_7.0_37/bin 
15:20 $ ll
total 0
drwxr-sr-x  5 pmoura  staff  160 Feb  3 15:18 x86_64_macosx
✔ ~/Documents/Prolog/eclipse/Eclipse_7.0_37/bin 
15:20 $ cd x86_64_macosx/
✔ ~/Documents/Prolog/eclipse/Eclipse_7.0_37/bin/x86_64_macosx 
15:20 $ ll
total 24
-rwxr-xr-x  1 pmoura  staff  404 Feb  3 15:18 eclipse
-rwxr-xr-x  1 pmoura  staff  631 Feb  3 15:18 tkeclipse
-rwxr-xr-x  1 pmoura  staff  590 Feb  3 15:18 tktools
✔ ~/Documents/Prolog/eclipse/Eclipse_7.0_37/bin/x86_64_macosx 
15:20 $ ./eclipse 
ECLiPSe Constraint Logic Programming System [kernel threads]
Kernel and basic libraries copyright Cisco Systems, Inc.
and subject to the Cisco-style Mozilla Public Licence 1.1
(see legal/cmpl.txt or http://eclipseclp.org/licence)
Source available at www.sourceforge.org/projects/eclipse-clp
For other libraries see their individual copyright notices
Version 7.0 #37 (x86_64_macosx), Sat Feb  3 15:17 2018
[eclipse 67]: ^D
bye
✔ ~/Documents/Prolog/eclipse/Eclipse_7.0_37/bin/x86_64_macosx 
15:20 $ export PATH=.:$PATH
✔ ~/Documents/Prolog/eclipse/Eclipse_7.0_37/bin/x86_64_macosx 
15:20 $ eclipselgt
unimplemented functionality in integer_list(3691512192, 31, _235256)
ERROR: /opt/local/share/logtalk-3.14.1-rc1/integration/logtalk_eclipse.pl:27:
  Query exited (abort): :- compile($LOGTALKHOME/integration/logtalk_comp_eclipse.pl)
Error(s) occurred while compiling /opt/local/share/logtalk-3.14.1-rc1/integration/logtalk_eclipse.pl
Aborting execution ...
abort


No idea how to fix the "unimplemented functionality in integer_list" errors that I get during build or when trying to use the binary. Any hints?

Cheers,
Paulo

-----------------------------------------------------------------
Paulo Moura
Logtalk developer
Received on Sat Feb 03 2018 - 15:26:51 CET

This archive was generated by hypermail 2.3.0 : Tue May 14 2019 - 03:13:25 CEST