XBoard - Patches: patch #10211, xboard-4.9.1: fix build on gcc-10...
You are not allowed to post comments on this tracker with your current authentication level.
patch #10211: xboard-4.9.1: fix build on gcc-10 (-fno-common)
Submitter: | Sergei Trofimovich <slyfox> | ||
Submitted: | Sun 05 Jun 2022 02:17:06 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Attached Files
file #53275: 0001-xboard-4.9.1-fix-build-on-gcc-10-fno-common.patch added by slyfox (1KiB - text/x-patch)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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-06-05 | slyfox | Attached File | - | ![]() |
Added 0001-xboard-4.9.1-fix-build-on-gcc-10-fno-common.patch, #53275 |
gcc-10 changed the default from -fcommon to fno-common:
https://gcc.gnu.org/PR85678
As a result build fails as:
ld: evalgraph.o:(.bss+0x20): multiple definition of `ics_type'; backend.o:(.bss+0x1df910): first defined here
ld: nevalgraph.o:(.bss+0x8): multiple definition of `currPvInfo'; backend.o:(.bss+0x1df908): first defined here
The change leaves variable definitions to .c files.