From http://package18.nyi.freebsd.org/data/headamd64PR214864-default/2017-08-22_08h39m11s/logs/errors/ar-libitl-0.7.0_1.log when attempting to link with lld: ==> Create symbolic links for library generation... test -d ../../build/itl/ || mkdir -p ../../build/itl/ || exit 1; ln -sf ../../prayertime/src/prayer.h ../../build/itl/prayer.h ln -sf ../prayertime/src/prayer.o ../../build/prayer.o ln -sf ../prayertime/src/astro.o ../../build/astro.o ld build/*.o -fstack-protector -shared -lm -lc -soname=libitl.so.0 -o build/libitl.so.0.0.7 ld: error: unknown argument: -fstack-protector ld: error: unable to find library -lm ld: error: unable to find library -lc *** Error code 1 This package's build invokes ld with -fstack-protector, a flag intended to be passed to the compiler. GNU linkers interpret -fstack-protector as a command to create an auxiliary filter library for "stack-protector": 0x000000007ffffffd AUXILIARY Auxiliary library: [stack-protector] The link commandline should omit -fstack-protector, and could also pass in -L/usr/lib for future compatibility with LLD
Created attachment 187745 [details] patch-libitl-0.8.0 patch to update libitl to 0.8.0 (code refactoring and several bug fixes) Upstream switched to cmake to build libitl. https://github.com/arabeyes-org/ITL/releases/tag/v0.8.0
Ed, does the libitl update solve the issue? Waiting to hear from you soon, Cheers
Created attachment 188660 [details] patch-libitl-0.8.0 - Add DOCS option
A commit references this bug: Author: cpm Date: Sat Dec 9 17:35:52 UTC 2017 New revision: 455868 URL: https://svnweb.freebsd.org/changeset/ports/455868 Log: - Update to 0.8.0 - Switch to USE_GITHUB - Switch to USES=cmake - Drop unneeded patches - Add DOCS option - Update comment and WWW in pkg-descr - Take maintainership Changelog: https://github.com/arabeyes-org/ITL/releases/tag/v0.8.0 PR: 221766 Submitted by: cpm Changes: head/arabic/libitl/Makefile head/arabic/libitl/distinfo head/arabic/libitl/files/patch-CMakeLists.txt head/arabic/libitl/files/patch-Makefile.in head/arabic/libitl/files/patch-hijri_Makefile head/arabic/libitl/files/patch-prayertime_Makefile head/arabic/libitl/pkg-descr head/arabic/libitl/pkg-plist
Yes, 0.8.0 builds for me with lld as /usr/bin/ld, thank you.