=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gprolog", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for gprolog-1.4.5 --- config --- cd EnginePl; /opt/pkg/bin/bmake config --- pl_config --- gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o pl_config pl_config.c --- wam_regs.h --- ./pl_config ------------------------------- --- GNU PROLOG INSTALLATION --- ------------------------------- GNU Prolog version: 1.4.5 (Sep 18 2026) Operating system : solaris2.11 Processor : x86_64 Size of a WAM word: 64 bits C compiler : gcc C flags : -pipe -O2 -msave-args -fno-aggressive-loop-optimizations C flags machine : -m64 -fno-strict-aliasing Assembler : gas Assembler flags : --64 Loader flags : -Wl,-R/opt/pkg/lib Loader libraries : -lm -lsocket -lnsl Use line editor : Yes Use piped consult : Yes Use sockets : Yes Use FD solver : Yes Use machine regs. : Yes Used register(s) : r12 (pl_reg_bank) r13 (TR) r14 (B) r15 (H) ------------------------------ (cd ../TopComp; /opt/pkg/bin/bmake gplc) --- gplc --- gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o gplc top_comp.c -lm -lsocket -lnsl --- all --- . ./SETVARS;for i in EnginePl TopComp Wam2Ma Ma2Asm Linedit BipsPl Pl2Wam Fd2C EngineFD BipsFD;do (cd $i; /opt/pkg/bin/bmake) || exit 1; done; (cd TopComp; /opt/pkg/bin/bmake top-level) || exit 1; (cd Pl2Wam; /opt/pkg/bin/bmake stage2) --- cpp_headers --- --- machine1.o --- --- mem_alloc.o --- --- machine1.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' machine1.c --- cpp_headers --- gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o cpp_headers cpp_headers.c --- mem_alloc.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' mem_alloc.c --- misc.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' misc.c --- hash_fct.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' hash_fct.c --- hash.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' hash.c --- obj_chain.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' obj_chain.c --- engine.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' engine.c --- engine1.o --- gplc -c -o engine1.o engine1.c --- wam_inst.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' wam_inst.c --- atom.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' atom.c --- pred.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' pred.c --- oper.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' oper.c --- if_no_fd.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' if_no_fd.c --- main.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' main.c --- machine.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' machine.c --- stacks_sigsegv.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' stacks_sigsegv.c --- libengine_pl.a --- rm -f libengine_pl.a ar rc libengine_pl.a machine.o machine1.o stacks_sigsegv.o mem_alloc.o misc.o hash_fct.o hash.o obj_chain.o engine.o engine1.o wam_inst.o atom.o pred.o oper.o if_no_fd.o main.o ranlib libengine_pl.a --- hexgplc --- gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o hexgplc hexfilter.c --- wam2ma.o --- --- wam_parser.o --- gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c wam_parser.c --- wam2ma.o --- gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c wam2ma.c --- wam2ma --- gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o wam2ma wam2ma.o wam_parser.o --- ma2asm.o --- --- ma_parser.o --- --- ma2asm_inst.o --- --- ma2asm.o --- gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c ma2asm.c --- ma_parser.o --- gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c ma_parser.c --- ma2asm_inst.o --- gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c ma2asm_inst.c --- ma2asm --- gcc -m64 -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o ma2asm ma2asm.o ma2asm_inst.o ma_parser.o --- linedit.o --- --- terminal.o --- --- ctrl_c.o --- --- terminal.o --- gcc -m64 -fno-strict-aliasing -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char terminal.c --- linedit.o --- gcc -m64 -fno-strict-aliasing -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char linedit.c --- ctrl_c.o --- gcc -m64 -fno-strict-aliasing -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char ctrl_c.c --- liblinedit.a --- rm -f liblinedit.a ar rc liblinedit.a linedit.o terminal.o ctrl_c.o ranlib liblinedit.a --- error_supp.o --- --- c_supp.o --- --- foreign_supp.o --- --- error_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' error_supp.c --- foreign_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' foreign_supp.c --- c_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' c_supp.c --- pred_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' pred_supp.c --- term_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' term_supp.c --- stream_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' stream_supp.c --- scan_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' scan_supp.c --- parse_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' parse_supp.c --- write_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' write_supp.c --- dynam_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' dynam_supp.c --- callinf_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' callinf_supp.c --- bc_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' bc_supp.c --- assert_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' assert_c.c --- read_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' read_c.c --- write_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' write_c.c --- const_io_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' const_io_c.c --- oper_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' oper_c.c --- pred_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' pred_c.c --- atom_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' atom_c.c --- control_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' control_c.c --- call_args_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' call_args_c.c --- throw_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' throw_c.c --- flag_supp.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' flag_supp.c --- flag_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' flag_c.c --- arith_inl_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' arith_inl_c.c --- type_inl_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' type_inl_c.c --- term_inl_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' term_inl_c.c --- g_var_inl_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' g_var_inl_c.c --- all_solut_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' all_solut_c.c --- sort_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' sort_c.c --- list_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' list_c.c --- stat_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' stat_c.c --- stream_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' stream_c.c --- file_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' file_c.c --- char_io_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' char_io_c.c --- format_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' format_c.c --- os_interf_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' os_interf_c.c --- expand_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' expand_c.c --- consult_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' consult_c.c --- pretty_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' pretty_c.c --- random_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' random_c.c --- top_level_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' top_level_c.c --- debugger_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' debugger_c.c --- src_rdr_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' src_rdr_c.c --- sockets_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' sockets_c.c --- le_interf_c.o --- gplc -c -C '-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -funsigned-char' le_interf_c.c --- foreign.o --- gplc -c foreign.wam --- pl_error.o --- gplc -c pl_error.wam --- utils.o --- gplc -c utils.wam --- unify.o --- --- assert.o --- --- unify.o --- gplc -c unify.wam --- assert.o --- gplc -c assert.wam --- read.o --- gplc -c read.wam --- assert.o --- /var/tmp/gplcDDPl4d.s: Assembler messages: /var/tmp/gplcDDPl4d.s:165: Error: local label too large near 72657472616374__a2: movq 0(%r12),%rdi movq 8(%r12),%rsi call Pl_Retract_2 test %rax,%rax je fail jmp *2056(%r12) .p2align 4,,15 .globl X0_retractall__a1 X0_retractall__a1: call Pl_Get_Current_Choice movq %rax,8(%r12) movq $Lpred7_1+0,%rdi call Pl_Create_Choice_Point2 movq at+64(%rip),%rdi movq $1,%rsi call Pl_Set_Bip_Name_Untagged_2 movq 0(%r12),%rdi call Pl_Retractall_If_Empty_Head_1 test %rax,%rax je fail movq 8(%r12),%rdi call Pl_Cut jmp *2056(%r12) Lpred7_1: movq $Lpred7_2+0,%rdi call Pl_Update_Choice_Point2 movq $0,%rdi call Pl_Allocate call Pl_Put_X_Variable movq %rax,8(%r12) movq $.Lcont3,2056(%r12) jmp X1_2472657472616374__a2 .Lcont3: jmp *-8(%r14) Lpred7_2: call Pl_Delete_Choice_Point2 jmp *2056(%r12) .p2align 4,,15 .globl X1_24726574726163745F6C6173745F666F756E64__a0 X1_24726574726163745F6C6173745F666F756E64__a0: call Pl_Retract_Last_Found_0 jmp *2056(%r12) .p2align 4,,15 .globl X0_clause__a2 X0_clause__a2: movq $2,%rdi call Pl_Allocate movq 0(%r12),%rdx movq 2064(%r12),%rbx movq %rdx,-32(%rbx) movq 8(%r12),%rdx movq %rdx,-40(%rbx) movq at+80(%rip),%rdi movq $2,%rsi call Pl_Set_Bip_Name_Untagged_2 movq -32(%rbx),%rdx movq %rdx,0(%r12) movq $.Lcont4,2056(%r12) jmp X1_24636865636B5F68656164__a1 .Lcont4: movq 2064(%r12),%rbx movq -32(%rbx),%rdx movq %rdx,0(%r12) movq -40(%rbx),%rdx movq %rdx,8(%r12) movq $7,%rdi call Pl_Put_Integer_Tagged movq %rax,16(%r12) call Pl_Deallocate jmp X1_24636C61757365__a3 .p2align 4,,15 .globl X1_24636C61757365__a3 X1_24636C61757365__a3: movq 0(%r12),%rdi movq 8(%r12),%rsi movq 16(%r12),%rdx call Pl_Clause_3 test %rax,%rax je fail jmp *2056(%r12) .p2align 4,,15 .globl X1_24696E7374616E63655F666F725F736574617267__a2 X1_24696E7374616E63655F666F725F736574617267__a2: movq $7,%rdi call Pl_Put_Integer_Tagged movq %rax,16(%r12) movq 0(%r12),%rdi movq 8(%r12),%rsi movq 16(%r12),%rdx call Pl_Clause_3 test %rax,%rax je /var/tmp/gplcDDPl4d.s:320: Error: symbol `Object_Initializer' is already defined /var/tmp/gplcDDPl4d.s:333: Error: symbol `Prolog_Object_Initializer' is already defined /var/tmp/gplcDDPl4d.s:514: Error: symbol `System_Directives' is already defined /var/tmp/gplcDDPl4d.s:523: Error: symbol `User_Directives' is already defined /var/tmp/gplcDDPl4d.s:535: Error: symbol `.LC0' is already defined /var/tmp/gplcDDPl4d.s:537: Error: symbol `.LC1' is already defined /var/tmp/gplcDDPl4d.s:539: Error: symbol `.LC2' is already defined /var/tmp/gplcDDPl4d.s:541: Error: symbol `.LC3' is already defined /var/tmp/gplcDDPl4d.s:543: Error: symbol `.LC4' is already defined /var/tmp/gplcDDPl4d.s:545: Error: symbol `.LC5' is already defined /var/tmp/gplcDDPl4d.s:576: Error: symbol `at' is already defined /var/tmp/gplcDDPl4d.s:579: Warning: ignoring incorrect section type for .note.GNU-stack /var/tmp/gplcDDPl4d.s:579: Warning: ignoring changed section type for .note.GNU-stack --- unify.o --- /var/tmp/gplcDDPl4d.s: Assembler messages: /var/tmp/gplcDDPl4d.s:165: Error: local label too large near 72657472616374__a2: movq 0(%r12),%rdi movq 8(%r12),%rsi call Pl_Retract_2 test %rax,%rax je fail jmp *2056(%r12) .p2align 4,,15 .globl X0_retractall__a1 X0_retractall__a1: call Pl_Get_Current_Choice movq %rax,8(%r12) movq $Lpred7_1+0,%rdi call Pl_Create_Choice_Point2 movq at+64(%rip),%rdi movq $1,%rsi call Pl_Set_Bip_Name_Untagged_2 movq 0(%r12),%rdi call Pl_Retractall_If_Empty_Head_1 test %rax,%rax je fail movq 8(%r12),%rdi call Pl_Cut jmp *2056(%r12) Lpred7_1: movq $Lpred7_2+0,%rdi call Pl_Update_Choice_Point2 movq $0,%rdi call Pl_Allocate call Pl_Put_X_Variable movq %rax,8(%r12) movq $.Lcont3,2056(%r12) jmp X1_2472657472616374__a2 .Lcont3: jmp *-8(%r14) Lpred7_2: call Pl_Delete_Choice_Point2 jmp *2056(%r12) .p2align 4,,15 .globl X1_24726574726163745F6C6173745F666F756E64__a0 X1_24726574726163745F6C6173745F666F756E64__a0: call Pl_Retract_Last_Found_0 jmp *2056(%r12) .p2align 4,,15 .globl X0_clause__a2 X0_clause__a2: movq $2,%rdi call Pl_Allocate movq 0(%r12),%rdx movq 2064(%r12),%rbx movq %rdx,-32(%rbx) movq 8(%r12),%rdx movq %rdx,-40(%rbx) movq at+80(%rip),%rdi movq $2,%rsi call Pl_Set_Bip_Name_Untagged_2 movq -32(%rbx),%rdx movq %rdx,0(%r12) movq $.Lcont4,2056(%r12) jmp X1_24636865636B5F68656164__a1 .Lcont4: movq 2064(%r12),%rbx movq -32(%rbx),%rdx movq %rdx,0(%r12) movq -40(%rbx),%rdx movq %rdx,8(%r12) movq $7,%rdi call Pl_Put_Integer_Tagged movq %rax,16(%r12) call Pl_Deallocate jmp X1_24636C61757365__a3 .p2align 4,,15 .globl X1_24636C61757365__a3 X1_24636C61757365__a3: movq 0(%r12),%rdi movq 8(%r12),%rsi movq 16(%r12),%rdx call Pl_Clause_3 test %rax,%rax je fail jmp *2056(%r12) .p2align 4,,15 .globl X1_24696E7374616E63655F666F725F736574617267__a2 X1_24696E7374616E63655F666F725F736574617267__a2: movq $7,%rdi call Pl_Put_Integer_Tagged movq %rax,16(%r12) movq 0(%r12),%rdi movq 8(%r12),%rsi movq 16(%r12),%rdx call Pl_Clause_3 test %rax,%rax je /var/tmp/gplcDDPl4d.s:320: Error: symbol `Object_Initializer' is already defined /var/tmp/gplcDDPl4d.s:333: Error: symbol `Prolog_Object_Initializer' is already defined /var/tmp/gplcDDPl4d.s:514: Error: symbol `System_Directives' is already defined /var/tmp/gplcDDPl4d.s:523: Error: symbol `User_Directives' is already defined /var/tmp/gplcDDPl4d.s:535: Error: symbol `.LC0' is already defined /var/tmp/gplcDDPl4d.s:537: Error: symbol `.LC1' is already defined /var/tmp/gplcDDPl4d.s:539: Error: symbol `.LC2' is already defined /var/tmp/gplcDDPl4d.s:541: Error: symbol `.LC3' is already defined /var/tmp/gplcDDPl4d.s:543: Error: symbol `.LC4' is already defined /var/tmp/gplcDDPl4d.s:545: Error: symbol `.LC5' is already defined /var/tmp/gplcDDPl4d.s:576: Error: symbol `at' is already defined /var/tmp/gplcDDPl4d.s:579: Warning: ignoring incorrect section type for .note.GNU-stack /var/tmp/gplcDDPl4d.s:579: Warning: ignoring changed section type for .note.GNU-stack --- assert.o --- compilation failed *** [assert.o] Error code 1 bmake[1]: stopped making "libbips_pl.a" in /tmp/work/lang/gprolog/work/gprolog-1.4.5/src/BipsPl --- unify.o --- compilation failed *** [unify.o] Error code 1 bmake[1]: stopped making "libbips_pl.a" in /tmp/work/lang/gprolog/work/gprolog-1.4.5/src/BipsPl bmake[1]: 2 errors bmake[1]: stopped making "libbips_pl.a" in /tmp/work/lang/gprolog/work/gprolog-1.4.5/src/BipsPl *** [all] Error code 1 bmake: stopped making "all" in /tmp/work/lang/gprolog/work/gprolog-1.4.5/src bmake: 1 error bmake: stopped making "all" in /tmp/work/lang/gprolog/work/gprolog-1.4.5/src *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gprolog *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/gprolog