On Mon, 8 Sept 2025 at 16:56, Shiva Subramanian <Shiva.Subramanian@xxxxxxxxxx> wrote: > > Thanks to everyone for their inputs. The efforts in the past were by colleagues who are working with me so hopefully our combined knowledge will push us further. > > I took your advice and created a wrapper around the compiler to drop -fPIC for now. Still in stage 1, trying to compile libiberty - it seems to use alloc whereas HPE's advice to us is to use newer functions like malloc - will libiberty not compile without alloc or is there a way to bypass it so it uses the newer functions? I'm not sure what you are seeing, but it looks to me like libiberty uses malloc.