Summary: | sys-fs/atari-fdisk fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | m68k team <m68k> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam, seal331gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 705764 | ||
Attachments: |
build.log
Fix for atari-fdisk compile |
Description
Agostino Sarubbo
![]() Created attachment 642416 [details]
build.log
build log and emerge --info
I just slapped a copy on my amd64 box and it compiles fine. Probably because I'm too lazy to update my OS and using GCC 9, but I may be able to help. I've dealt with a lot of old software, and there's this one annoying thing that GCC 10 changed the default compiler options from -fcommon to -fno-common, causing multiple definition problems on countless occasions. Try forcing the compiler to use -fcommon by adding it to CFLAGS and please reply back. Created attachment 734644 [details, diff]
Fix for atari-fdisk compile
Got this thingy fixed, didn't test because I don't have an Atari but it runs. Hello, thanks for the patch. I believe you can speed up the process by making a pull-request via Github. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a960513f2164073d5d895162ff02fd28bca73c18 commit a960513f2164073d5d895162ff02fd28bca73c18 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2021-09-04 21:57:29 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2021-09-04 22:35:49 +0000 sys-fs/atari-fdisk: Patch to fix common global issue Closes: https://bugs.gentoo.org/725988 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi@gentoo.org> sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4-r1.ebuild | 48 ++++++++++++++++++++++ .../files/atari-fdisk-0.7.1.5.4-globals.patch | 30 ++++++++++++++ 2 files changed, 78 insertions(+) Thanks but I cooked up a better patch. |