Opened 13 years ago
Closed 13 years ago
#8470 closed bug (fixed)
gcc cross compiler broken under x86_64 (btrev43030)
Reported by: | kallisti5 | Owned by: | bonefish |
---|---|---|---|
Priority: | high | Milestone: | Unscheduled |
Component: | Build System | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
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.
Change History (7)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 13 years ago
verified same issue with:
./configure --build-cross-tools-gcc4 x86 ../buildtools/
comment:3 by , 13 years ago
Milestone: | R1/alpha4 → Unscheduled |
---|---|
Priority: | blocker → high |
aah.
We were discussing this in irc and decided it may be due to my bleeding edge ArchLinux desktop.
kallisti5@eris buildtools :) $ 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-20120324/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 20120324 (GCC)
Bumping priority down because it seems more likely an issue with new GCC versions vs due to a recent commit.
comment:5 by , 13 years ago
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52986 was opened with gcc to note this issue.
comment:7 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Since the fix was so simple, I cherry-picked it in btrev43031.
Resolved. Next gcc version we update to should already include it.
Note:
See TracTickets
for help on using tickets.
command used: