public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34957]  New: duplicate libgcc_s.1.dylib warning on Mac OS X Leopard
@ 2008-01-24 19:05 dojo at masterleep dot com
  2008-01-25 17:06 ` [Bug fortran/34957] " dominiq at lps dot ens dot fr
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: dojo at masterleep dot com @ 2008-01-24 19:05 UTC (permalink / raw)
  To: gcc-bugs

Under Mac OS X Leopard using the prepackaged gfortran binaries from 12/31/2007,
any fortran program emits a duplicate dylib warning when linked.  This is with
the Leopard version of XCode (3.0).

$ cat test2.f
        program test2
        write (*,*) 'hello'
        end
$ gfortran test2.f 
ld: warning, duplicate dylib /usr/local/gfortran/lib/libgcc_s.1.dylib
$ a.out
 hello
$ gfortran --version
GNU Fortran (GCC) 4.3.0 20071231 (experimental) [trunk revision 131236]
Copyright (C) 2007 Free Software Foundation, Inc.


-- 
           Summary: duplicate libgcc_s.1.dylib warning on Mac OS X Leopard
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dojo at masterleep dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34957


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/34957] duplicate libgcc_s.1.dylib warning on Mac OS X Leopard
  2008-01-24 19:05 [Bug fortran/34957] New: duplicate libgcc_s.1.dylib warning on Mac OS X Leopard dojo at masterleep dot com
@ 2008-01-25 17:06 ` dominiq at lps dot ens dot fr
  2008-01-25 18:37 ` dojo at masterleep dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-01-25 17:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dominiq at lps dot ens dot fr  2008-01-25 15:47 -------
Where did you get "the prepackaged gfortran binaries"?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34957


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/34957] duplicate libgcc_s.1.dylib warning on Mac OS X Leopard
  2008-01-24 19:05 [Bug fortran/34957] New: duplicate libgcc_s.1.dylib warning on Mac OS X Leopard dojo at masterleep dot com
  2008-01-25 17:06 ` [Bug fortran/34957] " dominiq at lps dot ens dot fr
@ 2008-01-25 18:37 ` dojo at masterleep dot com
  2008-01-25 18:54 ` dominiq at lps dot ens dot fr
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: dojo at masterleep dot com @ 2008-01-25 18:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dojo at masterleep dot com  2008-01-25 17:20 -------
>From the gcc wiki:

http://gcc.gnu.org/wiki/GFortranBinaries


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34957


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/34957] duplicate libgcc_s.1.dylib warning on Mac OS X Leopard
  2008-01-24 19:05 [Bug fortran/34957] New: duplicate libgcc_s.1.dylib warning on Mac OS X Leopard dojo at masterleep dot com
  2008-01-25 17:06 ` [Bug fortran/34957] " dominiq at lps dot ens dot fr
  2008-01-25 18:37 ` dojo at masterleep dot com
@ 2008-01-25 18:54 ` dominiq at lps dot ens dot fr
  2008-01-25 22:38 ` dojo at masterleep dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-01-25 18:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dominiq at lps dot ens dot fr  2008-01-25 17:43 -------
What architecture are you using? and what gives

ls -l /usr/local/gfortran/lib/libgcc_s*
ls -l /libgcc_s*


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34957


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/34957] duplicate libgcc_s.1.dylib warning on Mac OS X Leopard
  2008-01-24 19:05 [Bug fortran/34957] New: duplicate libgcc_s.1.dylib warning on Mac OS X Leopard dojo at masterleep dot com
                   ` (2 preceding siblings ...)
  2008-01-25 18:54 ` dominiq at lps dot ens dot fr
