https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72844

--- Comment #1 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Mon, Aug 08, 2016 at 06:30:17PM +0000, kargl at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72844
> 
>             Bug ID: 72844
>            Summary: Revision 293175 breaks gcc on FreeBSD
>            Product: gcc
>            Version: 7.0
>             Status: UNCONFIRMED
>           Severity: blocker
>           Priority: P3
>          Component: bootstrap
>           Assignee: unassigned at gcc dot gnu.org
>           Reporter: kargl at gcc dot gnu.org
>   Target Milestone: ---
> 
> % cd gcc7
> % svn update
> % cd ../obj7
> % ../gcc7/configure  --prefix=$HOME/work/7 --with-isl=/usr/local \
> --enable-languages=c,fortran,c++ --disable-libmudflap --disable-nls
> % gmake bootstrap
> 
> ../../gcc7/gcc/input.c: In function 'void
> selftest::test_lexer_string_locations_ebcdic(const
> selftest::line_table_case&)':
> ../../gcc7/gcc/input.c:2137:8: error: 'HAVE_ICONV' was not declared in this
> scope
>    if (!HAVE_ICONV)
>         ^~~~~~~~~~
> ../../gcc7/gcc/input.c:2137:8: note: suggested alternative: 'HAVE_ICONV_H'
>    if (!HAVE_ICONV)
>         ^~~~~~~~~~
>         HAVE_ICONV_H
> 

The obvious patch (as inferred from the suggested alternative)
does not work.

/mnt/sgk/gcc/obj7/./prev-gcc/xg++ -B/mnt/sgk/gcc/obj7/./prev-gcc/
-B/mnt/sgk/work/7/x86_64-unknown-freebsd12.0/bin/ -nostdinc++
-B/mnt/sgk/gcc/obj7/prev-x86_64-unknown-freebsd12.0/libstdc++-v3/src/.libs
-B/mnt/sgk/gcc/obj7/prev-x86_64-unknown-freebsd12.0/libstdc++-v3/libsupc++/.libs

-I/mnt/sgk/gcc/obj7/prev-x86_64-unknown-freebsd12.0/libstdc++-v3/include/x86_64-unknown-freebsd12.0
 -I/mnt/sgk/gcc/obj7/prev-x86_64-unknown-freebsd12.0/libstdc++-v3/include 
-I/mnt/sgk/gcc/gcc7/libstdc++-v3/libsupc++
-L/mnt/sgk/gcc/obj7/prev-x86_64-unknown-freebsd12.0/libstdc++-v3/src/.libs
-L/mnt/sgk/gcc/obj7/prev-x86_64-unknown-freebsd12.0/libstdc++-v3/libsupc++/.libs
-no-pie   -g -O2 -gtoggle -DIN_GCC     -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
 -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o lto1 \
        lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o lto/lto-partition.o
lto/lto-symtab.o libbackend.a main.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a -L/usr/local/lib -lisl
-L/usr/local/lib -lmpc -lmpfr -lgmp -rdynamic  -L./../zlib -lz libcommon.a
../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
/mnt/sgk/gcc/obj7/./gcc/xgcc -B/mnt/sgk/gcc/obj7/./gcc/ -xc -S -c /dev/null
-fself-test
cc1: internal compiler error: in on_error, at input.c:1894
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to