#8179: A cross platform configuring of the gcc2 cross build tools failed after introduction of git -------------------------------+------------------------- Reporter: Karvjorm | Owner: bonefish Type: bug | Status: new Priority: normal | Milestone: R1 Component: Build System | Version: R1/alpha3 Keywords: cross-tools-build | Blocked By: Blocking: | Has a Patch: 0 Platform: x86 | -------------------------------+------------------------- After move to git I tried to setup a cross platform developing environment to my linux machine: {{{ Linux Vectra1 2.6.32-36-generic #79-Ubuntu SMP Tue Nov 8 22:29:26 UTC 2011 i686 GNU/Linux }}} but command {{{ $ ./configure --build-cross-tools ../buildtools }}} failed with the following error message: {{{ rm -f config.run make[1]: Poistutaan hakemistosta "/home/jorma/haiku/haiku/haiku/generated /cross-tools-build/gcc/gcc" make[1]: Siirrytään hakemistoon "/home/jorma/haiku/haiku/haiku/generated /cross-tools-build/gcc/gcc" CONFIG_HEADERS=auto-host.h:config.in LANGUAGES="c++" /bin/sh config.status config.status: creating Makefile config.status: WARNING: '/home/jorma/haiku/haiku/buildtools/legacy/gcc/gcc/Makefile.in' seems to ignore the --datarootdir setting config.status: creating intl/Makefile config.status: WARNING: '/home/jorma/haiku/haiku/buildtools/legacy/gcc/gcc/intl/Makefile.in' seems to ignore the --datarootdir setting config.status: creating po/Makefile.in config.status: creating fixinc/Makefile config.status: creating cp/Makefile config.status: creating auto-host.h config.status: auto-host.h is unchanged config.status: linking /home/jorma/haiku/haiku/buildtools/legacy/gcc/gcc/intl/libgettext.h to intl/libintl.h config.status: executing default-1 commands config.status: executing default commands creating libintl.h cd cp && make /home/jorma/haiku/haiku/buildtools/legacy/gcc/gcc/cp/parse.c make[2]: Siirrytään hakemistoon "/home/jorma/haiku/haiku/haiku/generated /cross-tools-build/gcc/gcc/cp" expect 30 shift/reduce conflicts and 42 reduce/reduce conflicts. cd /home/jorma/haiku/haiku/buildtools/legacy/gcc/gcc/cp; bison -d -o parse.c parse.y parse.y:656.19-20: $$ midrule-lohkolle osoitteessa $4/”constructor_declarator” ei ole esiteltyä tyyppiä parse.y:664.19-20: $$ midrule-lohkolle osoitteessa $5/”constructor_declarator” ei ole esiteltyä tyyppiä parse.y:672.19-20: $$ midrule-lohkolle osoitteessa $4/”constructor_declarator” ei ole esiteltyä tyyppiä parse.y:680.19-20: $$ midrule-lohkolle osoitteessa $5/”constructor_declarator” ei ole esiteltyä tyyppiä make[2]: *** [/home/jorma/haiku/haiku/buildtools/legacy/gcc/gcc/cp/parse.c] Virhe 1 make[2]: Poistutaan hakemistosta "/home/jorma/haiku/haiku/haiku/generated /cross-tools-build/gcc/gcc/cp" make[1]: *** [/home/jorma/haiku/haiku/buildtools/legacy/gcc/gcc/cp/parse.c] Virhe 2 make[1]: Poistutaan hakemistosta "/home/jorma/haiku/haiku/haiku/generated /cross-tools-build/gcc/gcc" make: *** [cross] Virhe 2 ERROR: Building gcc failed. jorma@Vectra1:~/haiku/haiku/haiku }}} But when I tried to configure gcc4, it was successful. Br, Karvjorm -- Ticket URL: <http://dev.haiku-os.org/ticket/8179> Haiku <http://dev.haiku-os.org> Haiku - the operating system.