diff --git a/checkin_notes b/checkin_notes index 68eff3ec1c..9073f16210 100755 --- a/checkin_notes +++ b/checkin_notes @@ -8272,6 +8272,25 @@ David 8 Dec 2003 text_search_action.php (new) text_search_form.php (new) +Jeff 09 Dec 2003 + - We have the same gcc version problem with solaris that we do with + linux whereby if the version number of libstdc++.so on the run + machine is different than that on the build machine, the loader + fails. However, on solaris you cannot just say gcc -static as there + are dynamic only versions of some needed libs, namely libdl and + libaio. I tried to use the -Xlinker gcc option which theoretically + should allow us to specify the link (collect2) line in precise + detail. But -lstdc++ kept showing up twice with one occurrence + being outside my -Xlinker -B -Xlinker static directive. So I + hand crafted a collect2 line and placed it in a file - collect2_line. + Sourcing this file produces an executable that will load and run + across gcc versions (and solaris versions for that matter). I + don't like it but it works. + + client/ + collect2_line (new file) + Gary 09 Dec 2003 - BOINC release 2.14 for windows, Linux, solaris2.7, solaris2.8 + diff --git a/client/collect2_line b/client/collect2_line new file mode 100644 index 0000000000..1ef33928ee --- /dev/null +++ b/client/collect2_line @@ -0,0 +1 @@ +/usr/local/gcc/bin/../lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/collect2 -V -Y P,/usr/ccs/lib:/usr/lib -Qy -o boinc_client /usr/local/gcc/bin/../lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/crt1.o /usr/local/gcc/bin/../lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/crti.o /usr/ccs/lib/values-Xa.o /usr/local/gcc/bin/../lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/crtbegin.o -L../RSAEuro/source -L/usr/local/gcc/bin/../lib/gcc-lib/sparc-sun-solaris2.7/3.0.4 -L/usr/local/gcc/bin/../lib/gcc-lib -L/usr/local/gcc-3.0.4/lib/gcc-lib/sparc-sun-solaris2.7/3.0.4 -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/gcc/bin/../lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/../../.. -L/usr/local/gcc-3.0.4/lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/../../.. boinc_client-app.o boinc_client-check_state.o boinc_client-client_messages.o boinc_client-client_state.o boinc_client-client_types.o boinc_client-cpu_benchmark.o boinc_client-cs_account.o boinc_client-cs_apps.o boinc_client-cs_benchmark.o boinc_client-cs_cmdline.o boinc_client-cs_files.o boinc_client-cs_prefs.o boinc_client-cs_scheduler.o boinc_client-cs_statefile.o boinc_client-file_names.o boinc_client-file_xfer.o boinc_client-hostinfo.o boinc_client-hostinfo_unix.o boinc_client-http.o boinc_client-log_flags.o boinc_client-main.o boinc_client-message.o boinc_client-net_stats.o boinc_client-net_xfer.o boinc_client-pers_file_xfer.o boinc_client-prefs.o boinc_client-scheduler_op.o boinc_client-ss_logic.o boinc_client-time_stats.o boinc_client-app_ipc.o boinc_client-filesys.o boinc_client-language.o boinc_client-parse.o boinc_client-shmem.o boinc_client-md5_file.o boinc_client-md5.o boinc_client-crypt.o boinc_client-util.o boinc_client-messages.o -lrsaeuro -lgen -lsocket -lz -B static -lstdc++ -B dynamic -lsocket -lnsl -lgen -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/local/gcc/bin/../lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/crtend.o /usr/local/gcc/bin/../lib/gcc-lib/sparc-sun-solaris2.7/3.0.4/crtn.o