From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13678 invoked by alias); 13 Oct 2003 13:14:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 13671 invoked by uid 48); 13 Oct 2003 13:14:14 -0000 Date: Mon, 13 Oct 2003 13:14:00 -0000 From: "ppohja at iki dot fi" To: gcc-bugs@gcc.gnu.org Message-ID: <20031013131412.12596.ppohja@iki.fi> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/12596] New: configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir X-Bugzilla-Reason: CC X-SW-Source: 2003-10/txt/msg00857.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12596 Summary: configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir Product: gcc Version: 3.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ppohja at iki dot fi CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i386-unknown-freebsd4.8 GCC host triplet: i386-unknown-freebsd4.8 GCC target triplet: i386-unknown-freebsd4.8 Telling the configure to use some dir for finding libiconv libraries and headers doesn't get passed to the gcc-subdir. This causes the HAVE_ICONV flag to be set there, but the compilation doesn't find the needed headers (see the attached error message). Manually adding the wanted directory (/usr/local/include) to the INCLUDES in gcc/Makefile allows the compilation to be continued. The compilation fails as follows: --- clip --- gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- prototypes -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -I. -I. - I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../intl \ -DGCC_INCLUDE_DIR=\"/home/ppohja/gcc/lib/gcc/i386-unknown- freebsd4.8/3.4/include\" - DGPLUSPLUS_INCLUDE_DIR=\"/home/ppohja/gcc/lib/gcc/i386-unknown- freebsd4.8/3.4/../../../..`echo /home/ppohja/gcc | sed - e 's|^/home/ppohja/gcc||' -e 's|/[^/]*|/..|g'`/include/c++/3.4\" - DGPLUSPLUS_TOOL_INCLUDE_DIR=\"/home/ppohja/gcc/lib/gcc/i386-unknown- freebsd4.8/3.4/../../../..`echo /home/ppohja/gcc | sed - e 's|^/home/ppohja/gcc||' -e 's|/[^/]*|/..|g'`/include/c++/3.4/i386-unknown- freebsd4.8\" -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"/home/ppohja/gcc/lib/gcc/i386- unknown-freebsd4.8/3.4/../../../..`echo /home/ppohja/gcc | sed - e 's|^/home/ppohja/gcc||' -e 's|/[^/]*|/..|g'`/include/c++/3.4/backward\" - DLOCAL_INCLUDE_DIR=\"/usr/local/include\" - DCROSS_INCLUDE_DIR=\"/home/ppohja/gcc/lib/gcc/i386-unknown- freebsd4.8/3.4/../../../../i386-unknown-freebsd4.8/sys-include\" - DTOOL_INCLUDE_DIR=\"/home/ppohja/gcc/lib/gcc/i386-unknown- freebsd4.8/3.4/../../../../i386-unknown-freebsd4.8/include\" \ -c ../../gcc/gcc/cppdefault.c -o cppdefault.o gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- prototypes -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -I. -I. - I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include - I../intl ../../gcc/gcc/c-ppoutput.c -o c-ppoutput.o In file included from ../../gcc/gcc/c-ppoutput.c:25: ../../gcc/gcc/cpphash.h:29: iconv.h: No such file or directory gmake[2]: *** [c-ppoutput.o] Error 1 gmake[2]: Leaving directory `/usr/home/ppohja/compile/objdir/gcc' gmake[1]: *** [stage1_build] Error 2 gmake[1]: Leaving directory `/usr/home/ppohja/compile/objdir/gcc' gmake: *** [bootstrap] Error 2 gmake bootstrap 0.44s user 0.48s system 107% cpu 0.847 total