Open gambiteer opened 9 years ago
Further info:
heine:~> uname -a Linux heine 4.2.0-17-generic #21-Ubuntu SMP Fri Oct 23 19:56:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux heine:~> gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.2.1-22ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)
If you first configure and make from-scratch without shared libraries, you can then configure and build with shared libraries.
The workaround did not work here.
On which system? It worked for me on Linux.
I am on Arch Linux 64 bit.
==> Erstelle Paket: gambit-c-git 4.8.1.r16.ge91b7d8-1 (Mi 25. Nov 19:26:37 CET 2015)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
-> Aktualisiere das gambit-scheme git Repo...
Fordere an von origin
==> Überprüfe Gültigkeit der Quell-Dateien mit md5sums...
gambit-scheme ... Übersprungen
==> Entpacke Quellen...
-> Erstelle Arbeitskopie des gambit git Repos...
Setze Branch 'makepkg' neu
==> Beginne pkgver()...
==> Entferne existierendes $pkgdir/ Verzeichnis...
==> Beginne build()...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x8664-unknown-linux-gnu
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
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void... 8
checking size of long... 8
checking for bool... no
checking whether gcc defines GNUC... yes
checking whether gcc defines clang...
checking whether gcc defines llvm...
checking whether gcc defines _MSC_VER...
checking whether gcc defines _WIN32...
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dxe.h usability... no
checking sys/dxe.h presence... no
checking for sys/dxe.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/timers.h usability... no
checking sys/timers.h presence... no
checking for sys/timers.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking fpu_control.h usability... yes
checking fpu_control.h presence... yes
checking for fpu_control.h... yes
checking os2.h usability... no
checking os2.h presence... no
checking for os2.h... no
checking dos.h usability... no
checking dos.h presence... no
checking for dos.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking wdefwin.h usability... no
checking wdefwin.h presence... no
checking for wdefwin.h... no
checking tfork.h usability... no
checking tfork.h presence... no
checking for tfork.h... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking sys/fpu.h usability... no
checking sys/fpu.h presence... no
checking for sys/fpu.h... no
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for strings.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking TargetConditionals.h usability... no
checking TargetConditionals.h presence... no
checking for TargetConditionals.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking for environ... yes
checking for _NSGetEnviron... checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
no
checking for remove... yes
checking for rename... yes
checking for sys/stat.h... (cached) yes
checking for mkdir... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for opendir... yes
checking stat.h usability... no
checking stat.h presence... no
checking for stat.h... no
checking for sys/stat.h... (cached) yes
checking for stat... yes
checking for stat64... yes
checking for struct stat64... no
checking for socklen_t... yes
checking for library containing asin... -lm
checking for library containing dlopen... -ldl
checking for library containing shl_load... no
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing hstrerror... none required
checking for library containing openpty... -lutil
checking for library containing WSAStartup... no
checking for library containing timeBeginPeriod... no
checking for pipe... yes
checking for socketpair... yes
checking for chdir... yes
checking for execvp... yes
checking for getgrnam... yes
checking for getpid... yes
checking for getppid... yes
checking for getpwnam... yes
checking for ioctl... yes
checking for link... yes
checking for mkfifo... yes
checking for rmdir... yes
checking for socket... yes
checking for utimes... yes
checking for strerror... yes
checking for symlink... yes
checking for sysconf... yes
checking for sysctl... yes
checking for syslog... yes
checking for unlink... yes
checking for waitpid... yes
checking for mmap... yes
checking for fcntl... yes
checking for tcgetsetattr... yes
checking for sigaction... yes
checking for sigemptyset/sigaddset... yes
checking for sigprocmask... yes
checking for signal... yes
checking for clock_gettime... yes
checking for getclock... no
checking for gettimeofday... yes
checking for ftime... yes
checking for time... yes
checking for nanosleep... yes
checking for sleep... yes
checking for getrusage... yes
checking for times... yes
checking for clock... yes
checking for DosQuerySysInfo... no
checking for setitimer... yes
checking for dos_setvect... no
checking for DosStartTimer... no
checking for VInstall... no
checking for shl_load... no
checking for DosLoadModule... no
checking for dxe_load... no
checking for GetDiskFragment... no
checking for dlopen... yes
checking for NSLinkModule... no
checking for gethostname... yes
checking for inet_pton... yes
checking for getaddrinfo... yes
checking for gethostbyname... yes
checking for gethostbyaddr... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getnetbyname... yes
checking for select... yes
checking for poll... yes
checking for ppoll... yes
checking for openpty... yes
checking for getpt... yes
checking for ptsname... yes
checking for ctermid... yes
checking for isastream... yes
checking for hstrerror... yes
checking for get_fpc_csr... no
checking how gcc's preprocessor evaluates (GNUC_1000+GNUC_MINOR)>=4002&&(GNUC_1000+GNUC_MINOR)<=4003...
checking how gcc's preprocessor evaluates llvm && !clang && (GNUC_1000+GNUC_MINOR)<4005...
checking whether gcc accepts -no-cpp-precomp...
checking whether gcc accepts -fschedule-insns2... -fschedule-insns2
checking whether gcc accepts -fno-trapping-math... -fno-trapping-math
checking whether gcc accepts -fno-move-loop-invariants... -fno-move-loop-invariants
checking whether gcc accepts -fno-keep-inline-dllexport...
checking whether gcc accepts -mieee...
checking whether gcc accepts -mieee-with-inexact...
checking whether gcc accepts -mieee-fp... -mieee-fp
checking whether gcc accepts -Wall... -Wall
checking whether gcc accepts -W... -W
checking whether gcc accepts -Wno-unused... -Wno-unused
checking whether gcc accepts -Wno-write-strings... -Wno-write-strings
checking whether gcc accepts -g... -g
checking whether gcc accepts -p... -p
checking whether gcc accepts -pg... -pg
checking whether gcc accepts -ftest-coverage... -ftest-coverage
checking whether gcc accepts -fprofile-arcs... -fprofile-arcs
checking whether gcc accepts -fbranch-probabilities... -fbranch-probabilities
checking whether gcc accepts -O1... -O1
checking whether gcc accepts -O2... -O2
checking whether gcc accepts -fno-math-errno... -fno-math-errno
checking whether gcc accepts -fno-strict-aliasing... -fno-strict-aliasing
checking whether gcc accepts -fwrapv... -fwrapv
checking whether gcc accepts -fomit-frame-pointer... -fomit-frame-pointer
checking whether gcc accepts -fmodulo-sched... -fmodulo-sched
checking whether gcc accepts -freschedule-modulo-scheduled-loops... -freschedule-modulo-scheduled-loops
checking whether gcc accepts -fPIC... -fPIC
checking whether gcc accepts -fpic... -fpic
checking whether gcc accepts -fno-common... -fno-common
checking whether gcc accepts -rdynamic... -rdynamic
checking whether gcc accepts -shared... -shared
checking for X... libraries , headers
checking for gethostbyname... (cached) yes
checking for connect... yes
checking for remove... (cached) yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for ar... ar
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating makefile
config.status: creating include/makefile
config.status: creating include/gambit.h
config.status: creating lib/makefile
config.status: creating gsi/makefile
config.status: creating gsc/makefile
config.status: creating bin/makefile
config.status: creating bin/gambcomp-C.unix
config.status: creating bin/gambcomp-C.bat.windows
config.status: creating bin/gambdoc.unix
config.status: creating bin/gambdoc.bat.windows
config.status: creating misc/makefile
config.status: creating doc/makefile
config.status: creating tests/makefile
config.status: creating examples/makefile
config.status: creating examples/distr-comp/makefile
config.status: creating examples/pi/makefile
config.status: creating examples/ring/makefile
config.status: creating examples/web-repl/makefile
config.status: creating examples/web-server/makefile
config.status: creating examples/tcltk/makefile
config.status: creating examples/Xlib-simple/makefile
config.status: creating examples/pthread/makefile
config.status: creating examples/misc/makefile
config.status: creating contrib/makefile
config.status: creating contrib/GambitREPL/makefile
config.status: creating prebuilt/makefile
config.status: creating prebuilt/macosx/makefile
config.status: creating prebuilt/macosx/build-phase2
config.status: creating prebuilt/windows/makefile
config.status: creating prebuilt/windows/build-phase2
config.status: creating include/config.h
config.status: include/config.h is unchanged
make bootstrap # make gsc compiler of latest release
make[1]: Entering directory '/home/haawda/paketierung/meine_Pakete/gambit-c-git/src/gambit-scheme'
making all in include
make[2]: Entering directory '/home/haawda/paketierung/meine_Pakete/gambit-c-git/src/gambit-scheme/include'
make[2]: Leaving directory '/home/haawda/paketierung/meine_Pakete/gambit-c-git/src/gambit-scheme/include'
making all in lib
make[2]: Entering directory '/home/haawda/paketierung/meine_Pakete/gambit-c-git/src/gambit-scheme/lib'
LD_LIBRARY_PATH=..:/home/haawda/GNUstep/Library/Libraries:/usr/lib ../gsc-boot -:bin=../bin,lib=../lib,~~include=../include -f -c -check -prelude "(##include \"header.scm\")" _io.scm
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fschedule-insns2 -fno-strict-aliasing -fno-trapping-math -fwrapv -fmodulo-sched -freschedule-modulo-scheduled-loops -fomit-frame-pointer -fPIC -fno-common -mieee-fp -I"../include" -c -o "_io.o" -I. -DHAVE_CONFIGH -DGAMBITDIR="\"/usr\"" -D_GAMBITDIR_LIB="\"/usr/lib/gambit-c\"" -D_GAMBITDIR_DOC="\"/usr/share/gambit-c\"" -D_GAMBITDIRINFO="\"/usr/share/info\"" -DSYS_TYPE_CPU="\"x86_64\"" -D___SYS_TYPEVENDOR="\"unknown\"" -DSYS_TYPE_OS="\"linux-gnu\"" -D_CONFIGURE_COMMAND="\"./configure '--prefix=/usr' '--docdir=/usr/share/gambit-c' '--infodir=/usr/share/info' '--libdir=/usr/lib/gambit-c' '--enable-c-opt' '--enable-gcc-opts' '--enable-single-host' '--enable-shared' '--enable-compiler-name=gambitc' '--enable-compiler-name=gambiti' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'"\" -D_OBJEXTENSION="\".o\"" -DEXE_EXTENSION="\"\"" -D_BATEXTENSION="\"\"" -DPRIMAL _io.c -D___LIBRARY
LD_LIBRARY_PATH=..:/home/haawda/GNUstep/Library/Libraries:/usr/lib ../gsc-boot -:bin=../bin,lib=../lib,~~include=../include -f -c -check -prelude "(##include \"header.scm\")" _num.scm
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fschedule-insns2 -fno-strict-aliasing -fno-trapping-math -fwrapv -fmodulo-sched -freschedule-modulo-scheduled-loops -fomit-frame-pointer -fPIC -fno-common -mieee-fp -I"../include" -c -o "_num.o" -I. -DHAVE_CONFIGH -DGAMBITDIR="\"/usr\"" -D_GAMBITDIR_LIB="\"/usr/lib/gambit-c\"" -D_GAMBITDIRDOC="\"/usr/share/gambit-c\"" -DGAMBITDIR_INFO="\"/usr/share/info\"" -D_SYS_TYPE_CPU="\"x8664\"" -DSYS_TYPEVENDOR="\"unknown\"" -DSYS_TYPE_OS="\"linux-gnu\"" -D_CONFIGURE_COMMAND="\"./configure '--prefix=/usr' '--docdir=/usr/share/gambit-c' '--infodir=/usr/share/info' '--libdir=/usr/lib/gambit-c' '--enable-c-opt' '--enable-gcc-opts' '--enable-single-host' '--enable-shared' '--enable-compiler-name=gambitc' '--enable-compiler-name=gambiti' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'"\" -D_OBJEXTENSION="\".o\"" -DEXE_EXTENSION="\"\"" -D_BATEXTENSION="\"\"" -DPRIMAL _num.c -D___LIBRARY
LD_LIBRARY_PATH=..:/home/haawda/GNUstep/Library/Libraries:/usr/lib ../gsc-boot -:bin=../bin,lib=../lib,~~include=../include -f -c -check -prelude "(##include \"header.scm\")" _std.scm
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fschedule-insns2 -fno-strict-aliasing -fno-trapping-math -fwrapv -fmodulo-sched -freschedule-modulo-scheduled-loops -fomit-frame-pointer -fPIC -fno-common -mieee-fp -I"../include" -c -o "_std.o" -I. -DHAVE_CONFIGH -DGAMBITDIR="\"/usr\"" -D_GAMBITDIR_LIB="\"/usr/lib/gambit-c\"" -D_GAMBITDIRDOC="\"/usr/share/gambit-c\"" -DGAMBITDIR_INFO="\"/usr/share/info\"" -D_SYS_TYPE_CPU="\"x8664\"" -DSYS_TYPEVENDOR="\"unknown\"" -DSYS_TYPE_OS="\"linux-gnu\"" -D_CONFIGURE_COMMAND="\"./configure '--prefix=/usr' '--docdir=/usr/share/gambit-c' '--infodir=/usr/share/info' '--libdir=/usr/lib/gambit-c' '--enable-c-opt' '--enable-gcc-opts' '--enable-single-host' '--enable-shared' '--enable-compiler-name=gambitc' '--enable-compiler-name=gambiti' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'"\" -D_OBJEXTENSION="\".o\"" -DEXE_EXTENSION="\"\"" -D_BATEXTENSION="\"\"" -DPRIMAL _std.c -D___LIBRARY
LD_LIBRARY_PATH=..:/home/haawda/GNUstep/Library/Libraries:/usr/lib ../gsc-boot -:bin=../bin,lib=../lib,~~include=../include -f -c -check -prelude "(##include \"header.scm\")" _repl.scm
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fschedule-insns2 -fno-strict-aliasing -fno-trapping-math -fwrapv -fmodulo-sched -freschedule-modulo-scheduled-loops -fomit-frame-pointer -fPIC -fno-common -mieee-fp -I"../include" -c -o "_repl.o" -I. -DHAVE_CONFIGH -DGAMBITDIR="\"/usr\"" -D_GAMBITDIR_LIB="\"/usr/lib/gambit-c\"" -D_GAMBITDIRDOC="\"/usr/share/gambit-c\"" -DGAMBITDIR_INFO="\"/usr/share/info\"" -D_SYS_TYPE_CPU="\"x8664\"" -DSYS_TYPEVENDOR="\"unknown\"" -DSYS_TYPE_OS="\"linux-gnu\"" -D_CONFIGURE_COMMAND="\"./configure '--prefix=/usr' '--docdir=/usr/share/gambit-c' '--infodir=/usr/share/info' '--libdir=/usr/lib/gambit-c' '--enable-c-opt' '--enable-gcc-opts' '--enable-single-host' '--enable-shared' '--enable-compiler-name=gambitc' '--enable-compiler-name=gambiti' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'"\" -D_OBJEXTENSION="\".o\"" -DEXE_EXTENSION="\"\"" -D_BATEXTENSION="\"\"" -DPRIMAL _repl.c -D___LIBRARY
LD_LIBRARY_PATH=..:/home/haawda/GNUstep/Library/Libraries:/usr/lib ../gsc-boot -:bin=../bin,lib=../lib,~~include=../include -f -c -check -prelude "(##include \"header.scm\")" _eval.scm
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fschedule-insns2 -fno-strict-aliasing -fno-trapping-math -fwrapv -fmodulo-sched -freschedule-modulo-scheduled-loops -fomit-frame-pointer -fPIC -fno-common -mieee-fp -I"../include" -c -o "_eval.o" -I. -DHAVE_CONFIGH -DGAMBITDIR="\"/usr\"" -D_GAMBITDIR_LIB="\"/usr/lib/gambit-c\"" -D_GAMBITDIRDOC="\"/usr/share/gambit-c\"" -DGAMBITDIR_INFO="\"/usr/share/info\"" -D_SYS_TYPE_CPU="\"x8664\"" -DSYS_TYPEVENDOR="\"unknown\"" -DSYS_TYPE_OS="\"linux-gnu\"" -D_CONFIGURE_COMMAND="\"./configure '--prefix=/usr' '--docdir=/usr/share/gambit-c' '--infodir=/usr/share/info' '--libdir=/usr/lib/gambit-c' '--enable-c-opt' '--enable-gcc-opts' '--enable-single-host' '--enable-shared' '--enable-compiler-name=gambitc' '--enable-compiler-name=gambiti' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'"\" -D_OBJEXTENSION="\".o\"" -DEXE_EXTENSION="\"\"" -D_BATEXTENSION="\"\"" -DPRIMAL _eval.c -D___LIBRARY
LD_LIBRARY_PATH=..:/home/haawda/GNUstep/Library/Libraries:/usr/lib ../gsc-boot -:bin=../bin,lib=../lib,~~include=../include -f -c -check -prelude "(##include \"header.scm\")" _nonstd.scm
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fschedule-insns2 -fno-strict-aliasing -fno-trapping-math -fwrapv -fmodulo-sched -freschedule-modulo-scheduled-loops -fomit-frame-pointer -fPIC -fno-common -mieee-fp -I"../include" -c -o "_nonstd.o" -I. -DHAVE_CONFIGH -DGAMBITDIR="\"/usr\"" -D_GAMBITDIR_LIB="\"/usr/lib/gambit-c\"" -D_GAMBITDIRDOC="\"/usr/share/gambit-c\"" -DGAMBITDIR_INFO="\"/usr/share/info\"" -D_SYS_TYPE_CPU="\"x8664\"" -DSYS_TYPEVENDOR="\"unknown\"" -DSYS_TYPE_OS="\"linux-gnu\"" -D_CONFIGURE_COMMAND="\"./configure '--prefix=/usr' '--docdir=/usr/share/gambit-c' '--infodir=/usr/share/info' '--libdir=/usr/lib/gambit-c' '--enable-c-opt' '--enable-gcc-opts' '--enable-single-host' '--enable-shared' '--enable-compiler-name=gambitc' '--enable-compiler-name=gambiti' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'"\" -D_OBJEXTENSION="\".o\"" -DEXE_EXTENSION="\"\"" -D_BATEXTENSION="\"\"" -DPRIMAL _nonstd.c -D___LIBRARY
LD_LIBRARY_PATH=..:/home/haawda/GNUstep/Library/Libraries:/usr/lib ../gsc-boot -:bin=../bin,lib=../lib,~~include=../include -f -c -check -prelude "(##include \"header.scm\")" _kernel.scm
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fschedule-insns2 -fno-strict-aliasing -fno-trapping-math -fwrapv -fmodulo-sched -freschedule-modulo-scheduled-loops -fomit-frame-pointer -fPIC -fno-common -mieee-fp -I"../include" -c -o "_kernel.o" -I. -DHAVE_CONFIGH -DGAMBITDIR="\"/usr\"" -D_GAMBITDIR_LIB="\"/usr/lib/gambit-c\"" -D_GAMBITDIRDOC="\"/usr/share/gambit-c\"" -DGAMBITDIR_INFO="\"/usr/share/info\"" -D_SYS_TYPE_CPU="\"x8664\"" -DSYS_TYPEVENDOR="\"unknown\"" -DSYS_TYPE_OS="\"linux-gnu\"" -D_CONFIGURE_COMMAND="\"./configure '--prefix=/usr' '--docdir=/usr/share/gambit-c' '--infodir=/usr/share/info' '--libdir=/usr/lib/gambit-c' '--enable-c-opt' '--enable-gcc-opts' '--enable-single-host' '--enable-shared' '--enable-compiler-name=gambitc' '--enable-compiler-name=gambiti' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'"\" -D_OBJEXTENSION="\".o\"" -DEXE_EXTENSION="\"\"" -D_BATEXTENSION="\"\"" -DPRIMAL _kernel.c -D___LIBRARY
In file included from _kernel.c:561:0:
kernel.c: In function 'H20_kernel':
kernel.c:4781:11: error: too few arguments to function 'begin_interrupt_service_pstate'
__EXT(begin_interrupt_service_pstate) (PSPNC);
^
../include/gambit.h:5216:18: note: in definition of macro 'EXT'
^
In file included from _kernel.c:561:0: ../include/gambit.h:10402:18: note: declared here _IMPFUNC(void,begin_interrupt_service_pstate) ^ ../include/gambit.h:1545:43: note: in definition of macro '___IMP_FUNC'
^
_kernel.c:4790:56: warning: passing argument 1 of '_check_interruptpstate' makes pointer from integer without a cast [-Wint-conversion] if (EXT(_check_interruptpstate) (PSP i)) ^ In file included from _kernel.c:561:0: ../include/gambit.h:10405:21: note: expected '_processor_state {aka struct ___processor_statestruct *}' but argument is of type 'int' IMP_FUNC(BOOL,check_interrupt_pstate) ^ ../include/gambit.h:1545:43: note: in definition of macro '___IMP_FUNC'
^
In file included from _kernel.c:561:0: _kernel.c:4790:21: error: too few arguments to function '_check_interruptpstate' if (EXT(_check_interruptpstate) (PSP i)) ^ ../include/gambit.h:5216:18: note: in definition of macro '___EXT'
^
In file included from _kernel.c:561:0: ../include/gambit.h:10405:21: note: declared here _IMP_FUNC(__BOOL,check_interrupt_pstate) ^ ../include/gambit.h:1545:43: note: in definition of macro '___IMP_FUNC'
^
_kernel.c:4793:56: warning: passing argument 1 of '_end_interrupt_service_pstate' makes pointer from integer without a cast [-Wint-conversion] __EXT(end_interrupt_service_pstate) (_PSP i+1); ^ In file included from _kernel.c:561:0: ../include/gambit.h:10409:18: note: expected '_processorstate {aka struct processor_statestruct *}' but argument is of type 'int' IMP_FUNC(void,_end_interrupt_servicepstate) ^ ../include/gambit.h:1545:43: note: in definition of macro 'IMP_FUNC'
^
In file included from _kernel.c:561:0: _kernel.c:4793:15: error: too few arguments to function '_end_interrupt_service_pstate' __EXT(end_interrupt_service_pstate) (PSP i+1); ^ ../include/gambit.h:5216:18: note: in definition of macro 'EXT'
^
In file included from _kernel.c:561:0: ../include/gambit.h:10409:18: note: declared here _IMPFUNC(void,end_interrupt_service_pstate) ^ ../include/gambit.h:1545:43: note: in definition of macro '___IMP_FUNC'
^
In file included from _kernel.c:561:0: _kernel.c:4805:13: error: too few arguments to function '_end_interrupt_service_pstate' __EXT(end_interrupt_service_pstate) (PSP 0); ^ ../include/gambit.h:5216:18: note: in definition of macro 'EXT'
^
In file included from _kernel.c:561:0: ../include/gambit.h:10409:18: note: declared here _IMPFUNC(void,end_interrupt_service_pstate) ^ ../include/gambit.h:1545:43: note: in definition of macro '___IMP_FUNC'
^
In file included from _kernel.c:561:0: _kernel.c:6032:8: error: too few arguments to function '_disable_interruptspstate' EXT(_disable_interruptspstate) (PSPNC); RESULT = VOID; ^ ../include/gambit.h:5216:18: note: in definition of macro '___EXT'
^
In file included from _kernel.c:561:0: ../include/gambit.h:10413:18: note: declared here _IMP_FUNC(void,___disable_interruptspstate) ^ ../include/gambit.h:1545:43: note: in definition of macro 'IMP_FUNC'
^
In file included from _kernel.c:561:0: _kernel.c:6060:8: error: too few arguments to function '_enable_interruptspstate' EXT(_enable_interruptspstate) (PSPNC); RESULT = VOID; ^ ../include/gambit.h:5216:18: note: in definition of macro '___EXT'
^
In file included from _kernel.c:561:0: ../include/gambit.h:10416:18: note: declared here _IMP_FUNC(void,___enable_interruptspstate) ^ ../include/gambit.h:1545:43: note: in definition of macro 'IMP_FUNC'
^
_kernel.c:9652:33: error: 'struct _processor_state_struct' has no member named 'executable_wills' __SCMOBJ will = ps->executable_wills; ^ _kernel.c:9657:20: error: 'struct _processor_state_struct' has no member named 'executablewills' ps->executable_wills = ___BODY(will)[0]; ^ makefile:164: recipe for target '_kernel.o' failed make[2]: * [_kernel.o] Error 1 make[2]: Leaving directory '/home/haawda/paketierung/meine_Pakete/gambit-c-git/src/gambit-scheme/lib' makefile:406: recipe for target 'all-recursive' failed make[1]: * [all-recursive] Error 1 make[1]: Leaving directory '/home/haawda/paketierung/meine_Pakete/gambit-c-git/src/gambit-scheme' makefile:107: recipe for target 'from-scratch' failed make: *\ [from-scratch] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Process makepkg exited abnormally with code 2
Based on the error messages you received, I believe that the last two commits have left Gambit in an unbuildable state.
Brad
Maybe.
I switched back two commits an get another error. But this one seems to be easier to solve:
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fschedule-insns2 -fno-strict-aliasing -fno-trapping-math -fwrapv -fmodulo-sched -freschedule-modulo-scheduled-loops -fomit-frame-pointer -fPIC -fno-common -mieee-fp -rdynamic -I"../include" -o "gsc" _gsc.o gsc.o "../lib/libgambit.so" -lutil -ldl -lm libgambitgsc.so
libgambitgsc.so: undefined reference to ___S___t_2d_univ_2d_2' libgambitgsc.so: undefined reference to
_G_20t_2d_univ_2d_2'
libgambitgsc.so: undefined reference to ___G__20___t_2d_univ_2d_3' libgambitgsc.so: undefined reference to
St_2d_univ_2d_4'
libgambitgsc.so: undefined reference to ___G_c_23_univ_2d_emit_2d_cast_2a__2d_jumpable' libgambitgsc.so: undefined reference to
_G_20t_2d_univ_2d_4'
libgambitgsc.so: undefined reference to `St_2d_univ_2d_3'
collect2: error: ld returned 1 exit status
makefile:217: recipe for target 'gsc' failed
make[2]: *\ [gsc] Error 1
Like I said, configure without --enable-shared, make from-scratch, configure with --enable-shared, make.
On Nov 26, 2015, at 3:42 PM, Stefan Husmann notifications@github.com wrote:
Maybe.
I switched back two commits an get another error. But this one seems to be easier to solve: gcc -Wl,-O1,--sort-common,--as-needed,-z,relro -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fschedule-insns2 -fno-strict-aliasing -fno-trapping-math -fwrapv -fmodulo-sched -freschedule-modulo-scheduled-loops -fomit-frame-pointer -fPIC -fno-common -mieee-fp -rdynamic -I"../include" -o "gsc" gsc.o _gsc.o "../lib/libgambit.so" -lutil -ldl -lm libgambitgsc.so libgambitgsc.so: undefined reference to St_2d_univ_2d_2' libgambitgsc.so: undefined reference to_G_20t_2d_univ_2d_2' libgambitgsc.so: undefined reference to _G_20t_2d_univ_2d_3' libgambitgsc.so: undefined reference toSt_2d_univ_2d_4' libgambitgsc.so: undefined reference to _G_c_23_univ_2d_emit_2d_cast_2a2djumpable' libgambitgsc.so: undefined reference toG_20t_2d_univ_2d_4' libgambitgsc.so: undefined reference to `St_2d_univ_2d_3' collect2: error: ld returned 1 exit status makefile:217: recipe for target 'gsc' failed make[2]: *\ [gsc] Error 1
— Reply to this email directly or view it on GitHub.