[MacPorts] #31174: ld fail installing gcc46 libgfortran.la gfortran similar to #30166

MacPorts noreply at macports.org
Sun Nov 20 01:49:59 PST 2011


#31174: ld fail installing gcc46 libgfortran.la gfortran similar to #30166
----------------------------+-----------------------------------------------
 Reporter:  fleason@…       |       Owner:  macports-tickets@…                   
     Type:  defect          |      Status:  new                                  
 Priority:  Normal          |   Milestone:                                       
Component:  ports           |     Version:  2.0.3                                
 Keywords:  gfortran        |        Port:  gcc46                                
----------------------------+-----------------------------------------------

Comment(by fleason@…):

 Three weeks ago I got a different error.  This time I installed qd
 (C++/Fortran-90 double double and quad double package) and then tried
 install gcc46 again.  Error returned to the original one I posted.  Last
 lines are here:[[BR]]
 NOTE:  qd should be a Library Dependency
 {{{
 :info:build libtool: link:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/work/build/./gcc/
 -B/opt/local/x86_64-apple-darwin11/bin/ -B/opt/local/x86_64-apple-
 darwin11/lib/ -isystem /opt/local/x86_64-apple-darwin11/include -isystem
 /opt/local/x86_64-apple-darwin11/sys-include    -dynamiclib -Wl,-undefined
 -Wl,dynamic_lookup -o .libs/libgfortran.3.dylib  .libs/backtrace.o
 .libs/bounds.o .libs/compile_options.o .libs/convert_char.o
 .libs/environ.o .libs/error.o .libs/fpu.o .libs/main.o .libs/memory.o
 .libs/pause.o .libs/stop.o .libs/string.o .libs/select.o .libs/all_l1.o
 .libs/all_l2.o .libs/all_l4.o .libs/all_l8.o .libs/all_l16.o
 .libs/any_l1.o .libs/any_l2.o .libs/any_l4.o .libs/any_l8.o
 .libs/any_l16.o .libs/count_1_l.o .libs/count_2_l.o .libs/count_4_l.o
 .libs/count_8_l.o .libs/count_16_l.o .libs/maxloc0_4_i1.o
 .libs/maxloc0_8_i1.o .libs/maxloc0_16_i1.o .libs/maxloc0_4_i2.o
 .libs/maxloc0_8_i2.o .libs/maxloc0_16_i2.o .libs/maxloc0_4_i4.o
 .libs/maxloc0_8_i4.o .libs/maxloc0_16_i4.o .libs/maxloc0_4_i8.o
 .libs/maxloc0_8_i8.o .libs/maxloc0_16_i8.o .libs/maxloc0_4_i16.o
 .libs/maxloc0_8_i16.o .libs/maxloc0_16_i16.o .libs/maxloc0_4_r4.o
 .libs/maxloc0_8_r4.o .libs/maxloc0_16_r4.o .libs/maxloc0_4_r8.o
 .libs/maxloc0_8_r8.o .libs/maxloc0_16_r8.o .libs/maxloc0_4_r10.o
 .libs/maxloc0_8_r10.o .libs/maxloc0_16_r10.o .libs/maxloc0_4_r16.o
 .libs/maxloc0_8_r16.o .libs/maxloc0_16_r16.o .libs/maxloc1_4_i1.o
 .libs/maxloc1_8_i1.o .libs/maxloc1_16_i1.o .libs/maxloc1_4_i2.o
 .libs/maxloc1_8_i2.o .libs/maxloc1_16_i2.o .libs/maxloc1_4_i4.o
 .libs/maxloc1_8_i4.o .libs/maxloc1_16_i4.o .libs/maxloc1_4_i8.o
 .libs/maxloc1_8_i8.o .libs/maxloc1_16_i8.o .libs/maxloc1_4_i16.o
 .libs/maxloc1_8_i16.o .libs/maxloc1_16_i16.o .libs/maxloc1_4_r4.o
 .libs/maxloc1_8_r4.o .libs/maxloc1_16_r4.o .libs/maxloc1_4_r8.o
 .libs/maxloc1_8_r8.o .libs/maxloc1_16_r8.o .libs/maxloc1_4_r10.o
 .libs/maxloc1_8_r10.o .libs/maxloc1_16_r10.o .libs/maxloc1_4_r16.o
 .libs/maxloc1_8_r16.o .libs/maxloc1_16_r16.o .libs/maxval_i1.o
 .libs/maxval_i2.o .libs/maxval_i4.o .libs/maxval_i8.o .libs/maxval_i16.o
 .libs/maxval_r4.o .libs/maxval_r8.o .libs/maxval_r10.o .libs/maxval_r16.o
 .libs/minloc0_4_i1.o .libs/minloc0_8_i1.o .libs/minloc0_16_i1.o
 .libs/minloc0_4_i2.o .libs/minloc0_8_i2.o .libs/minloc0_16_i2.o
 .libs/minloc0_4_i4.o .libs/minloc0_8_i4.o .libs/minloc0_16_i4.o
 .libs/minloc0_4_i8.o .libs/minloc0_8_i8.o .libs/minloc0_16_i8.o
 .libs/minloc0_4_i16.o .libs/minloc0_8_i16.o .libs/minloc0_16_i16.o
 .libs/minloc0_4_r4.o .libs/minloc0_8_r4.o .libs/minloc0_16_r4.o
 .libs/minloc0_4_r8.o .libs/minloc0_8_r8.o .libs/minloc0_16_r8.o
 .libs/minloc0_4_r10.o .libs/minloc0_8_r10.o .libs/minloc0_16_r10.o
 .libs/minloc0_4_r16.o .libs/minloc0_8_r16.o .libs/minloc0_16_r16.o
 .libs/minloc1_4_i1.o .libs/minloc1_8_i1.o .libs/minloc1_16_i1.o
 .libs/minloc1_4_i2.o .libs/minloc1_8_i2.o .libs/minloc1_16_i2.o
 .libs/minloc1_4_i4.o .libs/minloc1_8_i4.o .libs/minloc1_16_i4.o
 .libs/minloc1_4_i8.o .libs/minloc1_8_i8.o .libs/minloc1_16_i8.o
 .libs/minloc1_4_i16.o .libs/minloc1_8_i16.o .libs/minloc1_16_i16.o
 .libs/minloc1_4_r4.o .libs/minloc1_8_r4.o .libs/minloc1_16_r4.o
 .libs/minloc1_4_r8.o .libs/minloc1_8_r8.o .libs/minloc1_16_r8.o
 .libs/minloc1_4_r10.o .libs/minloc1_8_r10.o .libs/minloc1_16_r10.o
 .libs/minloc1_4_r16.o .libs/minloc1_8_r16.o .libs/minloc1_16_r16.o
 .libs/minval_i1.o .libs/minval_i2.o .libs/minval_i4.o .libs/minval_i8.o
 .libs/minval_i16.o .libs/minval_r4.o .libs/minval_r8.o .libs/minval_r10.o
 .libs/minval_r16.o .libs/product_i1.o .libs/product_i2.o
 .libs/product_i4.o .libs/product_i8.o .libs/product_i16.o
 .libs/product_r4.o .libs/product_r8.o .libs/product_r10.o
 .libs/product_r16.o .libs/product_c4.o .libs/product_c8.o
 .libs/product_c10.o .libs/product_c16.o .libs/sum_i1.o .libs/sum_i2.o
 .libs/sum_i4.o .libs/sum_i8.o .libs/sum_i16.o .libs/sum_r4.o
 .libs/sum_r8.o .libs/sum_r10.o .libs/sum_r16.o .libs/sum_c4.o
 .libs/sum_c8.o .libs/sum_c10.o .libs/sum_c16.o .libs/bessel_r4.o
 .libs/bessel_r8.o .libs/bessel_r10.o .libs/bessel_r16.o .libs/iall_i1.o
 .libs/iall_i2.o .libs/iall_i4.o .libs/iall_i8.o .libs/iall_i16.o
 .libs/iany_i1.o .libs/iany_i2.o .libs/iany_i4.o .libs/iany_i8.o
 .libs/iany_i16.o .libs/iparity_i1.o .libs/iparity_i2.o .libs/iparity_i4.o
 .libs/iparity_i8.o .libs/iparity_i16.o .libs/norm2_r4.o .libs/norm2_r8.o
 .libs/norm2_r10.o .libs/norm2_r16.o .libs/parity_l1.o .libs/parity_l2.o
 .libs/parity_l4.o .libs/parity_l8.o .libs/parity_l16.o .libs/matmul_i1.o
 .libs/matmul_i2.o .libs/matmul_i4.o .libs/matmul_i8.o .libs/matmul_i16.o
 .libs/matmul_r4.o .libs/matmul_r8.o .libs/matmul_r10.o .libs/matmul_r16.o
 .libs/matmul_c4.o .libs/matmul_c8.o .libs/matmul_c10.o .libs/matmul_c16.o
 .libs/matmul_l4.o .libs/matmul_l8.o .libs/matmul_l16.o
 .libs/transpose_i4.o .libs/transpose_i8.o .libs/transpose_i16.o
 .libs/transpose_r4.o .libs/transpose_r8.o .libs/transpose_r10.o
 .libs/transpose_r16.o .libs/transpose_c4.o .libs/transpose_c8.o
 .libs/transpose_c10.o .libs/transpose_c16.o .libs/shape_i4.o
 .libs/shape_i8.o .libs/shape_i16.o .libs/eoshift1_4.o .libs/eoshift1_8.o
 .libs/eoshift1_16.o .libs/eoshift3_4.o .libs/eoshift3_8.o
 .libs/eoshift3_16.o .libs/cshift1_4.o .libs/cshift1_8.o .libs/cshift1_16.o
 .libs/reshape_i4.o .libs/reshape_i8.o .libs/reshape_i16.o
 .libs/reshape_r4.o .libs/reshape_r8.o .libs/reshape_r10.o
 .libs/reshape_r16.o .libs/reshape_c4.o .libs/reshape_c8.o
 .libs/reshape_c10.o .libs/reshape_c16.o .libs/in_pack_i1.o
 .libs/in_pack_i2.o .libs/in_pack_i4.o .libs/in_pack_i8.o
 .libs/in_pack_i16.o .libs/in_pack_r4.o .libs/in_pack_r8.o
 .libs/in_pack_r10.o .libs/in_pack_r16.o .libs/in_pack_c4.o
 .libs/in_pack_c8.o .libs/in_pack_c10.o .libs/in_pack_c16.o
 .libs/in_unpack_i1.o .libs/in_unpack_i2.o .libs/in_unpack_i4.o
 .libs/in_unpack_i8.o .libs/in_unpack_i16.o .libs/in_unpack_r4.o
 .libs/in_unpack_r8.o .libs/in_unpack_r10.o .libs/in_unpack_r16.o
 .libs/in_unpack_c4.o .libs/in_unpack_c8.o .libs/in_unpack_c10.o
 .libs/in_unpack_c16.o .libs/exponent_r4.o .libs/exponent_r8.o
 .libs/exponent_r10.o .libs/exponent_r16.o .libs/fraction_r4.o
 .libs/fraction_r8.o .libs/fraction_r10.o .libs/fraction_r16.o
 .libs/nearest_r4.o .libs/nearest_r8.o .libs/nearest_r10.o
 .libs/nearest_r16.o .libs/set_exponent_r4.o .libs/set_exponent_r8.o
 .libs/set_exponent_r10.o .libs/set_exponent_r16.o .libs/pow_i4_i4.o
 .libs/pow_i8_i4.o .libs/pow_i16_i4.o .libs/pow_r16_i4.o .libs/pow_c4_i4.o
 .libs/pow_c8_i4.o .libs/pow_c10_i4.o .libs/pow_c16_i4.o .libs/pow_i4_i8.o
 .libs/pow_i8_i8.o .libs/pow_i16_i8.o .libs/pow_r4_i8.o .libs/pow_r8_i8.o
 .libs/pow_r10_i8.o .libs/pow_r16_i8.o .libs/pow_c4_i8.o .libs/pow_c8_i8.o
 .libs/pow_c10_i8.o .libs/pow_c16_i8.o .libs/pow_i4_i16.o
 .libs/pow_i8_i16.o .libs/pow_i16_i16.o .libs/pow_r4_i16.o
 .libs/pow_r8_i16.o .libs/pow_r10_i16.o .libs/pow_r16_i16.o
 .libs/pow_c4_i16.o .libs/pow_c8_i16.o .libs/pow_c10_i16.o
 .libs/pow_c16_i16.o .libs/rrspacing_r4.o .libs/rrspacing_r8.o
 .libs/rrspacing_r10.o .libs/rrspacing_r16.o .libs/spacing_r4.o
 .libs/spacing_r8.o .libs/spacing_r10.o .libs/spacing_r16.o .libs/pack_i1.o
 .libs/pack_i2.o .libs/pack_i4.o .libs/pack_i8.o .libs/pack_i16.o
 .libs/pack_r4.o .libs/pack_r8.o .libs/pack_r10.o .libs/pack_r16.o
 .libs/pack_c4.o .libs/pack_c8.o .libs/pack_c10.o .libs/pack_c16.o
 .libs/unpack_i1.o .libs/unpack_i2.o .libs/unpack_i4.o .libs/unpack_i8.o
 .libs/unpack_i16.o .libs/unpack_r4.o .libs/unpack_r8.o .libs/unpack_r10.o
 .libs/unpack_r16.o .libs/unpack_c4.o .libs/unpack_c8.o .libs/unpack_c10.o
 .libs/unpack_c16.o .libs/spread_i1.o .libs/spread_i2.o .libs/spread_i4.o
 .libs/spread_i8.o .libs/spread_i16.o .libs/spread_r4.o .libs/spread_r8.o
 .libs/spread_r10.o .libs/spread_r16.o .libs/spread_c4.o .libs/spread_c8.o
 .libs/spread_c10.o .libs/spread_c16.o .libs/cshift0_i1.o
 .libs/cshift0_i2.o .libs/cshift0_i4.o .libs/cshift0_i8.o
 .libs/cshift0_i16.o .libs/cshift0_r4.o .libs/cshift0_r8.o
 .libs/cshift0_r10.o .libs/cshift0_r16.o .libs/cshift0_c4.o
 .libs/cshift0_c8.o .libs/cshift0_c10.o .libs/cshift0_c16.o .libs/close.o
 .libs/file_pos.o .libs/format.o .libs/inquire.o .libs/intrinsics.o
 .libs/list_read.o .libs/lock.o .libs/open.o .libs/read.o
 .libs/size_from_kind.o .libs/transfer.o .libs/transfer128.o .libs/unit.o
 .libs/unix.o .libs/write.o .libs/fbuf.o .libs/associated.o .libs/abort.o
 .libs/access.o .libs/args.o .libs/bit_intrinsics.o .libs/c99_functions.o
 .libs/chdir.o .libs/chmod.o .libs/clock.o .libs/cpu_time.o .libs/cshift0.o
 .libs/ctime.o .libs/date_and_time.o .libs/dtime.o .libs/env.o
 .libs/eoshift0.o .libs/eoshift2.o .libs/erfc_scaled.o .libs/etime.o
 .libs/execute_command_line.o .libs/exit.o .libs/extends_type_of.o
 .libs/fnum.o .libs/gerror.o .libs/getcwd.o .libs/getlog.o .libs/getXid.o
 .libs/hostnm.o .libs/ierrno.o .libs/ishftc.o .libs/iso_c_generated_procs.o
 .libs/iso_c_binding.o .libs/kill.o .libs/link.o .libs/malloc.o
 .libs/mvbits.o .libs/move_alloc.o .libs/pack_generic.o .libs/perror.o
 .libs/selected_char_kind.o .libs/signal.o .libs/size.o .libs/sleep.o
 .libs/spread_generic.o .libs/string_intrinsics.o .libs/system.o
 .libs/rand.o .libs/random.o .libs/rename.o .libs/reshape_generic.o
 .libs/reshape_packed.o .libs/selected_int_kind.o
 .libs/selected_real_kind.o .libs/stat.o .libs/symlnk.o
 .libs/system_clock.o .libs/time.o .libs/transpose_generic.o .libs/umask.o
 .libs/unlink.o .libs/unpack_generic.o .libs/in_pack_generic.o
 .libs/in_unpack_generic.o .libs/_abs_c4.o .libs/_abs_c8.o .libs/_abs_c10.o
 .libs/_abs_c16.o .libs/_abs_i4.o .libs/_abs_i8.o .libs/_abs_i16.o
 .libs/_abs_r4.o .libs/_abs_r8.o .libs/_abs_r10.o .libs/_abs_r16.o
 .libs/_aimag_c4.o .libs/_aimag_c8.o .libs/_aimag_c10.o .libs/_aimag_c16.o
 .libs/_exp_r4.o .libs/_exp_r8.o .libs/_exp_r10.o .libs/_exp_r16.o
 .libs/_exp_c4.o .libs/_exp_c8.o .libs/_exp_c10.o .libs/_exp_c16.o
 .libs/_log_r4.o .libs/_log_r8.o .libs/_log_r10.o .libs/_log_r16.o
 .libs/_log_c4.o .libs/_log_c8.o .libs/_log_c10.o .libs/_log_c16.o
 .libs/_log10_r4.o .libs/_log10_r8.o .libs/_log10_r10.o .libs/_log10_r16.o
 .libs/_sqrt_r4.o .libs/_sqrt_r8.o .libs/_sqrt_r10.o .libs/_sqrt_r16.o
 .libs/_sqrt_c4.o .libs/_sqrt_c8.o .libs/_sqrt_c10.o .libs/_sqrt_c16.o
 .libs/_asin_r4.o .libs/_asin_r8.o .libs/_asin_r10.o .libs/_asin_r16.o
 .libs/_asinh_r4.o .libs/_asinh_r8.o .libs/_asinh_r10.o .libs/_asinh_r16.o
 .libs/_acos_r4.o .libs/_acos_r8.o .libs/_acos_r10.o .libs/_acos_r16.o
 .libs/_acosh_r4.o .libs/_acosh_r8.o .libs/_acosh_r10.o .libs/_acosh_r16.o
 .libs/_atan_r4.o .libs/_atan_r8.o .libs/_atan_r10.o .libs/_atan_r16.o
 .libs/_atanh_r4.o .libs/_atanh_r8.o .libs/_atanh_r10.o .libs/_atanh_r16.o
 .libs/_sin_r4.o .libs/_sin_r8.o .libs/_sin_r10.o .libs/_sin_r16.o
 .libs/_sin_c4.o .libs/_sin_c8.o .libs/_sin_c10.o .libs/_sin_c16.o
 .libs/_cos_r4.o .libs/_cos_r8.o .libs/_cos_r10.o .libs/_cos_r16.o
 .libs/_cos_c4.o .libs/_cos_c8.o .libs/_cos_c10.o .libs/_cos_c16.o
 .libs/_tan_r4.o .libs/_tan_r8.o .libs/_tan_r10.o .libs/_tan_r16.o
 .libs/_sinh_r4.o .libs/_sinh_r8.o .libs/_sinh_r10.o .libs/_sinh_r16.o
 .libs/_cosh_r4.o .libs/_cosh_r8.o .libs/_cosh_r10.o .libs/_cosh_r16.o
 .libs/_tanh_r4.o .libs/_tanh_r8.o .libs/_tanh_r10.o .libs/_tanh_r16.o
 .libs/_conjg_c4.o .libs/_conjg_c8.o .libs/_conjg_c10.o .libs/_conjg_c16.o
 .libs/_aint_r4.o .libs/_aint_r8.o .libs/_aint_r10.o .libs/_aint_r16.o
 .libs/_anint_r4.o .libs/_anint_r8.o .libs/_anint_r10.o .libs/_anint_r16.o
 .libs/_sign_i4.o .libs/_sign_i8.o .libs/_sign_i16.o .libs/_sign_r4.o
 .libs/_sign_r8.o .libs/_sign_r10.o .libs/_sign_r16.o .libs/_dim_i4.o
 .libs/_dim_i8.o .libs/_dim_i16.o .libs/_dim_r4.o .libs/_dim_r8.o
 .libs/_dim_r10.o .libs/_dim_r16.o .libs/_atan2_r4.o .libs/_atan2_r8.o
 .libs/_atan2_r10.o .libs/_atan2_r16.o .libs/_mod_i4.o .libs/_mod_i8.o
 .libs/_mod_i16.o .libs/_mod_r4.o .libs/_mod_r8.o .libs/_mod_r10.o
 .libs/_mod_r16.o .libs/misc_specifics.o .libs/dprod_r8.o
 .libs/f2c_specifics.o   ../libquadmath/.libs/libquadmath.dylib -lm
 -Wl,-single_module   -install_name
 /opt/local/lib/gcc46/libgfortran.3.dylib -compatibility_version 4
 -current_version 4.0 -Wl,-single_module
 :info:build collect2: ld terminated with signal 6 [Abort trap: 6]
 :info:build ld(7761) malloc: *** error for object 0x10c585880: pointer
 being freed was not allocated
 :info:build *** set a breakpoint in malloc_error_break to debug
 :info:build make[3]: *** [libgfortran.la] Error 1
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/work/build/x86_64
 -apple-darwin11/libgfortran'
 :info:build make[2]: *** [all] Error 2
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/work/build/x86_64
 -apple-darwin11/libgfortran'
 :info:build make[1]: *** [all-target-libgfortran] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/work/build'
 :info:build make: *** [bootstrap] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/work/build'
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/work/build"
 && /usr/bin/make -j8 -w bootstrap " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for gcc46):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for gcc46 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc46/gcc46/main.log
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/31174#comment:19>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list