NetBSD-Bugs archive

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

Re: toolchain/53088: tools/libctf fails to build on systems without machine/int_limits.h



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

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/53088: tools/libctf fails to build on systems without
 machine/int_limits.h
Date: Sun, 11 Mar 2018 15:49:05 +0300

 On Sun, Mar 11, 2018 at 10:00:00 +0000, hans%netbsd.org@localhost wrote:
 
 > > How-To-Repeat:
 >
 > Try a build of -8 or current on any system that doesn't have
 > machine/int_limits.h, like illumos.
 
 I've just built a very current current amd64 on a linux host withotu
 any issues.
 
 
 > In file included from /usr/include/sys/inttypes.h:43:0,
 >                  from /export/ws/netbsd/8/src/tools/libctf/../../external/cddl/osnet/sys/sys/int_types.h:32,
 >                  from /usr/include/sys/stdint.h:36,
 >                  from /usr/include/stdint.h:36,
 >                  from /usr/gcc/6/lib/gcc/i386-pc-solaris2.11/6.4.0/include/stdint.h:9,
 >                  from /export/ws/netbsd/8/src/tools/libctf/../../external/cddl/osnet/sys/sys/types.h:67,
 >                  from /export/ws/netbsd/8/src/tools/libctf/../compat/compat_defs.h:35,
 >                  from /export/ws/netbsd/8/src/../tooldir.SunOS-5.11-i86pc/include/compat/nbtool_config.h:871,
 >                  from /export/ws/netbsd/8/src/tools/libctf/../../external/cddl/osnet/dist/lib/libctf/common/ctf_lib.c:30:
 > /export/ws/netbsd/8/src/tools/libctf/../../external/cddl/osnet/sys/sys/int_limits.h:32:32: fatal error: machine/int_limits.h: No such file or directory
 
 I guess the problem is not hosts without machine/int_limits.h, but
 specifically solaris hosts.  We have some solaris headers imported for
 dtrace and that's probably what wreaks havoc here because solaris host
 headers that the tools include end up including our own, modified,
 copies of solaris headers from external/cddl/osnet/dist
 
 -uwe
 


Home | Main Index | Thread Index | Old Index