Several days ago, i can't compile ghostscript 7.05.5. I try to compile it without optimizations of /etc/make.conf too, but always I get the same error. This is the last log's line ./src/gdevmjc.c:1755: `k7' undeclared (first use in this function) ./src/gdevmjc.c:1755: (Each undeclared identifier is reported only once ./src/gdevmjc.c:1755: for each function it appears in.) ./src/gdevmjc.c:1755: warning: right shift count >= width of type ./src/gdevmjc.c:1757: `k8' undeclared (first use in this function) ./src/gdevmjc.c:1757: warning: right shift count >= width of type ./src/gdevmjc.c:1760: warning: left shift count >= width of type ./src/gdevmjc.c:1760: warning: left shift count >= width of type ./src/gdevmjc.c:1780: warning: right shift count >= width of type ./src/gdevmjc.c:1782: warning: right shift count >= width of type ./src/gdevmjc.c:1784: warning: right shift count >= width of type ./src/gdevmjc.c:1786: warning: right shift count >= width of type ./src/gdevmjc.c:1790: warning: left shift count >= width of type ./src/gdevmjc.c:1790: warning: left shift count >= width of type ./src/gdevmjc.c:1790: warning: left shift count >= width of type ./src/gdevmjc.c:1790: warning: left shift count >= width of type make: *** [obj/gdevmjc.o] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -124, Exitcode 2 !!! make failed THANKS
Hi had the exact same problem. I have a AMD k6-2, gcc-2.95.3-r7. My CFLAGS and CXXFLAGS were "-march=k6 -mcpu=k6 -O3 -pipe". I changed them to "-march=k6 -mcpu=k6 -O3" "-march=k6 -mcpu=k6 -O2" "-march=k6 -mcpu=k6" none of them worked, the only workaround, that I found, was to disable all optimization. Forum topic: http://forums.gentoo.org/viewtopic.php? t=20096&start=0&postdays=0&postorder=asc&highlight=
i cant access that forum posting. is this still an issue? because if it is, maybe the only thing to do is filter the user's cflags for him. or else i'll close..
Maybe it's not an issue anymore, beside the fact that changing the CFLAGS to something that should have meant the samething fixed the problem. Well gcc-2.95 is history... Thanks for listening...