Greetings!

I am a FreeBSD ports contributor who carries out QA for the armv7
platform.  After an update of our port lang/guile3 to 3.0.10, it was
observed that guile3 would faile to build on armv7 and i386.  Here
is the build failure:

GUILE_BOOTSTRAP_STAGE=stage1 ../meta/build-env guild compile 
--target="armv7-portbld-freebsd14.3" -W1 -O2 -Ono-cross-module-inlining -L 
"/usr/home/ports/main.ports/lang/guile3/work/guile-3.0.10/module" -o 
"language/cps/guile-vm/reify-primitives.go" 
"../module/language/cps/guile-vm/reify-primitives.scm"
Backtrace:
In ice-9/boot-9.scm:
  1755:12 19 (with-exception-handler _ _ #:unwind? _ # _)
In system/base/compile.scm:
    69:11 18 (_)
   190:11 17 (_ #<closed: file 20c40ea8>)
    309:6 16 (read-and-compile #<closed: file 20c40ee0> #:from _ #:to ?)
   352:28 15 (compile #<tree-il (seq (let (m) (m-182b3cf1-2) ((call?> ?)
   265:44 14 (_ #<tree-il (seq (let (m) (m-182b3cf1-2) ((call (@@ (?> ?)
   261:33 13 (_ #<intmap 0-11706> #<directory (language cps guile-vm?>)
In language/cps/optimize.scm:
    136:2 12 (_ _ #<directory (language cps guile-vm reify-primitive?>)
    111:3 11 (optimize-first-order-cps _ _)
In language/cps/switch.scm:
    414:6 10 (optimize-branch-chains _)
In language/cps/intmap.scm:
    519:6  9 (visit-branch #(#(#(#<intset 0-273> (absent) # ?) ?) ?) ?)
    519:6  8 (visit-branch #((absent) (absent) #((absent) (#) # ?) ?) ?)
    519:6  7 (visit-branch #((absent) (absent) (absent) (absent) # ?) ?)
In language/cps/switch.scm:
    99:36  6 (fold-branch-chains #<intmap 0-8003> _ _ #<procedure o?> ?)
    343:8  5 (optimize-branch-chain 3346 7427 (6771 6772 6773 6901 ?) ?)
In ice-9/boot-9.scm:
   260:13  4 (for-each #<procedure 2567c180 at language/cps/switch.?> ?)
In language/cps/switch.scm:
   340:32  3 (_ (u64-imm-< . 7428))
In language/cps/guile-vm.scm:
    89:31  2 (target-symbol-hash _)
    41:18  1 (jenkins-lookup3-hashword2 "u64-imm-<")
In ice-9/boot-9.scm:
  1676:22  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1676:22: In procedure raise-exception:
Value out of range 0 to< 18446744073709551615: -505802029
gmake[2]: *** [Makefile:2515: language/cps/guile-vm/reify-primitives.go] Error 1
gmake[2]: Leaving directory 
'/usr/home/ports/main.ports/lang/guile3/work/guile-3.0.10/stage1'
gmake[1]: *** [Makefile:2180: all-recursive] Error 1
gmake[1]: Leaving directory 
'/usr/home/ports/main.ports/lang/guile3/work/guile-3.0.10'
gmake: *** [Makefile:2065: all] Error 2
*** Error code 1

Stop.
make[1]: stopped in /usr/home/ports/main.ports/lang/guile3
*** Error code 1

To reproduce this error:

 - install FreeBSD 14.3 on an armv7 system such as a Raspberry Pi 2
 - obtain a recent copy of the ports tree and place it in /usr/ports
 - go to /usr/port/lang/guile3 and edit the Makefile there to remove
   the "NOT_FOR_ARCHS" line; this permits a build on armv7.
 - type "make" to attempt a build of the port.

It may suffice to simply extract the guile3 tarball and build it,
but I didn't test that yet.

Please note that we include some distribution patches, which you can
find in the files directory of the port, or here:

https://cgit.freebsd.org/ports/tree/lang/guile3/files

Yours,
Robert Clausecker

-- 
()  ascii ribbon campaign - for an encoding-agnostic world
/\  - against html email  - against proprietary attachments

Attachment: signature.asc
Description: PGP signature

  • bug#79595: guil... Robert Clausecker
    • bug#79595:... Robert Kirkman
      • bug#79... Bug reports for GUILE, GNU's Ubiquitous Extension Language
        • bu... Bug reports for GUILE, GNU's Ubiquitous Extension Language

Reply via email to