Re: PowerPC port broken?



Marcel Moolenaar wrote:

On Jan 25, 2007, at 10:15 PM, LI Xin wrote:

Latest build shows this:

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

This probably means that the wrong compiler driver or
assembler is being picked up. One that doesn't isn't
targeting powerpc.

I'll fire-up a cross-build on my amd64 and get back
to you...

Stop in /usr/src.

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

What happens if you set TARGET_ARCH instead of TARGET?

Still same problem... Do we have a public reference PowerPC box for
committers to test changes? This is the only platform I have not tested
my gzip related changes :-)

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_ARCH=powerpc
__MAKE_CONF=/dev/null > ...


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

Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Re: PowerPC port broken?
    ... (What does Assembler messages: ... FATAL: can't create crtbegin.o: Invalid bfd target ... warning: this is the location of the previous definition ... *** Error code 2 ...
    (freebsd-current)
  • make
    ... {standard input}: cc: Assembler messages: ... :7083: Warning: end of file not at end of a line; ... *** Error code 1 ...
    (freebsd-questions)
  • FreeBSD 6.1-RELEASE source update fails during compilation
    ... with preprocessed source if appropriate. ... {standard input}: Assembler messages: ... *** Error code 1 ...
    (freebsd-stable)
  • Re: PowerPC port broken?
    ... (What does Assembler messages: ... FATAL: can't create crtbegin.o: Invalid bfd target ... I'll fire-up a cross-build on my amd64 and get back ... Marcel Moolenaar ...
    (freebsd-current)
  • Re: FreeBSD 6.1-RELEASE source update fails during compilation
    ... {standard input}: Assembler messages: ... *** Error code 1 ... too check but I suspect I run out of memory every time. ...
    (freebsd-stable)