[Top][All Lists]

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

[gnugo-devel] [patch #10208] fix gcc-10 build failure (-fno-common)

From: Sergei Trofimovich
Subject: [gnugo-devel] [patch #10208] fix gcc-10 build failure (-fno-common)
Date: Sat, 21 May 2022 05:49:18 -0400 (EDT)


                 Summary: fix gcc-10 build failure (-fno-common)
                 Project: GNU Go
            Submitted by: slyfox
            Submitted on: Sat 21 May 2022 09:49:16 AM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any


Follow-up Comments:

Date: Sat 21 May 2022 09:49:16 AM UTC By: Sergei Trofimovich <slyfox>
gcc-10 changed the default from -fcommon to fno-common:

As a result build fails as:

    ld: dfa.o:/build/gnugo-3.8/patterns/../engine/liberty.h:861: multiple
definition of
mkpat.o:/build/gnugo-3.8/patterns/../engine/liberty.h:861: first defined here
    ld: dfa.o:/build/gnugo-3.8/patterns/../engine/liberty.h:860: multiple
definition of
mkpat.o:/build/gnugo-3.8/patterns/../engine/liberty.h:860: first defined here

The change moves variable definitions into a single .c file that uses them.


Reply to this item at:


  Message sent via Savannah

reply via email to

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