[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#880548: gdc (GCC 8) frontend fails to build on hurd-i386



On 2 November 2017 at 04:26, Matthias Klose <doko@debian.org> wrote:
> Package: src:gcc-8
> X-Debbugs-CC: debian-hurd@lists.debian.org
>
> https://buildd.debian.org/status/fetch.php?pkg=gcc-8&arch=hurd-i386&ver=8-20171102-1&stamp=1509591656&raw=0
>
> /<<PKGBUILDDIR>>/build/./prev-gcc/xg++ -B/<<PKGBUILDDIR>>/build/./prev-gcc/
> -B/usr/i686-gnu/bin/ -nostdinc++
> -B/<<PKGBUILDDIR>>/build/prev-i686-gnu/libstdc++-v3/src/.libs
> -B/<<PKGBUILDDIR>>/build/prev-i686-gnu/libstdc++-v3/libsupc++/.libs
> -I/<<PKGBUILDDIR>>/build/prev-i686-gnu/libstdc++-v3/include/i686-gnu
> -I/<<PKGBUILDDIR>>/build/prev-i686-gnu/libstdc++-v3/include
> -I/<<PKGBUILDDIR>>/src/libstdc++-v3/libsupc++
> -L/<<PKGBUILDDIR>>/build/prev-i686-gnu/libstdc++-v3/src/.libs
> -L/<<PKGBUILDDIR>>/build/prev-i686-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE -c
> -DIN_GCC_FRONTEND -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   -DHAVE_CONFIG_H -I. -I.
> -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include
> -I../../src/gcc/../libcpp/include  -I../../src/gcc/../libdecnumber
> -I../../src/gcc/../libdecnumber/bid -I../libdecnumber
> -I../../src/gcc/../libbacktrace   -o glibc-d.o -MT glibc-d.o -MMD -MP -MF
> ./.deps/glibc-d.TPo ../../src/gcc/config/glibc-d.c
> ../../src/gcc/config/glibc-d.c: In function 'void glibc_d_os_builtins()':
> ../../src/gcc/config/glibc-d.c:32:7: error: 'OPTION_GLIBC' was not declared in
> this scope
>    if (OPTION_GLIBC)
>        ^~~~~~~~~~~~
> ../../src/gcc/config/glibc-d.c:32:7: note: suggested alternative: 'LIBC_GLIBC'
>    if (OPTION_GLIBC)
>        ^~~~~~~~~~~~
>        LIBC_GLIBC
> ../../src/gcc/config/glibc-d.c:34:12: error: 'OPTION_UCLIBC' was not declared in
> this scope
>    else if (OPTION_UCLIBC)
>             ^~~~~~~~~~~~~
> ../../src/gcc/config/glibc-d.c:34:12: note: suggested alternative: 'OPTION_MUSL'
>    else if (OPTION_UCLIBC)
>             ^~~~~~~~~~~~~
>             OPTION_MUSL
> ../../src/gcc/config/glibc-d.c:36:12: error: 'OPTION_BIONIC' was not declared in
> this scope
>    else if (OPTION_BIONIC)
>             ^~~~~~~~~~~~~
> ../../src/gcc/config/glibc-d.c:36:12: note: suggested alternative: 'LIBC_BIONIC'
>    else if (OPTION_BIONIC)
>             ^~~~~~~~~~~~~
>             LIBC_BIONIC
> ../../src/gcc/config/t-glibc:24: recipe for target 'glibc-d.o' failed
> make[5]: *** [glibc-d.o] Error 1
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/gcc'
> Makefile:4706: recipe for target 'all-stage2-gcc' failed
> make[4]: *** [all-stage2-gcc] Error 2
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
> Makefile:23374: recipe for target 'stage2-bubble' failed
> make[3]: *** [stage2-bubble] Error 2
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
> Makefile:23577: recipe for target 'bootstrap' failed
> make[2]: *** [bootstrap] Error 2
>

Looks like I'm going to have to move those block of conditions to
headers for the benefit of kopensolaris and kfreebsd also.

Upstream patch to patches is here:
https://github.com/D-Programming-GDC/GDC/pull/563

Regards
Iain.


Reply to: