[Top][All Lists]

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

Re: Build failures on GCC 10 due to -fno-common default

From: Daniel Diaz
Subject: Re: Build failures on GCC 10 due to -fno-common default
Date: Sun, 11 Jul 2021 10:51:50 +0200

Hi Till,

Sorry for the very late reply. 
Version 1.5.0 which has been released last week solves this problem.


On 2/7/20 9:32 AM, Till Hofmann wrote:
On 2/7/20 9:31 AM, Till Hofmann wrote:
Hi all,

gprolog currently fails to build on Fedora Rawhide due to a change in
GCC 10. With GCC 10, it is no longer allowed to have multiple
definitions of the same variable, which may happen if the variable is
declared in a header without extern. This causes errors such as this:
multiple definition of `pl_le_hook_set_line_buffering';
first defined here

GCC has an explanation and porting instructions:

I can re-enable -fcommon for Fedora builds. However, the recommended way
to fix this is to actually fix the code.

Kind regards,

Here's the Fedora BZ ticket with more logs:

reply via email to

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