TIP: Click on subject to list as thread! ANSI
echo: linux
to: Maurice Kinal
from: Andrew Alt
date: 2021-04-29 17:27:00
subject: read them and weep (gcc 1

-=> Maurice Kinal wrote to Benny Pedersen <=-

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

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

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.