Deployment Dependency on GLIBC

Bug #1851630 reported by Juergen Bickert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Won't Fix
Undecided
Unassigned

Bug Description

Since Version "SBCL 1.5.6" when I deploy an executable generated by SBCL on a different plattform like an older Ubuntu Version with an older GLIBC library, I get an error message that the GLIBC library is too old.

Compile OS:
uname -a
  Linux cddr 5.3.0-19-generic #20-Ubuntu SMP Fri Oct 18 09:04:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
apt list -a libc6
  libc6/eoan,now 2.30-0ubuntu2 amd64

Install OS:
uname -a
  Linux cadr 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
apt list -a libc6
  libc6/bionic,bionic,now 2.27-3ubuntu1 amd64

CL-USER> *features*
(:SLYNK :CL-UNICODE :NAMED-READTABLES :CL-PPCRE
 ALEXANDRIA.1.0.0::SEQUENCE-EMPTYP :QUICKLISP :SB-BSD-SOCKETS-ADDRINFO :ASDF3.3
 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX :NON-BASE-CHARS-EXIST-P
 :ASDF-UNICODE :X86-64 :64-BIT :64-BIT-REGISTERS :ALIEN-CALLBACKS :ANSI-CL
 :AVX2 :C-STACK-IS-CONTROL-STACK :CALL-SYMBOL :COMMON-LISP
 :COMPACT-INSTANCE-HEADER :COMPARE-AND-SWAP-VOPS :CYCLE-COUNTER :ELF
 :FP-AND-PC-STANDARD-SAVE :GENCGC :IEEE-FLOATING-POINT :IMMOBILE-CODE
 :IMMOBILE-SPACE :INTEGER-EQL-VOP :LARGEFILE :LINKAGE-TABLE :LINUX
 :LITTLE-ENDIAN :OS-PROVIDES-BLKSIZE-T :OS-PROVIDES-DLADDR :OS-PROVIDES-DLOPEN
 :OS-PROVIDES-GETPROTOBY-R :OS-PROVIDES-POLL :OS-PROVIDES-PUTWC
 :OS-PROVIDES-SUSECONDS-T :PACKAGE-LOCAL-NICKNAMES :RELOCATABLE-HEAP :SB-DOC
 :SB-EVAL :SB-FUTEX :SB-LDB :SB-PACKAGE-LOCKS :SB-SIMD-PACK :SB-SIMD-PACK-256
 :SB-SOURCE-LOCATIONS :SB-THREAD :SB-UNICODE :SBCL :STACK-ALLOCATABLE-CLOSURES
 :STACK-ALLOCATABLE-FIXED-OBJECTS :STACK-ALLOCATABLE-LISTS
 :STACK-ALLOCATABLE-VECTORS :STACK-GROWS-DOWNWARD-NOT-UPWARD
 :UNDEFINED-FUN-RESTARTS :UNIX :UNWIND-TO-FRAME-AND-CALL-VOP)

Revision history for this message
Christophe Rhodes (csr21-cantab) wrote : Re: [Bug 1851630] [NEW] Deployment Dependency on GLIBC

 status wontfix
 done

As I said in my message to sbcl-announce for the sbcl-1.5.8 release:
glibc 2.28 fixes a bug in fcntl(), and I do not want to distribute
binaries which force the use of a buggy libc function on systems with a
fixed libc.

If you wish to distribute binaries to systems with older libcs, you will
need an sbcl that itself can run on those systems: probably the most
straightforward way of getting one of those is to compile SBCL on one of
those systems. (A more complicated way is to adapt the memcpy.h file in
sbcl/src/runtime to force fcntl to be an earlier symbol version too, and
build on your build host)

Juergen Bickert <email address hidden> writes:

> Public bug reported:
>
> Since Version "SBCL 1.5.6" when I deploy an executable generated by SBCL
> on a different plattform like an older Ubuntu Version with an older
> GLIBC library, I get an error message that the GLIBC library is too old.
>
> Compile OS:
> uname -a
> Linux cddr 5.3.0-19-generic #20-Ubuntu SMP Fri Oct 18 09:04:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
> apt list -a libc6
> libc6/eoan,now 2.30-0ubuntu2 amd64
>
> Install OS:
> uname -a
> Linux cadr 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> apt list -a libc6
> libc6/bionic,bionic,now 2.27-3ubuntu1 amd64
>
>
> CL-USER> *features*
> (:SLYNK :CL-UNICODE :NAMED-READTABLES :CL-PPCRE
> ALEXANDRIA.1.0.0::SEQUENCE-EMPTYP :QUICKLISP :SB-BSD-SOCKETS-ADDRINFO :ASDF3.3
> :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX :NON-BASE-CHARS-EXIST-P
> :ASDF-UNICODE :X86-64 :64-BIT :64-BIT-REGISTERS :ALIEN-CALLBACKS :ANSI-CL
> :AVX2 :C-STACK-IS-CONTROL-STACK :CALL-SYMBOL :COMMON-LISP
> :COMPACT-INSTANCE-HEADER :COMPARE-AND-SWAP-VOPS :CYCLE-COUNTER :ELF
> :FP-AND-PC-STANDARD-SAVE :GENCGC :IEEE-FLOATING-POINT :IMMOBILE-CODE
> :IMMOBILE-SPACE :INTEGER-EQL-VOP :LARGEFILE :LINKAGE-TABLE :LINUX
> :LITTLE-ENDIAN :OS-PROVIDES-BLKSIZE-T :OS-PROVIDES-DLADDR :OS-PROVIDES-DLOPEN
> :OS-PROVIDES-GETPROTOBY-R :OS-PROVIDES-POLL :OS-PROVIDES-PUTWC
> :OS-PROVIDES-SUSECONDS-T :PACKAGE-LOCAL-NICKNAMES :RELOCATABLE-HEAP :SB-DOC
> :SB-EVAL :SB-FUTEX :SB-LDB :SB-PACKAGE-LOCKS :SB-SIMD-PACK :SB-SIMD-PACK-256
> :SB-SOURCE-LOCATIONS :SB-THREAD :SB-UNICODE :SBCL :STACK-ALLOCATABLE-CLOSURES
> :STACK-ALLOCATABLE-FIXED-OBJECTS :STACK-ALLOCATABLE-LISTS
> :STACK-ALLOCATABLE-VECTORS :STACK-GROWS-DOWNWARD-NOT-UPWARD
> :UNDEFINED-FUN-RESTARTS :UNIX :UNWIND-TO-FRAME-AND-CALL-VOP)
>
> ** Affects: sbcl
> Importance: Undecided
> Status: New

Changed in sbcl:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.