Hi I really have problems with bison... First time I used gcc-2.95 and bison made segment violations... Now, I'm in a system with gcc-3.1, and bison go on making segment violations... This is and extract of emerging Xaw3d ------------- + rm -f ViewportP.h + ln -s ../../../.././ViewportP.h . + rm -f XawImP.h + ln -s ../../../.././XawImP.h . + rm -f XawInit.h + ln -s ../../../.././XawInit.h . bison --yacc -d laygram.y make: *** [laygram.c] Violaci
Hi I really have problems with bison... First time I used gcc-2.95 and bison made segment violations... Now, I'm in a system with gcc-3.1, and bison go on making segment violations... This is and extract of emerging Xaw3d ------------- + rm -f ViewportP.h + ln -s ../../../.././ViewportP.h . + rm -f XawImP.h + ln -s ../../../.././XawImP.h . + rm -f XawInit.h + ln -s ../../../.././XawInit.h . bison --yacc -d laygram.y make: *** [laygram.c] Violación de segmento !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 8, Exitcode 2 !!! (no error message) -------- [ Violacion de segmento = Segment Violation. ] I didn't put the bugs before cause I though that it was a mistake by me, but know... I have reinstalled gentoo completely and I find the same problem. With very old versions of bison I could solve temporaly the situation... but, when making emerge -u world, X| ... Some programs, can be compile with Yacc, but others no... I really don't know nothing about bison, so I can't see more. Nevertheless I would help gracefully if you can show me a way to do it :] ( making test or something ) Thx in advance, Slt!
in other comp, with default FLAGS for i686 -------------- make[5]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/freetype2/freetype/internal' make[4]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/freetype2/freetype' make[3]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/freetype2' depending in lib/Xft... make[3]: Cambiando a directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/Xft' flex -l xftlex.l sed 's/yy/XftConfig/g' lex.yy.c | sed 's/__REALLY_YY__/yy/' > xftlex.c && rm -f lex.yy.c bison -y -d xftgram.y xftgram.y:168: warning: previous rule lacks an ending `;' make[3]: *** [xftgram.c] Violaci
in other comp, with default FLAGS for i686 -------------- make[5]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/freetype2/freetype/internal' make[4]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/freetype2/freetype' make[3]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/freetype2' depending in lib/Xft... make[3]: Cambiando a directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/Xft' flex -l xftlex.l sed 's/yy/XftConfig/g' lex.yy.c | sed 's/__REALLY_YY__/yy/' > xftlex.c && rm -f lex.yy.c bison -y -d xftgram.y xftgram.y:168: warning: previous rule lacks an ending `;' make[3]: *** [xftgram.c] Violación de segmento make[3]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib/Xft' make[2]: *** [depend] Error 2 make[2]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc/lib' make[1]: *** [depend] Error 2 make[1]: Saliendo directorio `/var/tmp/portage/xfree-4.2.0-r12/work/xc' make: *** [World] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 13, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/x11-base/xfree/xfree-4.2.0-r12.ebuild . main:/# emerge unmerge bison ----------
I have found this googling. ---- http://www.geocrawler.com/mail/msg.php3?msg_id=6015471&list=350 ---- "Are you using any of the Flex %array or -l options? -- If so, see the manual, section 0.8. Even though the default is #define YYLMAX 8192" Well.. When should I define this? Thx
Anyway... bison-1.35 is out, just cp bison-1.34-r1.ebuild bison-1.35.ebuild. It compiles... I haven't tested it... Slt
make[2]: Saliendo directorio `/var/tmp/portage/winex-20020511/work/wine/tools/wmc' cd `dirname wrc/__depend__` && make depend make[2]: Cambiando a directorio `/var/tmp/portage/winex-20020511/work/wine/tools/wrc' bison -y -bppy -ppp -d -t ./ppy.y make[2]: *** [ppy.tab.c] Violaci
make[2]: Saliendo directorio `/var/tmp/portage/winex-20020511/work/wine/tools/wmc' cd `dirname wrc/__depend__` && make depend make[2]: Cambiando a directorio `/var/tmp/portage/winex-20020511/work/wine/tools/wrc' bison -y -bppy -ppp -d -t ./ppy.y make[2]: *** [ppy.tab.c] Violación de segmento make[2]: Saliendo directorio `/var/tmp/portage/winex-20020511/work/wine/tools/wrc' make[1]: *** [wrc/__depend__] Error 2 make[1]: Saliendo directorio `/var/tmp/portage/winex-20020511/work/wine/tools' make: *** [tools/__depend__] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 45, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/app-emulation/winex/winex-20020511.ebuild
I have the same problems, but only when LANG=es_ES (haven't tested other locales). If I uset LANG or LANG=en_US, it works without problems. I think this is a mayor bug (don't know if it's gentoo specifig), as many people have localized settings. I have currently bison 1.34-r1 It fails (for example) compiling lm_sensors.
this issue is fixed in bison-1.35 (it was an upstream one). so, everyone affected by this, please test that.