patchGNU Go - Patches: patch #10208, fix gcc-10 build failure...


You are not allowed to post comments on this tracker with your current authentication level.

patch #10208: fix gcc-10 build failure (-fno-common)

Submitter:  Sergei Trofimovich <slyfox>
Submitted:  Sat 21 May 2022 09:49:16 AM UTC
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Sat 21 May 2022 09:49:16 AM UTC, original submission:  

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
      `meaningless_white_moves'; 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
      `meaningless_black_moves'; 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.

Sergei Trofimovich <slyfox>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by slyfox (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-21 slyfox Attached File- Added 0001-gnugo-fix-gcc-10-build-failure-fno-common.patch, #53240

    Back to the top

    Powered by Savane 3.12