bug-gnulib
[Top][All Lists]
Advanced

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

Re: Unable to install M4 1.4.17 using PGI 15.10 compilers


From: Eric Blake
Subject: Re: Unable to install M4 1.4.17 using PGI 15.10 compilers
Date: Fri, 4 Mar 2016 15:46:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

[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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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