Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18144 closed defect (duplicate)

gcc43 build failure on Panther

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: gcc43

Description

gcc43 doesn't build on Mac OS X 10.3.9 Panther with Xcode 1.5 and MacPorts 1.7.0 on a Power Mac G4:

--->  Fetching gcc43
--->  Verifying checksum(s) for gcc43
--->  Extracting gcc43
--->  Configuring gcc43
--->  Building gcc43
Error: Target org.macports.build returned: shell command " cd "/mp/var/macports/build/_Volumes_data_macports_ports_lang_gcc43/work/build" && nice -n 10 gmake all " returned error 2
Command output: # early copy is necessary so that the gcc -B options find
# the right startup files when linking shared libgcc.
/bin/sh ../../../gcc-4.3.2/libgcc/../mkinstalldirs ../.././gcc
parts="crt2.o crt3.o";                          \
        for file in $parts; do                                  \
          rm -f ../.././gcc/$file;              \
          /usr/bin/install -c -m 644 $file ../.././gcc/;        \
        done
{ /mp/var/macports/build/_Volumes_data_macports_ports_lang_gcc43/work/build/./gcc/nm -pg  _muldi3_s.o _negdi2_s.o _lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o _ucmpdi2_s.o _clear_cache_s.o _enable_execute_stack_s.o _trampoline_s.o __main_s.o _absvsi2_s.o _absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o _ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o _popcountdi2_s.o _paritysi2_s.o _paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o _powitf2_s.o _mulsc3_s.o _muldc3_s.o _mulxc3_s.o _multc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o _divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o _fixtfdi_s.o _fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o _fixunstfdi_s.o _floatdisf_s.o _floatdidf_s.o _floatdixf_s.o _floatditf_s.o _floatundisf_s.o _floatundidf_s.o _floatundixf_s.o _floatunditf_s.o _divdi3_s.o _moddi3_s.o _udivdi3_s.o _umoddi3_s.o _udiv_w_sdiv_s.o _udivmoddi4_s.o darwin-tramp_s.o ppc64-fp_s.o darwin-64_s.o darwin-ldouble_s.o darwin-world_s.o unwind-dw2_s.o unwind-dw2-fde-darwin_s.o unwind-sjlj_s.o unwind-c_s.o darwin-fallback_s.o emutls_s.o; echo %%; \
          cat ../../../gcc-4.3.2/libgcc/../gcc/config/rs6000/libgcc-ppc64.ver  ../../../gcc-4.3.2/libgcc/../gcc/libgcc-std.ver \
            | sed -e '/^[       ]*#/d' \
                  -e 's/^%\(if\|else\|elif\|endif\|define\)/#\1/' \
            | /mp/var/macports/build/_Volumes_data_macports_ports_lang_gcc43/work/build/./gcc/xgcc -B/mp/var/macports/build/_Volumes_data_macports_ports_lang_gcc43/work/build/./gcc/ -B/mp/powerpc-apple-darwin7.9.0/bin/ -B/mp/powerpc-apple-darwin7.9.0/lib/ -isystem /mp/powerpc-apple-darwin7.9.0/include -isystem /mp/powerpc-apple-darwin7.9.0/sys-include -g -O2  -O2 -g -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -Wa,-force_cpusubtype_ALL -pipe -mmacosx-version-min=10.4 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc -I../../../gcc-4.3.2/libgcc -I../../../gcc-4.3.2/libgcc/. -I../../../gcc-4.3.2/libgcc/../gcc -I../../../gcc-4.3.2/libgcc/../include  -DHAVE_CC_TLS -E -xassembler-with-cpp -; \
        } | gawk -f ../../../gcc-4.3.2/libgcc/../gcc/mkmap-flat.awk -v leading_underscore=1 > tmp-libgcc.map
