pkgsrc-Bugs archive

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

Re: pkg/52951 (lang/gcc7 fails to compile on NetBSD 8 on earmv7hf)



On Sat, 3 Feb 2018, maya%NetBSD.org@localhost wrote:

Date: Sat,  3 Feb 2018 06:18:49 +0000 (UTC)
From: maya%NetBSD.org@localhost
Reply-To: gnats-bugs%NetBSD.org@localhost
To: maya%NetBSD.org@localhost, pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    maya%NetBSD.org@localhost, john%ziaspace.com@localhost
Subject: Re: pkg/52951 (lang/gcc7 fails to compile on NetBSD 8 on earmv7hf)

Synopsis: lang/gcc7 fails to compile on NetBSD 8 on earmv7hf

State-Changed-From-To: open->feedback
State-Changed-By: maya%NetBSD.org@localhost
State-Changed-When: Sat, 03 Feb 2018 06:18:49 +0000
State-Changed-Why:
Please try the attached patch.

Only got as far as this:

c++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../gcc-7.3.0/gcc -I../../gcc-7.3.0/gcc/c-family -I../../gcc-7.3.0/gcc/../include -I./../intl -I../../gcc-7.3.0/gcc/../libcpp/include -I/usr/pkgsrc/lang/gcc7/work/build/./gmp -I/usr/pkgsrc/lang/gcc7/work/gcc-7.3.0/gmp -I/usr/pkgsrc/lang/gcc7/work/build/./mpfr/src -I/usr/pkgsrc/lang/gcc7/work/gcc-7.3.0/mpfr/src -I/usr/pkgsrc/lang/gcc7/work/gcc-7.3.0/mpc/src -I../../gcc-7.3.0/gcc/../libdecnumber -I../../gcc-7.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-7.3.0/gcc/../libbacktrace -I/usr/pkgsrc/lang/gcc7/work/build/./isl/include -I/usr/pkgsrc/lang/gcc7/work/gcc-7.3.0/isl/include -I/usr/include -o c-family/c-cppbuiltin.o -MT c-family/c-cppbuiltin.o -MMD -MP -MF c-family/.deps/c-cppbuiltin.TPo ../../gcc-7.3.0/gcc/c-family/c-cppbuiltin.c
In file included from ./tm.h:30:0,
                 from ../../gcc-7.3.0/gcc/target.h:52,
                 from ../../gcc-7.3.0/gcc/c-family/c-cppbuiltin.c:23:
../../gcc-7.3.0/gcc/c-family/c-cppbuiltin.c: In function 'void c_cpp_builtins(cpp_reader*)': ../../gcc-7.3.0/gcc/config/arm/netbsd-eabi.h:59:34: error: 'NETBSD_OS_CPP_BUILTINS_ELF' was not declared in this scope
       NETBSD_OS_CPP_BUILTINS_ELF();  \
                                  ^
../../gcc-7.3.0/gcc/c-family/c-cppbuiltin.c:1410:3: note: in expansion of macro 'TARGET_OS_CPP_BUILTINS'
   TARGET_OS_CPP_BUILTINS ();
   ^
Makefile:1099: recipe for target 'c-family/c-cppbuiltin.o' failed
gmake[3]: *** [c-family/c-cppbuiltin.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....



Home | Main Index | Thread Index | Old Index