Summary: | games-roguelike/nethack-3.6.4 : fails to build with -fno-common or gcc-10 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | jer |
Priority: | Normal | Keywords: | PATCH, UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/NetHack/NetHack/pull/289 https://github.com/NetHack/NetHack/pull/291 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 705764 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 games-roguelike:nethack-3.6.4:20200125-124810.log temp.tbz2 nethack-3.6.4-fno-common.patch |
Description
Toralf Förster
2020-01-25 15:53:53 UTC
Created attachment 604298 [details]
emerge-info.txt
Created attachment 604300 [details]
emerge-history.txt
Created attachment 604302 [details]
environment
Created attachment 604304 [details]
etc.portage.tbz2
Created attachment 604306 [details]
games-roguelike:nethack-3.6.4:20200125-124810.log
Created attachment 604308 [details]
temp.tbz2
Created attachment 605168 [details, diff]
nethack-3.6.4-fno-common.patch
Comment on attachment 605168 [details, diff]
nethack-3.6.4-fno-common.patch
- include/decl.h has:
#define E extern
...
E NEARDATA winid WIN_STATUS;
- All .c files in the patch should not use `extern`.
- src/decl.c aligns nicely with include/decl.h, so keep that definition and remove those defnitions from other .c files
Hm, someone out there seems to think that you can just magically test for GCC 10 / Linux. :-\ Obsoleted by nethack-3.6.6 bump. |