@ 2008-01-25 22:38 ` dojo at masterleep dot com
  2008-01-25 22:48 ` dominiq at lps dot ens dot fr
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: dojo at masterleep dot com @ 2008-01-25 22:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dojo at masterleep dot com  2008-01-25 22:30 -------
$ ls -l /usr/local/gfortran/lib/libgcc_s*
-rw-r--r--  1 root  admin  333314 Dec 31 08:43
/usr/local/gfortran/lib/libgcc_s.1.dylib
-rw-r--r--  1 root  admin   17288 Dec 31 08:43
/usr/local/gfortran/lib/libgcc_s.10.4.dylib
-rw-r--r--  1 root  admin   17416 Dec 31 08:43
/usr/local/gfortran/lib/libgcc_s.10.5.dylib
lrwxr-xr-x  1 root  gsab      16 Jan 24 10:36
/usr/local/gfortran/lib/libgcc_s_ppc64.1.dylib -> libgcc_s.1.dylib
lrwxr-xr-x  1 root  gsab      16 Jan 24 10:36
/usr/local/gfortran/lib/libgcc_s_x86_64.1.dylib -> libgcc_s.1.dylib
$ ls -l /libgcc_s*
ls: /libgcc_s*: No such file or directory
$ file a.out
a.out: Mach-O executable i386


The group on the symbolic links seems odd - that's a different user account
that doesn't do coding.  I didn't make any manual changes to
/usr/local/gfortran.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34957


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/34957] duplicate libgcc_s.1.dylib warning on Mac OS X Leopard
  2008-01-24 19:05 [Bug fortran/34957] New: duplicate libgcc_s.1.dylib warning on Mac OS X Leopard dojo at masterleep dot com
                   ` (3 preceding siblings ...)
  2008-01-25 22:38 ` dojo at masterleep dot com
@ 2008-01-25 22:48 ` dominiq at lps dot ens dot fr
  2008-01-26  0:43 ` [Bug target/34957] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-01-25 22:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dominiq at lps dot ens dot fr  2008-01-25 22:40 -------
I have also

[ibook-dhum] f90/bug% ll /opt/gcc/gcc4.3w/lib/libgcc_s*
-rw-r--r-- 1 dominiq staff 204080 Jan 25 17:26
/opt/gcc/gcc4.3w/lib/libgcc_s.1.dylib
-rw-r--r-- 1 dominiq staff  17380 Jan 25 17:26
/opt/gcc/gcc4.3w/lib/libgcc_s.10.4.dylib
-rw-r--r-- 1 dominiq staff  17508 Jan 25 17:26
/opt/gcc/gcc4.3w/lib/libgcc_s.10.5.dylib
lrwxr-xr-x 1 dominiq staff     16 Jan 25 17:26
/opt/gcc/gcc4.3w/lib/libgcc_s_ppc64.1.dylib -> libgcc_s.1.dylib
lrwxr-xr-x 1 dominiq staff     16 Jan 25 17:26
/opt/gcc/gcc4.3w/lib/libgcc_s_x86_64.1.dylib -> libgcc_s.1.dylib

on the gcc build on my macBook under Leopard and I don't see any ld warning
(probably harmless, the linker from Apple seems quite overzealous in some
cases).

If the warning really annoy you you may try the latest version from

http://quatramaran.ens.fr/~coudert/gfortran/


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34957


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/34957] duplicate libgcc_s.1.dylib warning on Mac OS X Leopard
  2008-01-24 19:05 [Bug fortran/34957] New: duplicate libgcc_s.1.dylib warning on Mac OS X Leopard dojo at masterleep dot com
                   ` (4 preceding siblings ...)
  2008-01-25 22:48 ` dominiq at lps dot ens dot fr
@ 2008-01-26  0:43 ` pinskia at gcc dot gnu dot org
  2008-01-26  1:11 ` dominiq at lps dot ens dot fr
  2009-04-24  3:29 ` fago at earthlink dot net
  7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-26  0:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2008-01-25 23:51 -------
This should have been fixed by 30572.

I don't use Leopard yet.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |target
 GCC target triplet|                            |*-*-darwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34957


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/34957] duplicate libgcc_s.1.dylib warning on Mac OS X Leopard
  2008-01-24 19:05 [Bug fortran/34957] New: duplicate libgcc_s.1.dylib warning on Mac OS X Leopard dojo at masterleep dot com
                   ` (5 preceding siblings ...)
  2008-01-26  0:43 ` [Bug target/34957] " pinskia at gcc dot gnu dot org
@ 2008-01-26  1:11 ` dominiq at lps dot ens dot fr
  2009-04-24  3:29 ` fago at earthlink dot net
  7 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens dot fr @ 2008-01-26  1:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from dominiq at lps dot ens dot fr  2008-01-26 00:05 -------
> This should have been fixed by 30572.

I was thinking to this one. This is why I asked to check there was some files
/libgcc_s*, just in case the package installed it.

I don't understand the problem: I am using Leopard and gcc works rather well
with it: probably less bugs than with 10.4 (cannot remember the cat!-).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34957


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/34957] duplicate libgcc_s.1.dylib warning on Mac OS X Leopard
  2008-01-24 19:05 [Bug fortran/34957] New: duplicate libgcc_s.1.dylib warning on Mac OS X Leopard dojo at masterleep dot com
                   ` (6 preceding siblings ...)
  2008-01-26  1:11 ` dominiq at lps dot ens dot fr
@ 2009-04-24  3:29 ` fago at earthlink dot net
  7 siblings, 0 replies; 10+ messages in thread
