bugGNU gettext - Bugs: bug #56792, Build failure with gettext 0.20,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56792: Build failure with gettext 0.20, gcc 9.2.0 and mingw-w64 6.0.0 (cross compiling)

Submitter:  Frédéric <halespa>
Submitted:  Wed 21 Aug 2019 08:18:28 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Wed 21 Aug 2019 09:28:24 PM UTC, comment #2: 

Fixed in gnulib, through https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=64e905db05c32792c3f0e77ce271f65e77980a92

This fix will be contained in the next release.

Bruno Haible <haible>
Group administrator
Wed 21 Aug 2019 08:33:13 PM UTC, comment #1: 
Michele Locati <mlocati>
Wed 21 Aug 2019 08:18:28 PM UTC, original submission:  

When I build gettext 0.20, I get an error (actually in make install):

x86_64-w64-mingw32-gcc-9.2.0 -DHAVE_CONFIG_H -DEXEEXT=\".exe\" -I. -I..  -DIN_GETTEXT_TOOLS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gnulib-lib -I./../gnulib-lib -I../intl -I/softs/win64-mingw-9.2.0/release/iconv/include  -O2 -DNDEBUG -DLIBXML_STATIC -MT pthread_sigmask.o -MD -MP -MF $depbase.Tpo -c -o pthread_sigmask.o pthread_sigmask.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from /softs/mingw64-9.2.0/x86_64-w64-mingw32/include/signal.h:10,
                 from ../gnulib-lib/signal.h:52,
                 from pthread_sigmask.c:20:
pthread_sigmask.c:34:1: error: expected identifier or ‘(’ before numeric constant
   34 | pthread_sigmask (int how, const sigset_t *new_mask, sigset_t *old_mask)
      | ^~~~~~~~~~~~~~~


If I compile with -E, I get lines 33 and 34

int
thread_sigmask (int how, const sigset_t *new_mask, sigset_t *old_mask)


replaced by:

# 33 "pthread_sigmask.c"
0



Frédéric <halespa>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by mlocati (Posted a comment)
  • -email is unavailable- added by halespa (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2019-08-21 haible StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code