Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919869

Summary: dev-lang/fpc-3.2.2 does not build due to reference to __libc_csu_init (fixed upstream)
Product: Gentoo Linux Reporter: Karl Georg Bayer <karl.georg.bayer>
Component: Current packagesAssignee: Amy Liffey <amynka>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
See Also: https://gitlab.com/freepascal.org/fpc/source/-/issues/39295
Whiteboard:
Package list:
Runtime testing required: ---

Description Karl Georg Bayer 2023-12-14 09:01:42 UTC
emerging dev-lang/fpc fails for version 3.2.2 on my x86 machine. The problem is with file fpcbuild-3.2.2/fpcsrc/rtl/linux/i386/si_c21.inc. This references two functions in glibc which do no longer exist. (I am not allowed to post links, but more information can be found googling "Error while linking: undefined reference to __libc_csu_init, __libc_csu_fini")
For x86 (and possibly other architectures as well) the problem has been fixed upstream. The version of si_c21.inc there replaces the references to those two functions by references to a dummy function, created for that purpose. (Which might create problems on systems with glibc 2.33 and older, where apparently those functions did exist, and might have existed for some purpose.)
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-21 08:17:49 UTC
tinderbox_x86 detected this bug as duplicate of 712580 - If this an error, please let me know

*** This bug has been marked as a duplicate of bug 712580 ***