From: fago at earthlink dot net @ 2009-04-24  3:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from fago at earthlink dot net  2009-04-24 03:29 -------
I'm also seeing this on a fresh bootstrap of 4.4.0.

I also have gfortran 4.2 installed, and seem to recall the problem surfacing
here, so perhaps it is not related to 4.3 or 4.4, but something left over from
4.2:

gfortran-4.2 -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /Builds/unix/gcc/gcc-4.2/configure --prefix=/usr/local
--mandir=/share/man --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--build=i686-apple-darwin8 --host=i686-apple-darwin8
--target=i686-apple-darwin8 --enable-languages=fortran
Thread model: posix
gcc version 4.2.3

gfortran-4.4 -v
Using built-in specs.
Target: i386-apple-darwin9.6.0
Configured with: ../gcc-4.4.0/configure --program-suffix=-4.4
--enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.4.0 (GCC) 


ls -l /usr/local/lib/libgcc_s* gives:

-rw-r--r--  1 root  wheel  262128 Apr 23 21:09 libgcc_s.1.dylib
-rw-r--r--  1 root  wheel   17372 Apr 23 21:09 libgcc_s.10.4.dylib
-rw-r--r--  1 root  wheel   17500 Apr 23 21:09 libgcc_s.10.5.dylib
lrwxr-xr-x  1 root  wheel      16 Apr 23 21:09 libgcc_s_ppc64.1.dylib ->
libgcc_s.1.dylib
lrwxr-xr-x  1 root  wheel      16 Apr 23 21:09 libgcc_s_x86_64.1.dylib ->
libgcc_s.1.dylib


-- 

fago at earthlink dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fago at earthlink dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34957


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/34957] duplicate libgcc_s.1.dylib warning on Mac OS X Leopard
       [not found] <bug-34957-4@http.gcc.gnu.org/bugzilla/>
@ 2014-11-04  0:08 ` fxcoudert at gcc dot gnu.org
  0 siblings, 0 replies; 10+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-04  0:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34957

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |fxcoudert at gcc dot gnu.org
         Resolution|---                         |WORKSFORME

--- Comment #9 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
This is an old bug, which I have never really understood but hasn't been
reported to me (I package and distribution Mac gfortran installers) in many
years. So I'm closing it, please reopen if you see it in a recent version of
GCC / OS X.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-11-04  0:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-24 19:05 [Bug fortran/34957] New: duplicate libgcc_s.1.dylib warning on Mac OS X Leopard dojo at masterleep dot com
2008-01-25 17:06 ` [Bug fortran/34957] " dominiq at lps dot ens dot fr
2008-01-25 18:37 ` dojo at masterleep dot com
2008-01-25 18:54 ` dominiq at lps dot ens dot fr
2008-01-25 22:38 ` dojo at masterleep dot com
2008-01-25 22:48 ` dominiq at lps dot ens dot fr
2008-01-26  0:43 ` [Bug target/34957] " pinskia at gcc dot gnu dot org
2008-01-26  1:11 ` dominiq at lps dot ens dot fr
2009-04-24  3:29 ` fago at earthlink dot net
     [not found] <bug-34957-4@http.gcc.gnu.org/bugzilla/>
2014-11-04  0:08 ` fxcoudert at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).