Last active
September 22, 2021 19:43
-
-
Save danmcd/5084e202694b83d01904837de8cd1617 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/root/data/jenkins/workspace/smartos-master-gcc4/projects/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw --linker /root/data/jenkins/workspace/smartos-master-gcc4/projects/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/ld --primary gcc4,/root/data/jenkins/workspace/smartos-master-gcc4/proto.strap/usr/gcc/4/bin/gcc,gnu --shadow smatch,/root/data/jenkins/workspace/smartos-master-gcc4/projects/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch,smatch -- -O -_gcc=-fno-inline-small-functions -_gcc=-fno-inline-functions-called-once -m32 -xspace -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -_gcc=-Wno-missing-braces -_gcc=-Wno-sign-compare -_gcc=-Wno-unknown-pragmas -_gcc=-Wno-unused-parameter -_gcc=-Wno-missing-field-initializers -_gcc=-Wno-array-bounds -_smatch=-p=illumos_user -_smatch=--disable=uninitialized,check_check_deref -_smatch=-Wno-vla -_smatch=-Wno-one-bit-signed-bitfield -_smatch=-Wno-external-function-has-definition -_smatch=-Wno-old-style-definition -_smatch=-Wno-strict-prototypes -_smatch=--fatal-checks -_smatch=--timeout=0 -_gcc=-Wno-parentheses -_gcc=-Wno-unused-function -xc99=%none -W0,-xglobalstatic -_gcc=-fno-inline-small-functions -_gcc=-fno-inline-functions-called-once -_gcc=-fno-ipa-cp -_gcc7=-fno-ipa-icf -_gcc8=-fno-ipa-icf -_gcc9=-fno-ipa-icf -_gcc10=-fno-ipa-icf -_gcc7=-fno-clone-functions -_gcc8=-fno-clone-functions -_gcc9=-fno-clone-functions -_gcc10=-fno-clone-functions -_gcc7=-fno-reorder-functions -_gcc8=-fno-reorder-functions -_gcc9=-fno-reorder-functions -_gcc10=-fno-reorder-functions -_gcc7=-fno-aggressive-loop-optimizations -_gcc8=-fno-aggressive-loop-optimizations -_gcc9=-fno-aggressive-loop-optimizations -_gcc10=-fno-aggressive-loop-optimizations -_gcc4=-fstack-protector -_gcc7=-fstack-protector-strong -_gcc8=-fstack-protector-strong -_gcc9=-fstack-protector-strong -_gcc10=-fstack-protector-strong -v -o kldap.so.1 -shared -hkldap.so.1 -Wl,-ztext -Wl,-zdefs -Wl,-Bdirect -Wl,-M../mapfile-vers -Wl,-M/root/data/jenkins/workspace/smartos-master-gcc4/projects/illumos/usr/src/common/mapfiles/common/map.pagealign -Wl,-M/root/data/jenkins/workspace/smartos-master-gcc4/projects/illumos/usr/src/common/mapfiles/common/map.noexdata -Wl,-zassert-deflib -Wl,-zguidance -Wl,-zfatal-warnings -R/usr/lib/krb5 pics/ldap_exp.o -L/root/data/jenkins/workspace/smartos-master-gcc4/proto/lib -L/root/data/jenkins/workspace/smartos-master-gcc4/proto/usr/lib -L/root/data/jenkins/workspace/smartos-master-gcc4/proto.strap/usr/lib -L/root/data/jenkins/workspace/smartos-master-gcc4/proto.strap/lib -lssp_ns -L /root/data/jenkins/workspace/smartos-master-gcc4/proto/usr/lib/gss -L /root/data/jenkins/workspace/smartos-master-gcc4/proto/usr/lib/krb5 -lkdb_ldap -lc | |
+ /root/data/jenkins/workspace/smartos-master-gcc4/proto.strap/usr/gcc/4/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -fdiagnostics-show-option -nodefaultlibs -D__sun -O -fno-inline-small-functions -fno-inline-functions-called-once -m32 -Wall -Wextra -Werror -Wno-missing-braces -Wno-sign-compare -Wno-unknown-pragmas -Wno-unused-parameter -Wno-missing-field-initializers -Wno-array-bounds -Wno-parentheses -Wno-unused-function -std=gnu89 -fno-inline-small-functions -fno-inline-functions-called-once -fno-ipa-cp -fstack-protector -o kldap.so.1 -shared -hkldap.so.1 -Wl,-ztext -Wl,-zdefs -Wl,-Bdirect -Wl,-M../mapfile-vers -Wl,-M/root/data/jenkins/workspace/smartos-master-gcc4/projects/illumos/usr/src/common/mapfiles/common/map.pagealign -Wl,-M/root/data/jenkins/workspace/smartos-master-gcc4/projects/illumos/usr/src/common/mapfiles/common/map.noexdata -Wl,-zassert-deflib -Wl,-zguidance -Wl,-zfatal-warnings -R/usr/lib/krb5 pics/ldap_exp.o -L/root/data/jenkins/workspace/smartos-master-gcc4/proto/lib -L/root/data/jenkins/workspace/smartos-master-gcc4/proto/usr/lib -L/root/data/jenkins/workspace/smartos-master-gcc4/proto.strap/usr/lib -L/root/data/jenkins/workspace/smartos-master-gcc4/proto.strap/lib -lssp_ns -L /root/data/jenkins/workspace/smartos-master-gcc4/proto/usr/lib/gss -L /root/data/jenkins/workspace/smartos-master-gcc4/proto/usr/lib/krb5 -lkdb_ldap -lc | |
ld: guidance: removal of unused dependency recommended: libc.so.1 | |
ld: guidance: see ld(1) -z guidance for more information | |
collect2: ld returned 1 exit status | |
*** Error code 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com b/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com | |
index 67cdcc5980..dcdaf24b3d 100644 | |
--- a/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com | |
+++ b/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com | |
@@ -66,7 +66,8 @@ CERRWARN += -_gcc=-Wno-unused-function | |
DYNFLAGS += $(KERBRUNPATH) | |
# setting -L $(ROOT)/usr/lib/gss because libkdb_ldap needs mech_krb5 | |
-LDLIBS += -L $(ROOT)/usr/lib/gss -L $(ROOTLIBDIR) -lkdb_ldap -lc | |
+LDLIBS += -L $(ROOT)/usr/lib/gss -L $(ROOTLIBDIR) -lkdb_ldap | |
+$(SPARC_BLD)LDLIBS += -lc | |
.KEEP_STATE: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment