Upgrading from 5.0-RELEASE to -CURRENT on sparc64

0 views
Skip to first unread message

Andrew R. Reiter

unread,
Feb 12, 2003, 2:46:57 PM2/12/03
to
I have a u60 (mp) and installed 5.0-RELEASE with the miniinst iso. I am
trying to buildworld, but am receiving:

work/arrwrk/src/contrib/gcc/config/elfos.h:323:1: warning:
"TARGET_ASM_NAMED_SECTION" redefined
In file included from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/tconfig.h:15,
from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/hconfig.h:2,
from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/config.h:1,
from /work/arrwrk/src/contrib/gcc/cp/spew.c:26:
/work/arrwrk/src/contrib/gcc/config/sparc/sysv4.h:172:1: warning: this is
the location of the previous definition
In file included from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/tconfig.h:11,
from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/hconfig.h:2,
from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/config.h:1,
from
/work/arrwrk/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parse.y:34,
from /work/arrwrk/src/contrib/gcc/cp/spew.c:34:
/work/arrwrk/src/contrib/gcc/config/elfos.h:437:1: warning:
"TYPE_OPERAND_FMT" redefined
In file included from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/tconfig.h:15,
from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/hconfig.h:2,
from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/config.h:1,
from /work/arrwrk/src/contrib/gcc/cp/spew.c:26:
/work/arrwrk/src/contrib/gcc/config/sparc/sysv4.h:96:1: warning: this is
the location of the previous definition
In file included from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/tconfig.h:11,
from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/hconfig.h:2,
from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/config.h:1,
from
/work/arrwrk/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parse.y:34,
from /work/arrwrk/src/contrib/gcc/cp/spew.c:34:
/work/arrwrk/src/contrib/gcc/config/elfos.h:594:1: warning:
"STRING_ASM_OP" redefined
In file included from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/tconfig.h:15,
from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/hconfig.h:2,
from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/config.h:1,
from /work/arrwrk/src/contrib/gcc/cp/spew.c:26:
/work/arrwrk/src/contrib/gcc/config/sparc/sysv4.h:87:1: warning: this is
the location of the previous definition
In file included from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/tconfig.h:12,
from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/hconfig.h:2,
from
/work/obj/work/arrwrk/src/sparc64/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/config.h:1,
from
/work/arrwrk/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/parse.y:34,
from /work/arrwrk/src/contrib/gcc/cp/spew.c:34:
/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/freebsd-native.h:61:25: attempt
to use poisoned "malloc"
/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/freebsd-native.h:62:25: attempt
to use poisoned "calloc"
/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/freebsd-native.h:63:25: attempt
to use poisoned "realloc"
/work/arrwrk/src/gnu/usr.bin/cc/cc_tools/freebsd-native.h:64:25: attempt
to use poisoned "strdup"
mkdep: compile failed
*** Error code 1

Stop in /work/arrwrk/src/gnu/usr.bin/cc/cc1plus.
*** Error code 1

Stop in /work/arrwrk/src/gnu/usr.bin/cc.
*** Error code 1

Stop in /work/arrwrk/src.
*** Error code 1

Stop in /work/arrwrk/src.
*** Error code 1

Stop in /work/arrwrk/src.


... I did not script(1) this so I dont have a further backtrace (so to
speak). I can produce one if requested.

Anyone have any thoughts? Or am I being a fool linking /usr/obj ->
/work/obj and building world in /work/arrwrk/src/ ?

Thanks for any help.

Cheers,
andrew

--
Andrew R. Reiter
a...@watson.org
a...@FreeBSD.org


To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message

Reply all
Reply to author
Forward
0 new messages