Bug 52986 - x86_64 GCC 4.7.0 can't compile x86 GCC 4.6.2; gtype-desc.c
Summary: x86_64 GCC 4.7.0 can't compile x86 GCC 4.6.2; gtype-desc.c
Status: RESOLVED DUPLICATE of bug 51969
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 4.6.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-14 13:48 UTC by Alexander von Gluck
Modified: 2012-04-24 04:22 UTC (History)
1 user (show)

See Also:
Host: x86_64
Target: x86
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander von Gluck 2012-04-14 13:48:30 UTC
Original bug report:
http://dev.haiku-os.org/ticket/8470


Failure:
----------------------------
gcc -c   -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -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/home/kallisti5/Projects/buildtools/gcc/gcc -I/home/kallisti5/Projects/buildtools/gcc/gcc/. -I/home/kallisti5/Projects/buildtools/gcc/gcc/../include -I/home/kallisti5/Projects/buildtools/gcc/gcc/../libcpp/include -I/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./gmp -I/home/kallisti5/Projects/buildtools/gcc/gmp -I/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/./mpfr -I/home/kallisti5/Projects/buildtools/gcc/mpfr -I/home/kallisti5/Projects/buildtools/gcc/mpc/src  -I/home/kallisti5/Projects/buildtools/gcc/gcc/../libdecnumber -I/home/kallisti5/Projects/buildtools/gcc/gcc/../libdecnumber/dpd -I../libdecnumber    /home/kallisti5/Projects/buildtools/gcc/gcc/haifa-sched.c -o haifa-sched.o
gtype-desc.c:8868:18: error: subscripted value is neither array nor pointer nor vector
gtype-desc.c:8987:36: error: subscripted value is neither array nor pointer nor vector
gtype-desc.c:9071:31: error: subscripted value is neither array nor pointer nor vector
gtype-desc.c:9092:31: error: subscripted value is neither array nor pointer nor vector
gtype-desc.c:9099:31: error: subscripted value is neither array nor pointer nor vector
gtype-desc.c:9106:31: error: subscripted value is neither array nor pointer nor vector
make[2]: *** [gtype-desc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
rm cpp.pod gcc.pod fsf-funding.pod
make[2]: Leaving directory `/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/kallisti5/Projects/haiku/generated/cross-tools-build/gcc'
make: *** [all] Error 2
ERROR: Building gcc failed.


Environment:
----------------------------
kallisti5@eris ~ :) $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.7-20120407/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release
Thread model: posix
gcc version 4.7.0 20120407 (prerelease) (GCC)
Comment 1 Markus Trippelsdorf 2012-04-14 14:01:33 UTC
Already fixed; dup of Bug 51969.
Comment 2 Andrew Pinski 2012-04-24 04:22:19 UTC
Dup so closing as such.

*** This bug has been marked as a duplicate of bug 51969 ***