Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948109 - dev-lang/gprolog-1.5.0-r1 fails to compile: Fatal Error: Segmentation Violation (bad address: 0x80002c)
Summary: dev-lang/gprolog-1.5.0-r1 fails to compile: Fatal Error: Segmentation Violati...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2025-01-14 18:16 UTC by Agostino Sarubbo
Modified: 2025-04-28 19:08 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,218.79 KB, text/plain)
2025-01-14 18:16 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 2025-01-14 18:16:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/gprolog-1.5.0-r1 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2025-01-14 18:16:58 UTC
Created attachment 916542 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2025-01-14 18:17:52 UTC
it does not fail with gcc-14 for me. Needs checking
Comment 3 Larry the Git Cow gentoo-dev 2025-01-26 22:55:19 UTC
The bug has been referenced in the following commit(s):

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

commit a29609acadd782c9ded64a22aeb49f060abb405a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-01-26 22:54:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-26 22:54:40 +0000

    sys-devel/gcc: add 15.0.1_pre20250126
    
    Not sure what #947760 and #948109 are about yet but may be fixed by
    some miscompilation fixes in this.
    
    Bug: https://bugs.gentoo.org/947760
    Bug: https://bugs.gentoo.org/948109
    Closes: https://bugs.gentoo.org/946937
    Closes: https://bugs.gentoo.org/948222
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                      |  2 ++
 sys-devel/gcc/gcc-15.0.1_pre20250126.ebuild | 53 +++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)
Comment 4 setun.90 2025-04-27 09:02:38 UTC
GCC 15 changes the default C language version from -std=gnu17 to -std=gnu23 (https://gcc.gnu.org/gcc-15/changes.html#c). It compiled on my side with -std=gnu17.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-27 09:16:44 UTC
You really hit the segfault though? The standard version shouldn't affect that.
Comment 6 setun.90 2025-04-28 19:06:10 UTC
(In reply to Sam James from comment #5)
> You really hit the segfault though? The standard version shouldn't affect
> that.

Ugh, I replied to the wrong bug - this was meant for bug 943955, I replied here because this bug mentioned GCC 14.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-28 19:08:04 UTC
np, let me close this one and take a look at the other.