mv tmp-libgcc.map libgcc.map
# @multilib_flags@ is still needed because this may use
# /mp/var/macports/build/_Volumes_data_macports_ports_lang_gcc43/work/build/./gcc/xgcc -B/mp/var/macports/build/_Volumes_data_macports_ports_lang_gcc43/work/build/./gcc/ -B/mp/powerpc-apple-darwin7.9.0/bin/ -B/mp/powerpc-apple-darwin7.9.0/lib/ -isystem /mp/powerpc-apple-darwin7.9.0/include -isystem /mp/powerpc-apple-darwin7.9.0/sys-include and -O2  -O2 -g -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -Wa,-force_cpusubtype_ALL -pipe -mmacosx-version-min=10.4 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  directly.
# @multilib_dir@ is not really necessary, but sometimes it has
# more uses than just a directory name.
/bin/sh ../../../gcc-4.3.2/libgcc/../mkinstalldirs .
/mp/var/macports/build/_Volumes_data_macports_ports_lang_gcc43/work/build/./gcc/xgcc -B/mp/var/macports/build/_Volumes_data_macports_ports_lang_gcc43/work/build/./gcc/ -B/mp/powerpc-apple-darwin7.9.0/bin/ -B/mp/powerpc-apple-darwin7.9.0/lib/ -isystem /mp/powerpc-apple-darwin7.9.0/include -isystem /mp/powerpc-apple-darwin7.9.0/sys-include -O2  -O2 -g -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -Wa,-force_cpusubtype_ALL -pipe -mmacosx-version-min=10.4 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -dynamiclib -nodefaultlibs -install_name /mp/lib/gcc43/libgcc_s`if test . = ppc64 ; then echo _. ; fi`.1.dylib -single_module -o ./libgcc_s.1.dylib.tmp -Wl,-exported_symbols_list,libgcc.map -compatibility_version 1 -current_version 1.0 -g -B./ _muldi3_s.o _negdi2_s.o _lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o _ucmpdi2_s.o _clear_cache_s.o _enable_execute_stack_s.o _trampoline_s.o __main_s.o _absvsi2_s.o _absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o _ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o _popcountdi2_s.o _paritysi2_s.o _paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o _powitf2_s.o _mulsc3_s.o _muldc3_s.o _mulxc3_s.o _multc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o _divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o _fixtfdi_s.o _fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o _fixunstfdi_s.o _floatdisf_s.o _floatdidf_s.o _floatdixf_s.o _floatditf_s.o _floatundisf_s.o _floatundidf_s.o _floatundixf_s.o _floatunditf_s.o _divdi3_s.o _moddi3_s.o _udivdi3_s.o _umoddi3_s.o _udiv_w_sdiv_s.o _udivmoddi4_s.o darwin-tramp_s.o ppc64-fp_s.o darwin-64_s.o darwin-ldouble_s.o darwin-world_s.o unwind-dw2_s.o unwind-dw2-fde-darwin_s.o unwind-sjlj_s.o unwind-c_s.o darwin-fallback_s.o emutls_s.o -lc
/usr/bin/ld: unknown flag: -macosx_version_mincollect2: ld returned 1 exit status

gmake[3]: *** [libgcc_s.dylib] Error 1
gmake[3]: Leaving directory `/mp/var/macports/build/_Volumes_data_macports_ports_lang_gcc43/work/build/powerpc-apple-darwin7.9.0/libgcc'
gmake[2]: *** [all-stage1-target-libgcc] Error 2
gmake[2]: Leaving directory `/mp/var/macports/build/_Volumes_data_macports_ports_lang_gcc43/work/build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/mp/var/macports/build/_Volumes_data_macports_ports_lang_gcc43/work/build'
gmake: *** [all] Error 2

Error: Status 1 encountered during processing.

I can't provide a more complete build log because verbose mode is broken on Panther.

Change History (3)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Sorry, duplicate of #15566.

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

The output above is actually what you get if you add this to the Portfile:

platform darwin 7 {
    depends_build-append    port:gmake
    build.cmd               gmake
}

I forgot I had made those local changes to the Portfile. Without those changes, you get the error reported in #15566.

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.