This is my first try at LFS and I ran into a problem when trying to
make gcc-4.6.2 Pass 1.  The error message was:

gtype-desc.c:8893:18: error: subscripted value is neither array nor
pointer nor vector
gtype-desc.c:9012:36: error: subscripted value is neither array nor
pointer nor vector
gtype-desc.c:9096:31: error: subscripted value is neither array nor
pointer nor vector
gtype-desc.c:9117:31: error: subscripted value is neither array nor
pointer nor vector
gtype-desc.c:9124:31: error: subscripted value is neither array nor
pointer nor vector
gtype-desc.c:9131:31: error: subscripted value is neither array nor
pointer nor vector
make[2]: *** [gtype-desc.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2

I am building on an Arch Linux host system which is running the latest
versions of each installed package, including gcc-4.7.1-4.  A Google
search showed that this is a known issue and the solution requires
making a simple change [1] to /gcc-4.6.2/gcc/gengtype.c after
extracting the package.

As I couldn't find any similar posting on this list I am posting this
in case it can help others.  Thanks for a great project and a
fantastic learning experience.

Harry

[1] 
http://gcc.gnu.org/viewcvs/branches/gcc-4_6-branch/gcc/gengtype.c?r1=184239&r2=184238&pathrev=184239&diff_format=h
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to