bug-gnulib
[Top][All Lists]
Advanced

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

Re: gnulib: __builtin_expect()


From: Paul Eggert
Subject: Re: gnulib: __builtin_expect()
Date: Fri, 16 Dec 2016 14:58:02 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

Daniel Richard G. wrote:

This recent change to fnmatch.c breaks the build on z/OS:

DEPDIR=.deps depmode=aix /bin/sh /u/darkstar/testdir/build-aux/depcomp \
xlc-wrap -DHAVE_CONFIG_H -I. -I/u/darkstar/testdir/gllib -I..  
-DGNULIB_STRICT_CHECKING=1 -D_XOPEN_SOURCE=600 -DNSIG=39 -qhaltonmsg=CCN3296  
-g -qfloat=ieee -qlanglvl=extc99  -c -o fnmatch.o 
/u/darkstar/testdir/gllib/fnmatch.c
ERROR CCN3046 /usr/include/builtins.h:1858  Syntax error.
CCN0793(I) Compilation failed for file /u/darkstar/testdir/gllib/fnmatch.c.  
Object file not created.
make[4]: *** [fnmatch.o] Error 12

As far as I can tell, __builtin_expect() is not a preprocessor symbol on
this platform:

No, it's a compiler builtin. I installed the attached to gnulib; please give it a try.

Attachment: 0001-builtin-expect-new-module.patch
Description: Text Data


reply via email to

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