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

    From Scott Comstock@VERT to GitLab issue in main/sbbs on Sun Jan 31 17: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/Linux
    gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
    CentOS Linux release 7.9.2009 (Core)

    make -C ../../../3rdp/build cryptlib
    make[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 status
    make[1]: *** [gcc.linux.x64.exe.release/scfg] Error 1

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Scott Comstock@VERT to GitLab issue in main/sbbs on Sun Jan 31 17:05:05 2021
    update https://gitlab.synchro.net/main/sbbs/-/issues/211

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Sun Jan 31 21:18:43 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Scott Comstock@VERT to GitLab note in main/sbbs on Sun Jan 31 23:48:17 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to GitLab note in main/sbbs on Mon Feb 1 18: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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Scott Comstock@VERT to GitLab note in main/sbbs on Mon Feb 1 18: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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to GitLab note in main/sbbs on Mon Feb 1 19: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
    ```

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Scott Comstock@VERT to GitLab note in main/sbbs on Mon Feb 1 21:12:01 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/211#note_1435

    You're set. SSH port is 61654, user is sbbs.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Scott Comstock@VERT to GitLab note in main/sbbs on Mon Feb 1 21:14:28 2021
    https://gitlab.synchro.net/main/sbbs/-/issues/211#note_1436

    To answer your other question:

    ```
    glibc-2.17-317.el7.x86_64
    glibc-headers-2.17-317.el7.x86_64
    glibc-common-2.17-317.el7.x86_64
    glibc-devel-2.17-317.el7.x86_64
    ```

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to GitLab issue in main/sbbs on Mon Feb 1 22:10:55 2021
    close https://gitlab.synchro.net/main/sbbs/-/issues/211

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net