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



The following reply was made to PR pkg/52951; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/52951: lang/gcc7 fails to compile on NetBSD 8 on earmv7hf
Date: Mon, 12 Mar 2018 00:20:37 +0000

 This didn't make it to gnats either.
 
    ------
 
 From: John Klos <john%ziaspace.com@localhost>
 To: maya%netbsd.org@localhost
 cc: gnats-admin%netbsd.org@localhost
 Subject: Re: pkg/52951: lang/gcc7 fails to compile on NetBSD 8 on earmv7hf
 Date: Sat, 27 Jan 2018 20:32:40 +0000 (UTC)
 
 > i'm using the following diff against trunk for cross building
 > I didn't get all the way to building but it got pretty far.
 > 
 > wonder how that does on a native build
 
 With the patches applied:
 
 NetBSD 8, powerpc (Ubuntu 16.04 on ppc64le works, though):
 
 checking for powerpc--netbsd-gcc...
 /usr/pkgsrc/lang/gcc7/work/build/./gcc/xgcc
 -B/usr/pkgsrc/lang/gcc7/work/build/./gcc/
 -B/usr/local/gcc7/powerpc--netbsd/bin/ -B/usr/local/gcc7/powerpc--netbsd/lib/
 -isystem /usr/local/gcc7/powerpc--netbsd/include -isystem
 /usr/local/gcc7/powerpc--netbsd/sys-include
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... configure: error: in
 `/usr/pkgsrc/lang/gcc7/work/build/powerpc--netbsd/libgcc':
 configure: error: cannot run C compiled programs.
 If you meant to cross compile, use `--host'.
 See `config.log' for more details.
 Makefile:19840: recipe for target 'configure-stage1-target-libgcc' failed
 
 
 NetBSD 8, alpha:
 
 checking for alpha--netbsd-gcc... /usr/pkgsrc/lang/gcc7/work/build/./gcc/xgcc
 -B/usr/pkgsrc/lang/gcc7/work/build/./gcc/ -B/usr/local/gcc7/alpha--netbsd/bin/
 -B/usr/local/gcc7/alpha--netbsd/lib/ -isystem
 /usr/local/gcc7/alpha--netbsd/include -isystem
 /usr/local/gcc7/alpha--netbsd/sys-include
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... configure: error: in
 `/usr/pkgsrc/lang/gcc7/work/build/alpha--netbsd/libgcc':
 configure: error: cannot run C compiled programs.
 
 
 NetBSD 8, earmv7hfeb:
 
 checking for armv7eb--netbsdelf-eabihf-gcc...
 /usr/pkgsrc/lang/gcc7/work/build/./gcc/xgcc
 -B/usr/pkgsrc/lang/gcc7/work/build/./gcc/
 -B/usr/local/gcc7/armv7eb--netbsdelf-eabihf/bin/
 -B/usr/local/gcc7/armv7eb--netbsdelf-eabihf/lib/ -isystem
 /usr/local/gcc7/armv7eb--netbsdelf-eabihf/include -isystem
 /usr/local/gcc7/armv7eb--netbsdelf-eabihf/sys-include
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... configure: error: in
 `/usr/pkgsrc/lang/gcc7/work/build/armv7eb--netbsdelf-eabihf/libgcc':
 configure: error: cannot run C compiled programs.
 If you meant to cross compile, use `--host'.
 See `config.log' for more details.
 Makefile:19840: recipe for target 'configure-stage1-target-libgcc' failed
 
 
 NetBSD 8, earmv7hf:
 
 In file included from /usr/include/arm/int_types.h:36:0,
                  from /usr/include/arm/ansi.h:39,
                  from
 /usr/pkgsrc/lang/gcc7/work/build/gcc/include/stddef.h:52,
                  from ../../../gcc-7.3.0/libgcc/../gcc/tsystem.h:44,
                  from ../../../gcc-7.3.0/libgcc/libgcc2.c:27:
 /usr/include/sys/common_int_types.h:45:9: error: unknown type name
 '__INT8_TYPE__'
  typedef __INT8_TYPE__     __int8_t;
          ^~~~~~~~~~~~~
 
 
 NetBSD 8 on mips64eb is still running. sparc64 has been running for a couple
 of days (500 MHz), so that seems fine.
 


Home | Main Index | Thread Index | Old Index