• scfg build failure: undefined reference to pthread_atfork (cryptlib is

    From Scott Comstock@1:103/705 to GitLab issue in main/sbbs on Sun Jan 31 09:04:22 2021
    open https://gitlab.synchro.net/main/sbbs/-/issues/211

    Linux bbs.atavachronbbs.net 5.9.6-x86_64-linode139 #1 SMP Thu Nov 5 14:45:39 EST 2020 x86_64 x86_64 x86_64 GNU/Linuxgcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)CentOS Linux release 7.9.2009 (Core)make -C ../../../3rdp/build cryptlibmake[2]: Entering directory `/sbbs/repo/3rdp/build'make[2]: Nothing to be done for `cryptlib'.make[2]: Leaving directory `/sbbs/repo/3rdp/build'Linking gcc.linux.x64.exe.release/scfg ../../../3rdp/gcc.linux.x64.release/cl/libcl.a(unix.o): In function `initRandomPolling':unix.c:(.text+0x1a21): undefined reference to `pthread_atfork'collect2: error: ld returned 1 exit statusmake[1]: *** [gcc.linux.x64.exe.release/scfg] Error 1
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Scott Comstock@1:103/705 to GitLab issue in main/sbbs on Sun Jan 31 09:05:04 2021
    update https://gitlab.synchro.net/main/sbbs/-/issues/211
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Sun Jan 31 13:18:42 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/211#note_1425

    I find it strange that builds of sbbs would succeed however. @Deuce, does sbbs use the same cryptlib function calls that you recently added to SCFG?At first glance, I would think this might be a single versus multi-threaded build issue, but it looks like that was also addressed in the commit.And this code is building fine on Debian 10.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Scott Comstock@1:103/705 to GitLab note in main/sbbs on Sun Jan 31 15:48:16 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/211#note_1429

    In response to your question on the programming echo:I did a cleanall.sh and attempted to rebuild. The error remains.I don't know if you have a CentOS 7.9 box around; I'd be willing to give you or Deuce access to mine if required.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Mon Feb 1 10:30:38 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/211#note_1432

    Giving me access could help... it looks like very old glibc versions may not have properly made pthread_atexit() available for use in libraries. Not sure what versions CentOS is using.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Scott Comstock@1:103/705 to GitLab note in main/sbbs on Mon Feb 1 10:32:18 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/211#note_1433

    Send an SSH pubkey to scott AT scottcomstock.com and I'll give you access to the sbbs account
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Mon Feb 1 11:06:06 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/211#note_1434

    My SSH public key is:```ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDaDwxNbQOpK5plscY6VjQdhZHsY5vbXrLfdRZi9dmXLtBbcxah2LzVPcmq4fbEmIAHcWVS5HfGl/iHDS7IGrsPazaAJg7QZhy5ZJLu+LIXahZ+QiWT8cVKe/jPVQvKMSEpcZ3uAzGIxlTwpyHZspotwihheYJRlO8obLmFBs9TUClMqjOPGcVSrdARnmOKojFIfI7spj8aiTzLZH7sW+2UEh5I35e1vbsxaN2zLn4iVBOMITAU6GrHx870YnDlvTDMAsPcGvlV3OBeptMLrMH7KxmdZkCVds47Gb1xJwxGfkMIfizN7+SywdXhEnsCk11cy+lMr+OPERy9qMQnk/Hn admin@portable```
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Scott Comstock@1:103/705 to GitLab note in main/sbbs on Mon Feb 1 13:14:28 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/211#note_1436

    To answer your other question:```glibc-2.17-317.el7.x86_64glibc-headers-2.17-317.el7.x86_64glibc-common-2.17-317.el7.x86_64glibc-devel-2.17-317.el7.x86_64```
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab issue in main/sbbs on Mon Feb 1 14:10:54 2021
    close https://gitlab.synchro.net/main/sbbs/-/issues/211
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)