[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-devel] Debian port strangeness
- Date: Wed, 28 Feb 2007 13:30:03 -0600
- From: Peter Keller <psilord@xxxxxxxxxxx>
- Subject: Re: [Condor-devel] Debian port strangeness
On Wed, Feb 28, 2007 at 01:21:02PM -0600, Greg Thain wrote:
> >Anyone might have a clue to what went wrong in my link step?
>
> http://www.xastir.org/wiki/index.php/HowTo:Ubuntu_6.10 (look for "if you
> see")
That, in fact, says to use gcc -shared, which I already am and still
got the error.
Here is the production of my shared library (using gcc or g++ produces
identical results):
gcc -shared -fPIC -DPIC -o libcondorapi.so condor_event-pic.o user_log-pic.o iso_dates-pic.o file_lock-pic.o format_time-pic.o ../condor_util_lib/dprintf_common-pic.o ../condor_util_lib/dprintf-pic.o ../condor_util_lib/basename-pic.o ../condor_util_lib/mkargv-pic.o ../condor_util_lib/except-pic.o ../condor_util_lib/strupr-pic.o ../condor_util_lib/lock_file.NON_POSIX-pic.o ../condor_util_lib/flock-pic.o strnewp-pic.o condor_environ-pic.o ../condor_util_lib/setsyscalls-pic.o passwd_cache-pic.o uids-pic.o ../condor_util_lib/chomp-pic.o get_mysubsystem-pic.o my_subsystem-pic.o distribution-pic.o my_distribution-pic.o ../condor_classad/ast-pic.o ../condor_classad/astbase-pic.o ../condor_classad/attrlist-pic.o ../condor_classad/buildtable-pic.o ../condor_classad/classad-pic.o ../condor_classad/classad_instantiate-pic.o ../condor_classad/classifiedjobs-pic.o ../condor_classad/environment-pic.o ../condor_classad/evaluateOperators-pic.o ../condor_classad/operators-pic.o ../condor_classad/parser-pic.o ../condor_classad/scanner-pic.o ../condor_classad/value-pic.o ../condor_classad/xml_classads-pic.o ../condor_classad/registration-pic.o ../condor_util_lib/condor_snutils-pic.o stringSpace-pic.o string_list-pic.o MyString-pic.o ../condor_util_lib/get_random_num-pic.o c++_util_instantiate-pic.o libcondorapi_stubs-pic.o condor_open-pic.o condor_attributes-pic.o
Here is the failing link line which uses the above library:
g++ -I.. -I../.. -I../h -I../condor_includes -I../condor_c++_util -I../condor_daemon_client -DHAVE_CONFIG_H -DI386=I386 -DLINUX=LINUX -DCONDOR_G -DKERBEROS_AUTHENTICATION -I/home/psilord/build/v68/v68-gpernot2/externals/install/krb5-1.4.3/include -DCONDOR_ENCRYPTION -DCONDOR_3DES_ENCRYPTION -DCONDOR_BLOWFISH_ENCRYPTION -DCONDOR_MD -DCONDOR_GSI -DGSI_AUTHENTICATION -I/home/psilord/build/v68/v68-gpernot2/externals/install/globus-4.0.3/include/gcc32dbg -DSSL_AUTHENTICATION -DWANT_QUILL -I/home/psilord/build/v68/v68-gpernot2/externals/install/gcb-1.3.2/include -g -Wall -W -Wextra -Wfloat-equal -Wshadow -Wendif-labels -Wpointer-arith -Wconversion -Wcast-qual -Wcast-align -Wvolatile-register-var -fstack-protector -march=i486 -DGLIBC=GLIBC -DGLIBC23=GLIBC23 -DC_COMP_KIND_GCC -DC_COMP_MAJOR_GCC_4 -DC_COMP_MINOR_GCC_4_1 -DC_COMP_PATCH_GCC_4_1_2 -DWITH_OPENSSL -DCOMPILE_SOAP_SSL -I/home/psilord/build/v68/v68-gpernot2/externals/install/pcre-5.0/include -I/home/psilord/build/v68/v68-gpernot2/externals/install/coredumper-0.2/include -fno-implicit-templates -Wno-deprecated -DWANT_NEW_CLASSADS -I/home/psilord/build/v68/v68-gpernot2/externals/install/classads-0.9.8-b3/include -I/home/psilord/build/v68/v68-gpernot2/externals/install/postgresql-8.0.2/include -o test_libcondorapi_shared test_libcondorapi.o libcondorapi.so -rdynamic -lm -lcrypt -ldl -lresolv 2>&1 | c++filt && test -x test_libcondorapi_shared
/usr/bin/ld: test_libcondorapi_shared: hidden symbol `__stack_chk_fail_local' in /usr/lib/gcc/i486-linux-gnu/4.1.2/libssp_nonshared.a(libssp_nonshared_la-ssp-local.o) is referenced by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
Thank you.
-pete