[Bug c++/14869] New: count of external relocation entries does not match

rwgk at yahoo dot com gcc-bugzilla@gcc.gnu.org
Tue Apr 6 21:45:00 GMT 2004


Under Mac OS 10.3.2 linking some Boost.Python extensions fails.

g++ (GCC) 3.5.0 20040406 (experimental)

Configured with: /net/worm/scratch1/rwgk/gcc_cvs_head/configure --
prefix=/usr/local_cci/gcc_cvs_head_20040406 --enable-languages=c,c++

Apple G5 under OS 10.3.2:
Darwin coral.lbl.gov 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55
PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC  Power Macintosh powerpc

Example error message:

g++ -w -bundle -framework Python -o libtbx/cctbx_crystal_ext.so 
cctbx/crystal/boost_python/crystal_ext.os 
cctbx/crystal/boost_python/direct_space_asu.os 
cctbx/crystal/boost_python/neighbors.os -Llibtbx -
L/net/worm/scratch1/rwgk/hot/libtbx -lcctbx -lscitbx_boost_python -
lboost_python -lm
/usr/bin/ld: internal error: output_section() count of external relocation 
entries does not match

collect2: ld returned 1 exit status


Most of our extension modules link just fine with the same switches and 
libraries. All Boost.Python regression tests link fine as well.

If this is not a known problem I will create a self-contained package that you 
can use to reproduce the error. (It will be large because I will have to 
include the complete Boost tree.)

-- 
           Summary: count of external relocation entries does not match
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rwgk at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin7.2.0
  GCC host triplet: powerpc-apple-darwin7.2.0
GCC target triplet: powerpc-apple-darwin7.2.0


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



More information about the Gcc-bugs mailing list