Bug 233410 - version 1.1.0: bugs in build system (linking)
version 1.1.0: bugs in build system (linking)
Status: CLOSED CURRENTRELEASE
Product: 389
Classification: Community
Component: Unknown (Show other bugs)
1.0.4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Rich Megginson
Viktor Ashirov
:
Depends On:
Blocks: 152373 240316 FDS1.1.0
  Show dependency treegraph
 
Reported: 2007-03-22 04:27 EDT by Stanislav Ievlev
Modified: 2015-12-07 12:14 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-07 12:14:13 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patxh to fix problem (735 bytes, text/plain)
2007-03-22 04:27 EDT, Stanislav Ievlev
no flags Details

  None (edit)
Description Stanislav Ievlev 2007-03-22 04:27:48 EDT
Description of problem:

I'm using -Wl,as-needed linker flag enabled by default.
I've detected are several linking bugs in current unstable version:

See my patch for Makefile.am for details

Version-Release number of selected component (if applicable):
1.1.0-20070322

How reproducible:


Steps to Reproduce:
1. Enable -as-need flag in your linker by default

  
Actual results:
$ make
make  all-am
make[1]: Entering directory `/mnt/archive/RPM/BUILD/fedora-ds-1.1.0-20070322'
/bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2   -o migratecred-bin 
ldap/servers/slapd/tools/migratecred_bin-migratecred.o libslapd.la -lplc4
-lplds4 -lnspr4 -lssl3 -lnss3 -lsoftokn3 -lsvrcore -lssldap60 -lprldap60
-lldap60 -lldif60 -lsasl2 
gcc -g -O2 -o .libs/migratecred-bin
ldap/servers/slapd/tools/migratecred_bin-migratecred.o  ./.libs/libslapd.so
-lplc4 -lplds4 -lnspr4 -lssl3 -lnss3 -lsoftokn3 -lsvrcore -lssldap60 -lprldap60
-lldap60 -lldif60 -lsasl2 -Wl,--rpath -Wl,/usr/lib64/fedora-ds
./.libs/libslapd.so: undefined reference to `SVRCORE_RegisterPinObj'
./.libs/libslapd.so: undefined reference to `SVRCORE_SetStdPinInteractive'
./.libs/libslapd.so: undefined reference to `SVRCORE_CreateStdPinObj'
./.libs/libslapd.so: undefined reference to `SVRCORE_GetRegisteredPinObj'
./.libs/libslapd.so: undefined reference to `SVRCORE_StdPinGetPin'
collect2: ld returned 1 exit status


Additional info:
Comment 1 Stanislav Ievlev 2007-03-22 04:27:48 EDT
Created attachment 150645 [details]
patxh to fix problem
Comment 2 Rich Megginson 2007-03-22 11:17:19 EDT
Thanks!

Checking in Makefile.am;
/cvs/dirsec/ldapserver/Makefile.am,v  <--  Makefile.am
new revision: 1.35; previous revision: 1.34
done
Checking in aclocal.m4;
/cvs/dirsec/ldapserver/aclocal.m4,v  <--  aclocal.m4
new revision: 1.29; previous revision: 1.28
done
Checking in configure;
/cvs/dirsec/ldapserver/configure,v  <--  configure
new revision: 1.38; previous revision: 1.37
done
Checking in missing;
/cvs/dirsec/ldapserver/missing,v  <--  missing
new revision: 1.23; previous revision: 1.22
done
Checking in install-sh;
/cvs/dirsec/ldapserver/install-sh,v  <--  install-sh
new revision: 1.23; previous revision: 1.22
done
Checking in depcomp;
/cvs/dirsec/ldapserver/depcomp,v  <--  depcomp
new revision: 1.23; previous revision: 1.22
done
Checking in compile;
/cvs/dirsec/ldapserver/compile,v  <--  compile
new revision: 1.23; previous revision: 1.22
done
Checking in Makefile.in;
/cvs/dirsec/ldapserver/Makefile.in,v  <--  Makefile.in
new revision: 1.41; previous revision: 1.40
done
Checking in config.sub;
/cvs/dirsec/ldapserver/config.sub,v  <--  config.sub
new revision: 1.22; previous revision: 1.21
done
Checking in config.guess;
/cvs/dirsec/ldapserver/config.guess,v  <--  config.guess
new revision: 1.22; previous revision: 1.21
done
Comment 3 Nathan Kinder 2007-12-14 18:31:30 EST
We no longer see these undefined reference to svrcore symbols.  Marking as verified.

Note You need to log in before you can comment on or make changes to this bug.