bug-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build failure for rcs-5.9.4 on CentOS 8 with gcc 8


From: Thien-Thi Nguyen
Subject: Re: Build failure for rcs-5.9.4 on CentOS 8 with gcc 8
Date: Mon, 05 Oct 2020 14:43:49 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

() Thom O'Connor <thom.oconnor@yahoo.com>
() Mon, 20 Apr 2020 18:12:45 -0600 (MDT)

   The rcs package is not available in the CentOS 8 distribution/repository (it 
was previously available with CentOS7). When compiling rcs-5.9.4 from source on 
CentOS8 using gcc 8 [gcc-8.3.1-4.5.el8.x86_64], getting a set of build errors, 
mostly related to what appears to be the replacement of "_Noreturn" with 
"__attribute__((__noreturn__))" in gcc-8.

   // build error on CentOS 8 with gcc-8

   # ./configure
   # make
   ...
   gcc -DHAVE_CONFIG_H -I. -I../lib  -I'../lib'   -g -O2 -MT b-anchor.o -MD -MP 
-MF .deps/b-anchor.Tpo -c -o b-anchor.o b-anchor.c
   In file included from b-anchor.c:21:
   base.h: In function ‘unexpected_EOF’:
   base.h:758:3: error: ‘_Noreturn’ in empty declaration
      exiting;
      ^~~~~~~
   [etc]

   I put together a quick patch that fixes the compilation on
   CentOS8, included below.

   Many thanks for all your work and maintenance on rcs -
   continues to be an important tool for versioning control.

   Warm regards,

   // rcs-patch
   [details]

Thanks for the patch.  This is resolved in the upcoming 5.10.0
release.  Could you check it out from savannah and try building
it?  If there are problems, we want to fix them before release.

--
Thien-Thi Nguyen

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]