OpenWrt, gcc-linaro-4.7-2012.10 won't compile for target x86_64, but will for X86

Bug #1084512 reported by Bill Ross
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Incomplete
Undecided
Unassigned

Bug Description

'net seach comes up empty.
Buildsys: Centos 6, VM
May need a guru to ssh in to sort this out.

Further info at:

https://dev.openwrt.org/ticket/12541#ticket

Fail:
x86_64-openwrt-linux-gnu-gcc -c -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -I/home/rossb/OpenWrt/x86_64/r34389/trunk/build_dir/target-x86_64_eglibc-2.16/gcc-linaro-4.7-2012.10/host-x86_64-openwrt-linux-gnu/gmp -I/home/rossb/OpenWrt/x86_64/r34389/trunk/build_dir/target-x86_64_eglibc-2.16/gcc-linaro-4.7-2012.10/gmp -I/home/rossb/OpenWrt/x86_64/r34389/trunk/build_dir/target-x86_64_eglibc-2.16/gcc-linaro-4.7-2012.10/host-x86_64-openwrt-linux-gnu/mpfr -I/home/rossb/OpenWrt/x86_64/r34389/trunk/build_dir/target-x86_64_eglibc-2.16/gcc-linaro-4.7-2012.10/mpfr -I/home/rossb/OpenWrt/x86_64/r34389/trunk/build_dir/target-x86_64_eglibc-2.16/gcc-linaro-4.7-2012.10/mpc/src -I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/dpd -I../libdecnumber \
  ../.././gcc/config/i386/i386.c -o i386.o
cc1: note: someone does not honour COPTS correctly, passed 0 times
../.././gcc/config/i386/i386.c: In function 'ix86_expand_multi_arg_builtin':
../.././gcc/config/i386/i386.c:27917:3: error: duplicate case value
../.././gcc/config/i386/i386.c:27916:3: error: previously used here
../.././gcc/config/i386/i386.c:27918:3: error: duplicate case value
../.././gcc/config/i386/i386.c:27916:3: error: previously used here
../.././gcc/config/i386/i386.c:27919:3: error: duplicate case value
../.././gcc/config/i386/i386.c:27916:3: error: previously used here
../.././gcc/config/i386/i386.c:27922:3: error: duplicate case value
../.././gcc/config/i386/i386.c:27916:3: error: previously used here
../.././gcc/config/i386/i386.c:27925:3: error: duplicate case value
../.././gcc/config/i386/i386.c:27916:3: error: previously used here
../.././gcc/config/i386/i386.c:27928:3: error: duplicate case value
../.././gcc/config/i386/i386.c:27916:3: error: previously used here
../.././gcc/config/i386/i386.c:27931:3: error: duplicate case value
../.././gcc/config/i386/i386.c:27916:3: error: previously used here
../.././gcc/config/i386/i386.c: In function 'ix86_expand_args_builtin':
../.././gcc/config/i386/i386.c:28854:8: error: duplicate case value
../.././gcc/config/i386/i386.c:28853:8: error: previously used here
../.././gcc/config/i386/i386.c:28855:8: error: duplicate case value
../.././gcc/config/i386/i386.c:28853:8: error: previously used here
../.././gcc/config/i386/i386.c:28856:8: error: duplicate case value
../.././gcc/config/i386/i386.c:28853:8: error: previously used here
make[5]: *** [i386.o] Error 1

Leaving directory `/home/rossb/OpenWrt/x86_64/r34389/trunk/build_dir/target-x86_64_eglibc-2.16/gcc-linaro-4.7-2012.10/host-x86_64-openwrt-linux-gnu/gcc'

Revision history for this message
Michael Hope (michaelh1) wrote :

Hi Bill. We build both x86_64 and i386 as part of every commit and as part of the release process and haven't seen this fault. Could you provide a test case that reproduces the fault?

Changed in gcc-linaro:
status: New → Incomplete
Revision history for this message
Bill Ross (q-rossb) wrote :

Hi Michael;

Testcase?

Note that this is cross-compile, target X86_64, creating a gcc package for OpenWrt.

I am working out of OpenWrt trunk and, to patch it (other build failures) to get to the point that gcc can actually be compiled is a lot of work. This is bleeding edge stuff. OpenWrt team is not too interested in X86_64.
There are three choices.

a) I can send you instructions to replicate my build env - lotta work
b) I can tar up my build / target system and you can install - lotta work
c) I can provide you SSH credentials so you can see / debug for yourself on my build system

Option "c" is less work, we can do it interactively and less risk (a,b may have env dependencies that change behaviur for you)

I can also provide a full build log, if desired.

Please advise regarding how you want to proceed.

Note that I am an engineer, so, am able to assist.

Regards;
Bill

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.