This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/12596] New: configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]