[MacPorts] #54825: g95 fails to build on 10.13 High Sierra
MacPorts
noreply at macports.org
Wed Sep 13 19:05:29 UTC 2017
#54825: g95 fails to build on 10.13 High Sierra
----------------------+------------------------
Reporter: joverly | Owner: takeshi@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: highsierra
Port: g95 |
----------------------+------------------------
Description changed by mf2k:
Old description:
> It is looking like ld fails to find a file:
>
> :info:configure mv 'libgcc/./tmp-libgcc.map' libgcc/./libgcc.map
> :info:configure
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_g95/g95/work/gcc-4.2.4/g95/./gcc/xgcc
> -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_g95/g95/work/gcc-4.2.4/g95/./gcc/
> -B/opt/local/lib/g95/x86_64-apple-darwin17/4.2.4/x86_64-apple-
> darwin17/bin/ -B/opt/local/lib/g95/x86_64-apple-darwin17/4.2.4/x86_64
> -apple-darwin17/lib/ -isystem /opt/local/lib/g95/x86_64-apple-
> darwin17/4.2.4/x86_64-apple-darwin17/include -isystem
> /opt/local/lib/g95/x86_64-apple-darwin17/4.2.4/x86_64-apple-darwin17/sys-
> include -O2 -Os -std=gnu89 -DIN_GCC -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
> ./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED -dynamiclib -nodefaultlibs
> -Wl,-install_name,/opt/local/lib/g95/x86_64-apple-
> darwin17/4.2.4/libgcc_s`if test . = ppc64 ; then echo _. ; fi`.1.dylib
> -single_module -o ./libgcc_s.1.dylib.tmp
> -Wl,-exported_symbols_list,libgcc/./libgcc.map -compatibility_version 1
> -current_version 1.0 libgcc/./_muldi3_s.o libgcc/./_negdi2_s.o
> libgcc/./_lshrdi3_s.o libgcc/./_ashldi3_s.o libgcc/./_ashrdi3_s.o
> libgcc/./_cmpdi2_s.o libgcc/./_ucmpdi2_s.o libgcc/./_clear_cache_s.o
> libgcc/./_enable_execute_stack_s.o libgcc/./_trampoline_s.o
> libgcc/./__main_s.o libgcc/./_absvsi2_s.o libgcc/./_absvdi2_s.o
> libgcc/./_addvsi3_s.o libgcc/./_addvdi3_s.o libgcc/./_subvsi3_s.o
> libgcc/./_subvdi3_s.o libgcc/./_mulvsi3_s.o libgcc/./_mulvdi3_s.o
> libgcc/./_negvsi2_s.o libgcc/./_negvdi2_s.o libgcc/./_ctors_s.o
> libgcc/./_ffssi2_s.o libgcc/./_ffsdi2_s.o libgcc/./_clz_s.o
> libgcc/./_clzsi2_s.o libgcc/./_clzdi2_s.o libgcc/./_ctzsi2_s.o
> libgcc/./_ctzdi2_s.o libgcc/./_popcount_tab_s.o libgcc/./_popcountsi2_s.o
> libgcc/./_popcountdi2_s.o libgcc/./_paritysi2_s.o libgcc/./_paritydi2_s.o
> libgcc/./_powisf2_s.o libgcc/./_powidf2_s.o libgcc/./_powixf2_s.o
> libgcc/./_powitf2_s.o libgcc/./_mulsc3_s.o libgcc/./_muldc3_s.o
> libgcc/./_mulxc3_s.o libgcc/./_multc3_s.o libgcc/./_divsc3_s.o
> libgcc/./_divdc3_s.o libgcc/./_divxc3_s.o libgcc/./_divtc3_s.o
> libgcc/./_fixunssfsi_s.o libgcc/./_fixunsdfsi_s.o
> libgcc/./_fixunsxfsi_s.o libgcc/./_fixsfdi_s.o libgcc/./_fixsfti_s.o
> libgcc/./_fixunssfdi_s.o libgcc/./_fixunssfti_s.o libgcc/./_floatdisf_s.o
> libgcc/./_floattisf_s.o libgcc/./_floatundisf_s.o
> libgcc/./_floatuntisf_s.o libgcc/./_fixdfdi_s.o libgcc/./_fixdfti_s.o
> libgcc/./_fixunsdfdi_s.o libgcc/./_fixunsdfti_s.o libgcc/./_floatdidf_s.o
> libgcc/./_floattidf_s.o libgcc/./_floatundidf_s.o
> libgcc/./_floatuntidf_s.o libgcc/./_fixxfdi_s.o libgcc/./_fixxfti_s.o
> libgcc/./_fixunsxfdi_s.o libgcc/./_fixunsxfti_s.o libgcc/./_floatdixf_s.o
> libgcc/./_floattixf_s.o libgcc/./_floatundixf_s.o
> libgcc/./_floatuntixf_s.o libgcc/./_fixtfdi_s.o libgcc/./_fixtfti_s.o
> libgcc/./_fixunstfdi_s.o libgcc/./_fixunstfti_s.o libgcc/./_floatditf_s.o
> libgcc/./_floattitf_s.o libgcc/./_floatunditf_s.o
> libgcc/./_floatuntitf_s.o libgcc/./_divdi3_s.o libgcc/./_moddi3_s.o
> libgcc/./_udivdi3_s.o libgcc/./_umoddi3_s.o libgcc/./_udiv_w_sdiv_s.o
> libgcc/./_udivmoddi4_s.o libgcc/./darwin-64_s.o libgcc/./unwind-dw2_s.o
> libgcc/./unwind-dw2-fde-darwin_s.o libgcc/./unwind-sjlj_s.o libgcc
> /./unwind-c_s.o -lc
> :info:configure ld: file not found:
> :info:configure fatal error:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
> internal link edit command failed
> :info:configure make[4]: *** [libgcc_s.dylib] Error 1
> :info:configure make[3]: *** [stmp-multilib] Error 2
> :info:configure make[2]: *** [all-stage1-gcc] Error 2
> :info:configure make[1]: *** [stage1-bubble] Error 2
> :info:configure make: *** [all] Error 2
New description:
It is looking like ld fails to find a file:
{{{
:info:configure mv 'libgcc/./tmp-libgcc.map' libgcc/./libgcc.map
:info:configure
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_g95/g95/work/gcc-4.2.4/g95/./gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_g95/g95/work/gcc-4.2.4/g95/./gcc/
-B/opt/local/lib/g95/x86_64-apple-darwin17/4.2.4/x86_64-apple-
darwin17/bin/ -B/opt/local/lib/g95/x86_64-apple-darwin17/4.2.4/x86_64
-apple-darwin17/lib/ -isystem /opt/local/lib/g95/x86_64-apple-
darwin17/4.2.4/x86_64-apple-darwin17/include -isystem
/opt/local/lib/g95/x86_64-apple-darwin17/4.2.4/x86_64-apple-darwin17/sys-
include -O2 -Os -std=gnu89 -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -dynamiclib -nodefaultlibs
-Wl,-install_name,/opt/local/lib/g95/x86_64-apple-
darwin17/4.2.4/libgcc_s`if test . = ppc64 ; then echo _. ; fi`.1.dylib
-single_module -o ./libgcc_s.1.dylib.tmp
-Wl,-exported_symbols_list,libgcc/./libgcc.map -compatibility_version 1
-current_version 1.0 libgcc/./_muldi3_s.o libgcc/./_negdi2_s.o
libgcc/./_lshrdi3_s.o libgcc/./_ashldi3_s.o libgcc/./_ashrdi3_s.o
libgcc/./_cmpdi2_s.o libgcc/./_ucmpdi2_s.o libgcc/./_clear_cache_s.o
libgcc/./_enable_execute_stack_s.o libgcc/./_trampoline_s.o
libgcc/./__main_s.o libgcc/./_absvsi2_s.o libgcc/./_absvdi2_s.o
libgcc/./_addvsi3_s.o libgcc/./_addvdi3_s.o libgcc/./_subvsi3_s.o
libgcc/./_subvdi3_s.o libgcc/./_mulvsi3_s.o libgcc/./_mulvdi3_s.o
libgcc/./_negvsi2_s.o libgcc/./_negvdi2_s.o libgcc/./_ctors_s.o
libgcc/./_ffssi2_s.o libgcc/./_ffsdi2_s.o libgcc/./_clz_s.o
libgcc/./_clzsi2_s.o libgcc/./_clzdi2_s.o libgcc/./_ctzsi2_s.o
libgcc/./_ctzdi2_s.o libgcc/./_popcount_tab_s.o libgcc/./_popcountsi2_s.o
libgcc/./_popcountdi2_s.o libgcc/./_paritysi2_s.o libgcc/./_paritydi2_s.o
libgcc/./_powisf2_s.o libgcc/./_powidf2_s.o libgcc/./_powixf2_s.o
libgcc/./_powitf2_s.o libgcc/./_mulsc3_s.o libgcc/./_muldc3_s.o
libgcc/./_mulxc3_s.o libgcc/./_multc3_s.o libgcc/./_divsc3_s.o
libgcc/./_divdc3_s.o libgcc/./_divxc3_s.o libgcc/./_divtc3_s.o
libgcc/./_fixunssfsi_s.o libgcc/./_fixunsdfsi_s.o libgcc/./_fixunsxfsi_s.o
libgcc/./_fixsfdi_s.o libgcc/./_fixsfti_s.o libgcc/./_fixunssfdi_s.o
libgcc/./_fixunssfti_s.o libgcc/./_floatdisf_s.o libgcc/./_floattisf_s.o
libgcc/./_floatundisf_s.o libgcc/./_floatuntisf_s.o libgcc/./_fixdfdi_s.o
libgcc/./_fixdfti_s.o libgcc/./_fixunsdfdi_s.o libgcc/./_fixunsdfti_s.o
libgcc/./_floatdidf_s.o libgcc/./_floattidf_s.o libgcc/./_floatundidf_s.o
libgcc/./_floatuntidf_s.o libgcc/./_fixxfdi_s.o libgcc/./_fixxfti_s.o
libgcc/./_fixunsxfdi_s.o libgcc/./_fixunsxfti_s.o libgcc/./_floatdixf_s.o
libgcc/./_floattixf_s.o libgcc/./_floatundixf_s.o
libgcc/./_floatuntixf_s.o libgcc/./_fixtfdi_s.o libgcc/./_fixtfti_s.o
libgcc/./_fixunstfdi_s.o libgcc/./_fixunstfti_s.o libgcc/./_floatditf_s.o
libgcc/./_floattitf_s.o libgcc/./_floatunditf_s.o
libgcc/./_floatuntitf_s.o libgcc/./_divdi3_s.o libgcc/./_moddi3_s.o
libgcc/./_udivdi3_s.o libgcc/./_umoddi3_s.o libgcc/./_udiv_w_sdiv_s.o
libgcc/./_udivmoddi4_s.o libgcc/./darwin-64_s.o libgcc/./unwind-dw2_s.o
libgcc/./unwind-dw2-fde-darwin_s.o libgcc/./unwind-sjlj_s.o libgcc
/./unwind-c_s.o -lc
:info:configure ld: file not found:
:info:configure fatal error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
internal link edit command failed
:info:configure make[4]: *** [libgcc_s.dylib] Error 1
:info:configure make[3]: *** [stmp-multilib] Error 2
:info:configure make[2]: *** [all-stage1-gcc] Error 2
:info:configure make[1]: *** [stage1-bubble] Error 2
:info:configure make: *** [all] Error 2
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/54825#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list