Created attachment 228192 [details] v0 ld-elf.so.1: /usr/local/lib/gcc10/libgcc_s.so: invalid file format ===> Script "configure" failed unexpectedly. /usr/local/lib/gcc10/libgcc_s.so is a file on aarch64: /* GNU ld script Use the shared library, but some functions are only in the static library. */ GROUP ( libgcc_s.so.1 -lgcc ) The lib is /usr/local/lib/gcc10/libgcc_s.so.1 see attached patch. not sure why CONFIGURE_ENV is needed as it builds fine on aarch64 (haven't tried amd64)
I removed this line altogether. Thanks.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c0f1282a1cfc26c5d3dc6a2cbacf8f6aadb2c1c2 commit c0f1282a1cfc26c5d3dc6a2cbacf8f6aadb2c1c2 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-09-26 16:47:45 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-09-26 17:43:55 +0000 science/libghemical: Remove LD_PRELOAD vecause it configured now without it PR: 258733 Reported by: mikael science/libghemical/Makefile | 2 -- 1 file changed, 2 deletions(-)