Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924691 - dev-embedded/sdcc-4.3.0-r1 fails to compile: alloc-pool.h:29:13: error: type of after_memory_report does not match original declaration [-Werror=lto-type-mismatch]
Summary: dev-embedded/sdcc-4.3.0-r1 fails to compile: alloc-pool.h:29:13: error: type ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-02-16 08:26 UTC by Agostino Sarubbo
Modified: 2024-04-05 01:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,316.73 KB, text/plain)
2024-02-16 08:26 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-16 08:26:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-embedded/sdcc-4.3.0-r1 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-16 08:26:55 UTC
Created attachment 885099 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-16 08:26:57 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


checking for -plugin option... ./configure: line 3401: -O2: command not found
checking minix/config.h usability... /bin/sh: /var/tmp/portage/dev-embedded/sdcc-4.3.0-r1/work/sdcc-4.3.0/support/cpp/missing: No such file or directory
mv: cannot stat 'ports': No such file or directory
uniq: ports.build: No such file or directory
alloc-pool.h:29:13: error: type of ‘after_memory_report’ does not match original declaration [-Werror=lto-type-mismatch[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wlto-type-mismatch]]
Comment 3 Larry the Git Cow gentoo-dev 2024-04-05 01:21:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5392281a662b0bda89384e936bde9a455e2a2ae3

commit 5392281a662b0bda89384e936bde9a455e2a2ae3
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-04-04 04:31:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-05 01:20:51 +0000

    dev-embedded/sdcc: mark as LTO-unsafe
    
    Closes: https://bugs.gentoo.org/924691
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-embedded/sdcc/sdcc-4.3.0-r1.ebuild | 9 +++++++--
 dev-embedded/sdcc/sdcc-9999.ebuild     | 9 +++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)