Re: PowerPC port broken?

From: LI Xin <delphij_at_delphij.net>
Date: Fri, 26 Jan 2007 14:15:10 +0800
Latest build shows this:

(What does Assembler messages:
FATAL: can't create crtbegin.o: Invalid bfd target
mean for me, by the way?)

--------------------------------------------------------------
>>> stage 4.2: building libraries
--------------------------------------------------------------
cd /usr/src;  MAKEOBJDIRPREFIX=/usr/obj/powerpc  MACHINE_ARCH=powerpc
MACHINE=powerpc  CPUTYPE=
GROFF_BIN_PATH=/usr/obj/powerpc/usr/src/tmp/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/powerpc/usr/src/tmp/legacy/usr/share/groff_font
 GROFF_TMAC_PATH=/usr/obj/powerpc/usr/src/tmp/legacy/usr/share/tmac
_SHLIBDIRPREFIX=/usr/obj/powerpc/usr/src/tmp  INSTALL="sh
/usr/src/tools/install.sh"
PATH=/usr/obj/powerpc/usr/src/tmp/legacy/usr/sbin:/usr/obj/powerpc/usr/src/tmp/legacy/usr/bin:/usr/obj/powerpc/usr/src/tmp/legacy/usr/games:/usr/obj/powerpc/usr/src/tmp/usr/sbin:/usr/obj/powerpc/usr/src/tmp/usr/bin:/usr/obj/powerpc/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
make -f Makefile.inc1 DESTDIR=/usr/obj/powerpc/usr/src/tmp -DNO_FSCHG
-DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT  -DWITHOUT_MAN -DWITHOUT_NLS
-DWITHOUT_PROFILE libraries
cd /usr/src;  make -f Makefile.inc1 _startup_libs;  make -f
Makefile.inc1 _prebuild_libs;  make -f Makefile.inc1 _generic_libs;
===> gnu/lib/csu (obj,depend,all,install)
make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile
MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile
GCCDIR=/usr/src/gnu/lib/csu/../../../contrib/gcc tconfig.h
echo '#ifndef GCC_TCONFIG_H'                    > tconfig.h
echo '#define GCC_TCONFIG_H'                    >> tconfig.h
echo '#ifdef IN_GCC'                            >> tconfig.h
echo '# include "ansidecl.h"'                   >> tconfig.h
echo '#endif'                                   >> tconfig.h
echo '#define USED_FOR_TARGET'                  >> tconfig.h
echo '#endif /* GCC_TCONFIG_H */'               >> tconfig.h
make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile
MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile
GCCDIR=/usr/src/gnu/lib/csu/../../../contrib/gcc tm.h
echo '#ifndef GCC_TM_H'                         > tm.h
echo '#define GCC_TM_H'                         >> tm.h
echo '#ifdef IN_GCC'                            >> tm.h
echo '#include "rs6000/rs6000.h"'                               >> tm.h
echo '#include "dbxelf.h"'                              >> tm.h
echo '#include "elfos.h"'                               >> tm.h
echo '#include "freebsd-native.h"'                              >> tm.h
echo '#include "freebsd-spec.h"'                                >> tm.h
echo '#include "freebsd.h"'                             >> tm.h
echo '#include "rs6000/sysv4.h"'                                >> tm.h
echo '#include "rs6000/freebsd.h"'                              >> tm.h
echo '#include "defaults.h"'                            >> tm.h
echo '#if !defined GENERATOR_FILE && !defined USED_FOR_TARGET' >> tm.h
echo '# include "insn-constants.h"'             >> tm.h
echo '# include "insn-flags.h"'                 >> tm.h
echo '#endif'                                   >> tm.h
echo '#endif'                                   >> tm.h
echo '#define EXTRA_MODES_FILE "rs6000/rs6000-modes.def"' >> tm.h
echo '#endif /* GCC_TM_H */'                    >> tm.h
rm -f .depend
mkdep -f .depend -a -DCRT_BEGIN   -DIN_GCC -DHAVE_LD_EH_FRAME_HDR
-I/usr/src/gnu/lib/csu/../../../contrib/gcc/config
-I/usr/src/gnu/lib/csu/../../../contrib/gcc -I.
-I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
cc -O2 -fno-strict-aliasing -pipe  -DIN_GCC -DHAVE_LD_EH_FRAME_HDR
-finhibit-size-directive -fno-inline-functions  -fno-exceptions
-fno-zero-initialized-in-bss  -fno-omit-frame-pointer
-fno-unit-at-a-time -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config
-I/usr/src/gnu/lib/csu/../../../contrib/gcc -I.
-I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools -std=gnu89  -g0
-DCRT_BEGIN  -c -o crtbegin.o
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
Assembler messages:
FATAL: can't create crtbegin.o: Invalid bfd target
In file included from ./tm.h:10,
                 from
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:64:
/usr/src/gnu/lib/csu/../../../contrib/gcc/config/rs6000/sysv4.h:24:1:
warning: "NO_IMPLICIT_EXTERN_C" redefined
In file included from ./tm.h:9,
                 from
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:64:
/usr/src/gnu/lib/csu/../../../contrib/gcc/config/freebsd.h:69:1:
warning: this is the location of the previous definition
In file included from ./tm.h:10,
                 from
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:64:
/usr/src/gnu/lib/csu/../../../contrib/gcc/config/rs6000/sysv4.h:1349:1:
warning: "HANDLE_PRAGMA_PACK_PUSH_POP" redefined
In file included from ./tm.h:9,
                 from
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:64:
/usr/src/gnu/lib/csu/../../../contrib/gcc/config/freebsd.h:99:1:
warning: this is the location of the previous definition
*** Error code 2

Stop in /usr/src/gnu/lib/csu.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

[1]    Exit 1                        make buildworld TARGET=powerpc
__MAKE_CONF=/dev/null > _.powerpc.buildworld

Cheers,
-- 
Xin LI <delphij_at_delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


Received on Fri Jan 26 2007 - 05:15:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC