Hi, I played with a simple DockerFile based on Alpine Linux. After grabbing the build tools and geting the master branch form git, the compilation failed with these lines :
autoconf ./configure make ... ... gplc -o pl2wam --no-fd-lib-warn --no-top-level pl2wam.o read_file.o syn_sugar.o internal.o code_gen.o reg_alloc.o inst_codif.o first_arg.o indexing.o wam_emit.o /usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: pl2wam.o: relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC pl2wam.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status compilation failed Makefile:22: recipe for target 'pl2wam' failed make[1]: *** [pl2wam] Error 1 make[1]: Leaving directory '/tmp/gprolog-code/src/Pl2Wam' Makefile:45: recipe for target 'all' failed make: *** [all] Error 1 Can we pass th "-fPIC" advice to the make command line, or shall we adapt the configure.in script ? Regards, Fx _______________________________________________ Bug-prolog mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-prolog
