#7898 closed defect (fixed)
BUG Failed to build m68k-elf-gcc
Reported by: | vze35xda@… | Owned by: | pguyot (Paul Guyot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | DarwinPorts | Cc: | pguyot (Paul Guyot), markd@… |
Port: |
Description
Trying to install m68k-elf-gcc, note this is try #2, first pass loaded everything and ran to the same spot as below. Ran it again as suggested in the notes with -vd option and got the following. The error is the same as the original run. Note: Got the same result on two different machines. (Dual G4 533 and 12" G4 Powerbook) The run below is from the Dual G4.
The first part of the install was successful, the binutils part ran OK but the gcc build failed, see below.
System: Darwin Pandora.local 8.5.0 Darwin Kernel Version 8.5.0: Sun Jan 22 10:38:46 PST 2006; root:xnu-792.6.61.obj~1/RELEASE_PPC Power Macintosh powerpc
DarwinPort version: Version: 1.200
sudo port -vd install m68k-elf-gcc Password: DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/cross/m68k-elf-gcc DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/cross/m68k-elf-gcc DEBUG: Requested variant powerpc is not provided by port m68k-elf-gcc. DEBUG: Requested variant darwin is not provided by port m68k-elf-gcc. DEBUG: Requested variant macosx is not provided by port m68k-elf-gcc. DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/cross/m68k-elf-binutils DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/cross/m68k-elf-binutils DEBUG: Searching for dependency: m68k-elf-binutils DEBUG: Found Dependency: receipt exists for m68k-elf-binutils DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/cross/m68k-elf-binutils DEBUG: Searching for dependency: m68k-elf-binutils DEBUG: Found Dependency: receipt exists for m68k-elf-binutils DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/cross/m68k-elf-binutils DEBUG: Searching for dependency: m68k-elf-binutils DEBUG: Found Dependency: receipt exists for m68k-elf-binutils DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/cross/m68k-elf-binutils DEBUG: Searching for dependency: m68k-elf-binutils DEBUG: Found Dependency: receipt exists for m68k-elf-binutils DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/cross/m68k-elf-binutils DEBUG: Searching for dependency: m68k-elf-binutils DEBUG: Found Dependency: receipt exists for m68k-elf-binutils DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gettext DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gettext DEBUG: Searching for dependency: gettext DEBUG: Found Dependency: receipt exists for gettext DEBUG: Skipping completed com.apple.main (m68k-elf-gcc) DEBUG: Skipping completed com.apple.unarchive (m68k-elf-gcc) DEBUG: Skipping completed com.apple.fetch (m68k-elf-gcc) DEBUG: Skipping completed com.apple.checksum (m68k-elf-gcc) DEBUG: setting option extract.cmd to /usr/bin/bzip2 DEBUG: Skipping completed com.apple.extract (m68k-elf-gcc) DEBUG: Skipping completed com.apple.patch (m68k-elf-gcc) DEBUG: Skipping completed com.apple.configure (m68k-elf-gcc) ---> Building m68k-elf-gcc with target all DEBUG: Executing com.apple.build (m68k-elf-gcc) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/build" && make all AR_FOR_TARGET=m68k-elf-ar AS_FOR_TARGET=m68k-elf-as LD_FOR_TARGET=m68k-elf-ld NM_FOR_TARGET=m68k-elf-nm RANLIB_FOR_TARGET=m68k-elf-ranlib' make[2]: Nothing to be done for `all'. make \
CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long " \ CONFIG_H="config.h auto-host.h /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/gcc/../include/ansidecl.h" \ MAKEOVERRIDES= \ -f libgcc.mk all
for d in libgcc m68000 libgcc/m68000 m5200 libgcc/m5200 m5206e libgcc/m5206e m528x libgcc/m528x m5307 libgcc/m5307 m5407 libgcc/m5407 mcpu32 libgcc/mcpu32 m68040 libgcc/m68040 m68060 libgcc/m68060 msoft-float libgcc/msoft-float; do \
if [ -d $d ]; then true; else /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/gcc/mkinstalldirs $d; fi; \
done if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/build/gcc/xgcc -B/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/build/gcc/ -nostdinc -B/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/build/m68k-elf/newlib/ -isystem /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/build/m68k-elf/newlib/targ-include -isystem /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/newlib/libc/include -B/opt/local/m68k-elf/bin/ -B/opt/local/m68k-elf/lib/ -isystem /opt/local/m68k-elf/include -isystem /opt/local/m68k-elf/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -DGCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/gcc -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/gcc/. -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/gcc/../include -I../intl -m68040 -DL_fixunsdfsi -c /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/gcc/libgcc2.c -o libgcc/m68040/_fixunsdfsi.o /var/tmpccSSa0Xi.s: Assembler messages: /var/tmpccSSa0Xi.s:29: Error: operands mismatch -- statement `fmovem.l %fpcr,%d1' ignored /var/tmpccSSa0Xi.s:41: Error: operands mismatch -- statement `fmovem.l %fpcr,%d1' ignored make[2]: * [libgcc/m68040/_fixunsdfsi.o] Error 1 make[1]: * [stmp-multilib] Error 2 make: * [all-gcc] Error 2 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/build" && make all AR_FOR_TARGET=m68k-elf-ar AS_FOR_TARGET=m68k-elf-as LD_FOR_TARGET=m68k-elf-ld NM_FOR_TARGET=m68k-elf-nm RANLIB_FOR_TARGET=m68k-elf-ranlib" returned error 2 Command output: make[2]: Nothing to be done for `all'. make \
CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long " \ CONFIG_H="config.h auto-host.h /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/gcc/../include/ansidecl.h" \ MAKEOVERRIDES= \ -f libgcc.mk all
for d in libgcc m68000 libgcc/m68000 m5200 libgcc/m5200 m5206e libgcc/m5206e m528x libgcc/m528x m5307 libgcc/m5307 m5407 libgcc/m5407 mcpu32 libgcc/mcpu32 m68040 libgcc/m68040 m68060 libgcc/m68060 msoft-float libgcc/msoft-float; do \
if [ -d $d ]; then true; else /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/gcc/mkinstalldirs $d; fi; \
done if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/build/gcc/xgcc -B/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/build/gcc/ -nostdinc -B/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/build/m68k-elf/newlib/ -isystem /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/build/m68k-elf/newlib/targ-include -isystem /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/newlib/libc/include -B/opt/local/m68k-elf/bin/ -B/opt/local/m68k-elf/lib/ -isystem /opt/local/m68k-elf/include -isystem /opt/local/m68k-elf/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -DGCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/gcc -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/gcc/. -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/gcc/../include -I../intl -m68040 -DL_fixunsdfsi -c /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_cross_m68k-elf-gcc/work/gcc-3.4.3/gcc/libgcc2.c -o libgcc/m68040/_fixunsdfsi.o /var/tmpccSSa0Xi.s: Assembler messages: /var/tmpccSSa0Xi.s:29: Error: operands mismatch -- statement `fmovem.l %fpcr,%d1' ignored /var/tmpccSSa0Xi.s:41: Error: operands mismatch -- statement `fmovem.l %fpcr,%d1' ignored make[2]: * [libgcc/m68040/_fixunsdfsi.o] Error 1 make[1]: * [stmp-multilib] Error 2 make: * [all-gcc] Error 2
Warning: the following items did not execute (for m68k-elf-gcc): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing.
Change History (5)
comment:1 Changed 18 years ago by kevin@…
Component: | darwinbuild → dports |
---|---|
Keywords: | DarwinPorts added; darwinbuild removed |
product: | darwinbuild → DarwinPorts |
Version: | current → 1.2 |
comment:2 Changed 18 years ago by pipping@…
Milestone: | → Port Bugs |
---|
comment:3 Changed 18 years ago by markd@…
Cc: | pguyot@… markd@… added |
---|---|
Owner: | changed from kvv@… to pguyot@… |
comment:4 Changed 18 years ago by pguyot (Paul Guyot)
Resolution: | → fixed |
---|---|
Status: | new → closed |
The problem was caused by binutils. It no longer occurs with 2.17.
Paul, I know this is old, but can you speculate as to what the problem might have been or whether this might still be a problem or not?