[Bug 223848] mips64 native-xtools build failure
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 24 18:02:13 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223848
Bug ID: 223848
Summary: mips64 native-xtools build failure
Product: Base System
Version: CURRENT
Hardware: mips
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: misc
Assignee: freebsd-bugs at FreeBSD.org
Reporter: sbruno at FreeBSD.org
CC: bdrewery at FreeBSD.org, bsdimp at FreeBSD.org,
emaste at freebsd.org, jhb at FreeBSD.org
"Something" isn't right about the gcc build when using the native-xtools
target. a Buildworld works fine, but trying to build the native-xtools target
for mips64 results in weird header file confusion:
"make native-xtools TARGET=mips TARGET_ARCH=mips64" <--- Perhaps this is
wrong?
cc -target x86_64-unknown-freebsd12.0
--sysroot=/var/tmp/test/home/sbruno/bsd/fbsd_head/amd64.amd64/nxb/mips.mips64/tmp
-B/var/tmp/test/home/sbruno/bsd/fbsd_head/amd64.amd64/nxb/mips.mips64/tmp/usr/bin
-O -pipe -G0 -EB -mabi=64 -msoft-fl
oat -DGCCVER=\"4.2\" -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\"
-DMIPS_ABI_DEFAULT=ABI_64
-I/var/tmp/test/home/sbruno/bsd/fbsd_head/amd64.amd64/nxb/mips.mips64/gnu/usr.bin/cc/cc_int/../cc_tools
-I/home/sbruno/bsd/fbsd_head/gnu/usr.bin/cc
/cc_int/../cc_tools -I/home/sbruno/bsd/fbsd_head/contrib/gcc
-I/home/sbruno/bsd/fbsd_head/contrib/gcc/config
-I/home/sbruno/bsd/fbsd_head/contrib/gcclibs/include
-I/home/sbruno/bsd/fbsd_head/contrib/gcclibs/libcpp/include -I/home/sbruno/b
sd/fbsd_head/contrib/gcclibs/libdecnumber -MD -MF.depend.mips.o -MTmips.o
-std=gnu89 -Qunused-arguments -c
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c -o mips.o
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:301:49: warning:
declaration of 'struct mips_cpu_info' will not be visible outside of this
function [-Wvisibility]
static void mips_set_architecture (const struct mips_cpu_info *);
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:302:41: warning:
declaration of 'struct mips_cpu_info' will not be visible outside of this
function [-Wvisibility]
static void mips_set_tune (const struct mips_cpu_info *);
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:436:8: error:
redefinition of 'machine_function'
struct machine_function GTY(()) {
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/i386/i386.h:2276:8: note:
previous definition is here
struct machine_function GTY(())
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:512:25: error: field
has incomplete type 'enum mips_symbol_type'
enum mips_symbol_type symbol_type;
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:269:13: note: forward
declaration of 'enum mips_symbol_type'
static enum mips_symbol_type mips_classify_symbol (rtx);
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:595:16: error: use of
undeclared identifier 'ABI_64'
int mips_abi = MIPS_ABI_DEFAULT;
^
<command line>:5:26: note: expanded from here
#define MIPS_ABI_DEFAULT ABI_64
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:632:19: error: use of
undeclared identifier 'NUM_SYMBOL_TYPES'
bool mips_split_p[NUM_SYMBOL_TYPES];
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:637:35: error: use of
undeclared identifier 'NUM_SYMBOL_TYPES'
static const char *mips_lo_relocs[NUM_SYMBOL_TYPES];
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:640:35: error: use of
undeclared identifier 'NUM_SYMBOL_TYPES'
static const char *mips_hi_relocs[NUM_SYMBOL_TYPES];
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:645:3: error: use of
undeclared identifier 'LEA_REGS'
LEA_REGS, LEA_REGS, M16_NA_REGS, V1_REG,
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:645:13: error: use of
undeclared identifier 'LEA_REGS'
LEA_REGS, LEA_REGS, M16_NA_REGS, V1_REG,
home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:645:23: error: use of
undeclared identifier 'M16_NA_REGS'
LEA_REGS, LEA_REGS, M16_NA_REGS, V1_REG,
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:645:36: error: use of
undeclared identifier 'V1_REG'
LEA_REGS, LEA_REGS, M16_NA_REGS, V1_REG,
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:646:3: error: use of
undeclared identifier 'M16_REGS'; did you mean 'MMX_REGS'?
M16_REGS, M16_REGS, M16_REGS, M16_REGS,
^~~~~~~~
MMX_REGS
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/i386/i386.h:1121:3: note:
'MMX_REGS' declared here
MMX_REGS,
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:646:13: error: use of
undeclared identifier 'M16_REGS'; did you mean 'MMX_REGS'?
M16_REGS, M16_REGS, M16_REGS, M16_REGS,
^~~~~~~~
MMX_REGS
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/i386/i386.h:1121:3: note:
'MMX_REGS' declared here
MMX_REGS,
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:646:23: error: use of
undeclared identifier 'M16_REGS'; did you mean 'MMX_REGS'?
M16_REGS, M16_REGS, M16_REGS, M16_REGS,
^~~~~~~~
MMX_REGS
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/i386/i386.h:1121:3: note:
'MMX_REGS' declared here
MMX_REGS,
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:646:33: error: use of
undeclared identifier 'M16_REGS'; did you mean 'MMX_REGS'?
M16_REGS, M16_REGS, M16_REGS, M16_REGS,
^~~~~~~~
MMX_REGS
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/i386/i386.h:1121:3: note:
'MMX_REGS' declared here
MMX_REGS,
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:647:3: error: use of
undeclared identifier 'LEA_REGS'
LEA_REGS, LEA_REGS, LEA_REGS, LEA_REGS,
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:647:13: error: use of
undeclared identifier 'LEA_REGS'
LEA_REGS, LEA_REGS, LEA_REGS, LEA_REGS,
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:647:23: error: use of
undeclared identifier 'LEA_REGS'
LEA_REGS, LEA_REGS, LEA_REGS, LEA_REGS,
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:647:33: error: use of
undeclared identifier 'LEA_REGS'
LEA_REGS, LEA_REGS, LEA_REGS, LEA_REGS,
^
/home/sbruno/bsd/fbsd_head/contrib/gcc/config/mips/mips.c:648:3: error: use of
undeclared identifier 'LEA_REGS'
LEA_REGS, LEA_REGS, LEA_REGS, LEA_REGS,
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list