Opened 12 years ago

Closed 12 years ago

#8179 closed bug (invalid)

A cross platform configuring of the gcc2 cross build tools failed after introduction of git

Reported by: Karvjorm Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/alpha3
Keywords: cross-tools-build Cc: Karvjorm
Blocked By: Blocking:
Platform: x86

Description

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

Change History (1)

comment:1 by mmadia, 12 years ago

Resolution: invalid
Status: newclosed

This looks to be the issue that was solved in hrev43274 and hrev43273

Please re-open, if you are trying to build hrev43274 or newer. Also, having the terminal output in English would help.

Note: See TracTickets for help on using tickets.