Created attachment 189157 [details] maxcso.patch Does not link with bfd (complains about missing symbols IIRC), so I set -fuse-ld=lld. Would be nice to have a BFD_UNSAFE flag in the framework :)
Does not build on 11: https://gist.github.com/lwhsu/6848f5eb4ab86f6b7ef4559f794d42d7
Hm, looks like 11.2-RELEASE has old lld.. I can reproduce this error in an old 11.1 jail, but copying /usr/bin/ld.lld from 11-STABLE fixes it. The 11.2 release notes say "The clang, llvm, lldb and compiler-rt utilities have been updated to version 6.0.0", but looks like lld did not join the party :(
Created attachment 199086 [details] maxcso.patch v2 This should work. (Just patching the makefile now.)
A commit references this bug: Author: lwhsu Date: Thu Nov 8 23:19:04 UTC 2018 New revision: 484487 URL: https://svnweb.freebsd.org/changeset/ports/484487 Log: Add maxcso, ISO to CSO compressor for PSP/PS2 emulators PR: 224638 Submitted by: Greg V <greg@unrelenting.technology> Changes: head/archivers/Makefile head/archivers/maxcso/ head/archivers/maxcso/Makefile head/archivers/maxcso/distinfo head/archivers/maxcso/files/ head/archivers/maxcso/files/patch-Makefile head/archivers/maxcso/pkg-descr