This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/35401] New: libstdc++ linked to system /usr/lib/libgcc_s.1.dylib not new gcc4.3 libgcc_s.1.dylib


I installed gcc4.3 20080221 onto an intel mac, core 2 duo, os x10.5.2 using
macports

The configure arguments (with prefix = /opt/local) are:
47      configure.args  --enable-languages=c,c++,objc,obj-c++ \
48                      --libdir=${prefix}/lib/${name} \
49                      --includedir=${prefix}/include/${name} \
50                      --infodir=${prefix}/share/info \
51                      --mandir=${prefix}/share/man \
52                      --with-local-prefix=${prefix} \
53                      --with-system-zlib \
54                      --disable-nls \
55                      --program-suffix=-mp-${major} \
56                      --with-gxx-include-dir=${prefix}/include/${name}/c++/ \
57                      --with-gmp=${prefix} \
58                      --with-mpfr=${prefix}

 % otool -L /opt/local/lib/gcc43/libstdc++.6.dylib
gives:

/opt/local/lib/gcc43/libstdc++.6.dylib:
       /opt/local/lib/gcc43/libstdc++.6.dylib (compatibility version 7.0.0,
current version 7.10.0)
       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.0.0)
       /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
1.0.0)

So /opt/local/lib/gcc43/libstdc++.6.dylib is linked to the old, system
/usr/lib/libgcc_s.1.dylib instead of to the new
/opt/local/lib/gcc43/libgcc_s.1.dylib


-- 
           Summary: libstdc++ linked to system /usr/lib/libgcc_s.1.dylib not
                    new  gcc4.3 libgcc_s.1.dylib
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: agn at noc dot soton dot ac dot uk
 GCC build triplet: i386-apple-darwin9
  GCC host triplet: i386-apple-darwin9
GCC target triplet: i386-apple-darwin9


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]