[Bug 290799] net/mpich: configure:38451: error: Could not determine a way to link a Fortran test program
Date: Tue, 04 Nov 2025 23:20:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290799
Älven <alven@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |272898
--- Comment #4 from Älven <alven@FreeBSD.org> ---
> ld: error: relocation R_X86_64_32S cannot be used against local symbol; recompile with -fPIC
Thank you, that's explains everything. I saw this many times before.
> I can't reproduce in my 14.3 amd64 jail.
Just try to build it WITH_PIE=yes.
> So I think that's related to Bug #278141.
Thank you for mentioning it, it likely may have the same solution as this one:
PIE_UNSAFE=yes (I'll make the patch).
> Does it fail all the time?
Yes, I build all ports WITH_PIE=yes in my
/usr/local/etc/poudriere.d/my.make.conf,
just to detect, report and fix all such issues for the future.
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272898
[Bug 272898] [exp-run] build ports as PIE by default
--
You are receiving this mail because:
You are the assignee for the bug.