[Bug libfortran/24909] libmatmul.a breaks darwin build
--- Comment #10 from jb at gcc dot gnu dot org 2005-11-22 08:59 --- With the fix by rth, it seems to work again on Solaris (#9) and Darwin ( http://gcc.gnu.org/ml/fortran/2005-11/msg00571.html ); closing the bug. -- jb at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24909
[Bug libfortran/24909] libmatmul.a breaks darwin build
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24909
[Bug libfortran/24909] libmatmul.a breaks darwin build
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2005-11-21 09:02 --- It should now work again on all supported platforms. Confirmed on all versions of Solaris. Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24909
[Bug libfortran/24909] libmatmul.a breaks darwin build
--- Comment #8 from jb at gcc dot gnu dot org 2005-11-20 21:39 --- rth committed a fix to trunk and 4.1: http://gcc.gnu.org/ml/fortran/2005-11/msg00548.html It should now work again on all supported platforms. Unless new problems are reported I'll close this in a few days. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24909
[Bug libfortran/24909] libmatmul.a breaks darwin build
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2005-11-19 08:38 --- On sparc-solaris I get runtime failures: collect2: ld returned 1 exit status^M compiler exited with status 1 output is: Undefined first referenced^M symbol in file^M _gfortran_matmul_r4 /var/tmp//ccKKiCDj.o^M ld: fatal: Symbol referencing errors. No output written to ./matmul_1.exe^M collect2: ld returned 1 exit status^M this is with both, the original libmatmul and with libmatmul_convenience. (using native, sun, as and ld) Confirmed with all versions of Solaris. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added CC||ebotcazou at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24909
[Bug libfortran/24909] libmatmul.a breaks darwin build
--- Comment #6 from andreast at gcc dot gnu dot org 2005-11-18 14:31 --- On sparc-solaris I get runtime failures: collect2: ld returned 1 exit status^M compiler exited with status 1 output is: Undefined first referenced^M symbol in file^M _gfortran_matmul_r4 /var/tmp//ccKKiCDj.o^M ld: fatal: Symbol referencing errors. No output written to ./matmul_1.exe^M collect2: ld returned 1 exit status^M this is with both, the original libmatmul and with libmatmul_convenience. (using native, sun, as and ld) I try to investigate deeper by next week. If I do not get beaten by others :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24909
[Bug libfortran/24909] libmatmul.a breaks darwin build
--- Comment #2 from jb at gcc dot gnu dot org 2005-11-17 08:26 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01271.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24909
[Bug libfortran/24909] libmatmul.a breaks darwin build
--- Comment #3 from andreast at gcc dot gnu dot org 2005-11-17 14:37 --- Unfortunately it does not werk :( I found this message in the libtool archive: http://lists.gnu.org/archive/html/libtool-patches/2004-08/msg2.html Currently we have this 'whole_archive_flag_spec='-all_load $convenience'' in gcc-root/ltcf-c.sh (for darwin) Is this needed somehwere? Maybe we could remove this -all_load $convenience' entry in the ltcf-c.sh? Geoff? Doing so by hand in the gfortran libtool makes the library link. -- andreast at gcc dot gnu dot org changed: What|Removed |Added CC||geoffk at apple dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24909
[Bug libfortran/24909] libmatmul.a breaks darwin build
--- Comment #4 from geoffk at gcc dot gnu dot org 2005-11-17 22:35 --- It's certainly wrong to be using -all-load unless you're also using -r. -- geoffk at gcc dot gnu dot org changed: What|Removed |Added CC||geoffk at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24909
[Bug libfortran/24909] libmatmul.a breaks darwin build
--- Comment #5 from andreast at gcc dot gnu dot org 2005-11-17 22:54 --- would this snippet be ok? Index: ltcf-c.sh === --- ltcf-c.sh (revision 107140) +++ ltcf-c.sh (working copy) @@ -419,7 +419,7 @@ hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported -whole_archive_flag_spec='-all_load $convenience' +whole_archive_flag_spec='' link_all_deplibs=yes ;; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24909
[Bug libfortran/24909] libmatmul.a breaks darwin build
--- Comment #1 from jb at gcc dot gnu dot org 2005-11-16 23:00 --- As discussed on IRC, the solution is to use noinst_LTLIBRARIES instead of EXTRA_LTLIBRARIES. It was also suggested to name the library libmatmul_convenience.a. Example in libffi/Makefile.am -- jb at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jb at gcc dot gnu dot org |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2005-11-16 23:00:41 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24909