Skip to content

generational garbage collector won't compile without sse

Describe the problem here. I enabled the generational gc in ./configure.

It didn't build.

/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: c/all_symbols.o:(.data.rel+0x1d8d0): undefined reference to `si_sse_pack_p'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: c/all_symbols.o:(.data.rel+0x1d910): undefined reference to `si_sse_pack_as_elt_type'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: c/all_symbols.o:(.data.rel+0x1d950): undefined reference to `si_vector_to_sse_pack'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: c/all_symbols.o:(.data.rel+0x1d990): undefined reference to `si_sse_pack_to_vector'
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: c/all_symbols.o:(.data.rel+0x1da90): undefined reference to `si_sse_pack_element_type'
collect2: error: ld returned 1 exit status

I think it needs sse? I added sse back in and...it works!

Is this expected behaviour?

Provide details regarding ECL version (or preferably commit), operating system and if revelant the build options and versions of the build tools.

     VERSION "21.2.1" ;latest dev commit
      VCS-ID "fceb54c237b74962596ea831229ccc1a4af3fbb9"
          OS "Linux";Gentoo. GCC+glibc
  OS-VERSION "5.15.59-gentoo-x86_64"
MACHINE-TYPE "x86_64"
;; Note: There are extra features here because this is my normal blated
;;       ecl binary. The tests are not done with so many features.
    FEATURES (:WALKER :CDR-6 :CDR-1 :CDR-5 :LINUX :FORMATTER :CDR-7
              :ECL-WEAK-HASH :LITTLE-ENDIAN :ECL-READ-WRITE-LOCK :SSE2
              :LONG-LONG :UINT64-T :UINT32-T :UINT16-T :COMPLEX-FLOAT
              :LONG-FLOAT :UNICODE :DFFI :CLOS-STREAMS :CMU-FORMAT :UNIX
              :ECL-PDE :DLOPEN :CLOS :THREADS :BOEHM-GC :ANSI-CL :COMMON-LISP
              :FLOATING-POINT-EXCEPTIONS :IEEE-FLOATING-POINT
              :PACKAGE-LOCAL-NICKNAMES :CDR-14 :PREFIXED-API :FFI :X86_64
              :COMMON :ECL)