Subject: toolchain/25592: toolchain gcc fails to build on Linux
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <rumi@rtfm.hu>
List: netbsd-bugs
Date: 05/16/2004 09:34:05
>Number:         25592
>Category:       toolchain
>Synopsis:       toolchain gcc fails to build on Linux
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 16 09:35:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rumi Szabolcs
>Release:        -current
>Organization:
>Environment:
Linux scrapyard 2.4.22-bk48-la1-xfs #1 SMP Mon Nov 10 09:19:28 CET 2003 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GenuineIntel GNU/Linux
>Description:
./build.sh -U -T /home/rumi/src/netbsd/tools -D /home/rumi/src/netbsd/build -R /home/rumi/src/netbsd/release -m alpha tools

[...]

dependall ===> gcc
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /export/home/rumi/src/netbsd/src/tools/gcc/obj/build using "mt-frag"
Configuring libiberty...

[...]

Configuring gcc...

[...]

configure: error:
The following requested languages were not found: c++ objc f77
The following languages were available: c
Configure in /export/home/rumi/src/netbsd/src/tools/gcc/obj/build/gcc failed, exiting.

*** Failed target:  .configure_done
*** Failed command: (cd build && CC=cc CFLAGS=-O CPPFLAGS= CXX=c++ CXXFLAGS=-O INSTALL=/home/rumi/src/netbsd/tools/bin/nbinstall\ -c\ \ -r LDFLAGS= LEX=/home/rumi/src/netbsd/tools/bin/nblex PATH="/home/rumi/src/netbsd/tools/bin:$PATH" YACC=/home/rumi/src/netbsd/tools/bin/nbyacc sh /export/home/rumi/src/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --target=alpha--netbsd --disable-nls --enable-long-long --disable-multilib --enable-threads --program-transform-name="s,^,alpha--netbsd-," --enable-languages="c c++ objc f77" --prefix=/home/rumi/src/netbsd/tools)
*** Error code 1

Stop.
nbmake: stopped in /export/home/rumi/src/netbsd/src/tools/gcc

>How-To-Repeat:
Do what I did above on a Linux/i386 box.

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: