FS#79943 - [fpc] Wrong path to the gcc libs in default config

Attached to Project: Arch Linux
Opened by Martin Schnitkemper (Martin-MS) - Friday, 13 October 2023, 08:36 GMT
Last edited by Ike Devolder (BlackEagle) - Tuesday, 17 October 2023, 07:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sergej Pupykin (sergej)
Ike Devolder (BlackEagle)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: After the latest gcc update there is an outdated path to the gcclib in the default /etc/fpc.cfg; it should be 13.2.1 instead of 13.1.1.


Additional info:
* package version(s): 3.2.2-8
* config and/or log files etc.: /etc/fpc.cfg

Steps to reproduce: Lazarus uses /etc/fpc.cfg to determin the path to the gcc libs and throws a 'Warning: "crtbeginS.o" not found, this will probably cause a linking failure' since it can't find the library. After I manualy changed the value in /etc/fpc.cfg to the current version, the warning vanished.

Perhaps the maintainer of the gcc package can symlink to the current version in the filesystem for fpc to point to, eliminating the need to adjust the default version in fpc every time after an update of gcc.
This task depends upon

Closed by  Ike Devolder (BlackEagle)
Tuesday, 17 October 2023, 07:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 3.2.2-9
Comment by Toolybird (Toolybird) - Friday, 13 October 2023, 20:23 GMT
A recurring problem:  FS#75391   FS#75753 
Comment by Ike Devolder (BlackEagle) - Tuesday, 17 October 2023, 07:01 GMT
Yes, it would be nice if we could just trigger an automatic rebuild of fpc on gcc builds

Loading...