Date: Fri, 24 Nov 2017 18:02:13 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 223848] mips64 native-xtools build failure Message-ID: <bug-223848-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223848 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@FreeBSD.org Reporter: sbruno@FreeBSD.org CC: bdrewery@FreeBSD.org, bsdimp@FreeBSD.org, emaste@freebsd.org, jhb@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 tar= get for mips64 results in weird header file confusion: "make native-xtools TARGET=3Dmips TARGET_ARCH=3Dmips64" <--- Perhaps this = is wrong? cc -target x86_64-unknown-freebsd12.0 --sysroot=3D/var/tmp/test/home/sbruno/bsd/fbsd_head/amd64.amd64/nxb/mips.mi= ps64/tmp -B/var/tmp/test/home/sbruno/bsd/fbsd_head/amd64.amd64/nxb/mips.mips64/tmp/u= sr/bin -O -pipe -G0 -EB -mabi=3D64 -msoft-fl oat -DGCCVER=3D\"4.2\" -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=3D\"/usr\" -DMIPS_ABI_DEFAULT=3DABI_64 -I/var/tmp/test/home/sbruno/bsd/fbsd_head/amd64.amd64/nxb/mips.mips64/gnu/u= sr.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=3Dgnu89 -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: fi= eld 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: for= ward 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: us= e of undeclared identifier 'ABI_64' int mips_abi =3D 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: us= e 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: us= e 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: us= e 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: us= e 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: us= e 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: us= e 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: us= e 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: us= e 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: us= e 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: us= e 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: us= e 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, --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223848-8>