#1085253 pike8.0 FTCBFS: links the build architecture libgcc.a

#1085253#5
Date:
2024-10-17 08:55:03 UTC
From:
To:
pike8.0 fails to cross build from source, because it links the build
architecture libgcc.a. The root cause for this is the patch
dynamic_module_makefile.in-libgcc.patch. It invokes the build
architecture compiler at build time an sets the LIBGCC variable to the
queries result of libgcc. Dropping the patch does not make an amd64
build fail. A cross build proceeds slightly further once dropped. It is
not clear to me why this patch is needed and all we have in there is
authorship information (added to Cc). In the absence of evidence in
favour of this patch, I suggest deleting it.

Helmut

#1085253#10
Date:
2025-10-05 15:04:26 UTC
From:
To:
torsdag 17 oktober 2024 10:55:03 CEST skrev  Helmut Grohne:

I'm not entirely sure how it works, but dynamic_module_makefile is included in
pike8.0-dev for building out-of-tree dynamic modules. The path to libgcc might
be different at install time than at build time. Though it sounds like this
patch may have been made obsolete way back in 2008 by https://
git.lysator.liu.se/pikelang/pike/-/commit/
7f2c52839db702d4435d62474ea44025f7c2933b