Eric, Here are some smaller attachments.
Adam ________________________________________ From: Eric Blake [ebl...@redhat.com] Sent: Friday, March 04, 2016 4:46 PM To: Stewart, Adam James; bug-m4@gnu.org; Bug-gnulib Subject: Re: Unable to install M4 1.4.17 using PGI 15.10 compilers [note: the original message got rejected in the moderation queue for trying to send 500k of attachments; I'm replying to the body of the message] [adding gnulib] On 03/04/2016 03:04 PM, Stewart, Adam James wrote: > Hi, > > I am unable to install M4 1.4.17 on our system with the latest PGI 15.10 > compilers. We are running CentOS 6 on an x86_64 platform. > > I have attached the relevant config.log and the build output. Configure > passes but make fails. At the bottom of the build.out file, you'll notice > several complaints about multiple definitions. Are you able to reproduce this > problem or is there a problem with our compilers? I suspect the problem is related to your compiler handling 'static inline' differently than C99, and/or gnulib configure tests for how 'static inline' behaves coming up with the wrong answer for your compiler. Remember, GNU gcc used to have one semantic for static inline, which was completely different from how things were actually specified in C99; so we already have preprocessor macros in place that are supposed to pick the correct definition for an inline function living in a header file, according to which semantics are in effect. Since I'm replying without the benefit of your config.log or build output, I can't see what was actually guessed for your compiler, nor what got defined in config.h and friends. But hopefully that gives you and idea of where you can further look. Also, since m4 gets its 'static inline' handling from gnulib, you may run into the same problem with other software packages, so fixing it in gnulib will help more than just m4. (Or maybe it's already fixed in gnulib, and m4 just needs a new release with newer gnulib) -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
build.out.gz
Description: build.out.gz
config.log.gz
Description: config.log.gz