• read them and weep

    From Maurice Kinal@1:153/7001 to Benny Pedersen on Wednesday, April 28, 2021 23:09:07
    -={ 2021-04-28 23:09:07.342978858+00:00 }=-

    Hey Benny!

    $ gcc --version
    gcc (GCC) 11.1.0
    Copyright (C) 2021 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    Life is good,
    Maurice

    ... Draca sceal on hlæwe, frod, frætwum wlanc.
    A dragon belongs in a barrow, old, proud in its treasures.
    --- GNU bash, version 5.1.4(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Benny Pedersen@2:230/0 to Maurice Kinal on Thursday, April 29, 2021 15:50:08
    Hello Maurice!

    28 Apr 2021 23:09, Maurice Kinal wrote to Benny Pedersen:

    $ gcc --version
    gcc (GCC) 11.1.0

    will not make amiga software better unless amiga developper change to upgrade old gcc 2.97 with was the last ported amiga compiled version

    gcc 11 cant compile gcc 2.x sadly, speek up if one manages to do it :)

    ----- .toprc begins -----
    top's Config File (Linux processes with windows)
    Id:j, Mode_altscr=0, Mode_irixps=1, Delay_time=3.0, Curwin=0
    Def fieldscur=¥¨³´»½ÀÄ·º¼¹¶µÅ&')*+,-./0128>?ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz
    winflags=161076, sortindx=21, maxtasks=0, graph_cpus=0, graph_mems=2, double_up=1, combine_cpus=0
    summclr=1, msgsclr=1, headclr=3, taskclr=1
    Job fieldscur=¥¦¹·º(³´Ä»½@<§Å)*+,-./012568>?ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz
    winflags=193844, sortindx=0, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0
    summclr=6, msgsclr=6, headclr=7, taskclr=6
    Mem fieldscur=¥º»<½¾¿ÀÁMBNÃD34·Å&'()*+,-./0125689FGHIJKLOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz
    winflags=193844, sortindx=21, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0
    summclr=5, msgsclr=5, headclr=4, taskclr=5
    Usr fieldscur=¥¦§¨ª°¹·ºÄÅ)+,-./1234568;<=>?@ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz
    winflags=193844, sortindx=3, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0
    summclr=3, msgsclr=3, headclr=2, taskclr=3
    Fixed_widest=0, Summ_mscale=0, Task_mscale=0, Zero_suppress=0

    ----- .toprc ends -----

    here in top with swapoff -a i still see tasks with swap usage in top

    imho its not userspace problem, but kernel space not handling swapoff like it should do


    Regards Benny

    ... too late to die young :)

    --- Msged/LNX 6.1.2 (Linux/5.10.27-gentoo-dist (x86_64))
    * Origin: I will always keep a PC running CPM 3.0 (2:230/0)
  • From Maurice Kinal@1:153/7001 to Benny Pedersen on Thursday, April 29, 2021 18:32:19
    -={ 2021-04-29 18:32:19.600335901+00:00 }=-

    Hey Benny!

    will not make amiga software better unless amiga developper
    change to upgrade old gcc 2.97 with was the last ported amiga
    compiled version

    I seriously doubt this is a real issue.

    gcc 11 cant compile gcc 2.x sadly, speek up if one manages to do
    it :)

    It won't happen. Also libc, kernel headers, etc. will determine how far one could gradually upgrade and then I doubt that would be that far removed from gcc 2.97 given hardware limitations. Do you know of anyone who has attempted this? You're the only one I know of that even brings the subject of amiga and linux compatibilty up.

    Life is good,
    Maurice

    ... Unlæde bið and ormod se ðe a wile geomrian on gihðe.
    Wretched and hopeless is he who wants to go on lamenting in sorrow.
    --- GNU bash, version 5.1.4(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Andrew Alt@1:261/38 to Maurice Kinal on Thursday, April 29, 2021 17:27:00
    Maurice Kinal wrote to Benny Pedersen <=-

    -={ 2021-04-28 23:09:07.342978858+00:00 }=-

    $ gcc --version
    gcc (GCC) 11.1.0
    Copyright (C) 2021 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There
    is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    So being of a curious nature, I built this earlier today. Here's my experience with it so far:

    Did an out-of-tree build on Debian Buster using gcc8.

    configure failed but told me what dependencies I needed. I was able to install all
    3 from my distro's repo very quickly.

    Re-ran configure. completed. make -j5. completed. make install. completed.

    make check. Failed 14/22 tests. At the tail end I got this

    make[4]: *** [Makefile:1871: test-suite.log] Error 1 rm b3test_dwz
    make[4]: Leaving directory '/home/andy/src/gcc_build/libbacktrace' make[3]: *** [Makefile:1979: check-TESTS] Error 2 make[3]: Leaving directory '/home/andy/src/gcc_build/libbacktrace' make[2]: *** [Makefile:2264: check-am] Error 2 make[2]: Leaving directory '/home/andy/src/gcc_build/libbacktrace' make[1]: *** [Makefile:8491: check-libbacktrace] Error 2 make[1]: Leaving directory '/home/andy/src/gcc_build' make: *** [Makefile:2419: do-check] Error 2


    I ran "make check" again (without -j) and got this:

    andy@oceanus:~/src/gcc_build$ make check make[1]: Entering directory '/home/andy/src/gcc_build' make[2]: Entering directory '/home/andy/src/gcc_build/fixincludes' autogen -T ../../gcc-11.1.0/fixincludes/check.tpl ../../gcc-11.1.0/fixincludes/inclhack.def
    /bin/bash: autogen: command not found
    make[2]: *** [Makefile:176: check] Error 127 make[2]: Leaving directory '/home/andy/src/gcc_build/fixincludes' make[1]: *** [Makefile:3908: check-fixincludes] Error 2 make[1]: Leaving directory '/home/andy/src/gcc_build' make: *** [Makefile:2419: do-check] Error 2

    I built rmw with problem, added the -fanalyzer flag. The build output was the same
    as with my default compiler (no extra warnings or errors).

    After stripping the binary, the size was only slightly larger

    andy@oceanus:~/src/rmw-project/_build$ ls -al ./rmw
    -rwxr-xr-x 1 andy andy 56000 Apr 29 16:24 ./rmw andy@oceanus:~/src/rmw-project/_build$ ls -al /usr/bin/rmw
    -rwxr-xr-x 1 root root 55896 Apr 29 15:34 /usr/bin/rmw

    --
    -Andy


    ... I am not Paul.
    -+- MultiMail/Linux v0.52

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: Prism bbs (1:261/38)
  • From Maurice Kinal@1:153/7001 to Andrew Alt on Thursday, April 29, 2021 22:58:35
    -={ 2021-04-29 22:58:35.514341372+00:00 }=-

    Hey Andrew!

    I built rmw with problem, added the -fanalyzer flag.

    With or without I get the same result;

    # ls -al ./rmw
    -rwxr-xr-x 1 root root 62712 Apr 29 22:57 ./rmw
    # file ./rmw
    ./rmw: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, not stripped

    After stripping;
    # ls -al ./rmw
    -rwxr-xr-x 1 root root 52640 Apr 29 23:03 ./rmw
    # file ./rmw
    ./rmw: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped

    My unstripped is larger but the stripped version is slightly smaller. For the record my CFLAGS="-march=x86-64 -mtune=generic -Os -pipe -m64 -fPIC".

    And just to make sure;
    # gcc --version
    gcc (GCC) 11.1.0
    Copyright (C) 2021 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    Looks good from this angle.

    Life is good,
    Maurice

    ... Don't cry for me I have vi.
    --- GNU bash, version 5.1.4(1)-release (x86_64-motorshed-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)