Displaying 1 result from an estimated 1 matches for "statc_modules".
2015 Nov 18
3
Linking the FreeBSD base system with lld
...Also, the kernel link fails because FreeBSD's kernel linker script is
too complicated for the current parser.
For reference, here are the workarounds I applied to build FreeBSD
userland with lld:
* Remove -Wl,--no-undefined from those library makefiles where it is set
* Disconnect lib/libpam/statc_modules from the build
* Disable the addition of -static in bsd.lib.mk
* Explicitly add the temporary build paths as -L options in various LDFLAGS
* Set the following options in src.conf:
WITHOUT_BOOT=yes
WITHOUT_RESCUE=yes
WITHOUT_LIB32=yes
WITHOUT_GDB=yes
WITHOUT_TESTS=yes
MODULES_OVERRIDE=