NetBSD Problem Report #46438
From uebayasi@tombi.co.jp Thu May 10 06:50:17 2012
Return-Path: <uebayasi@tombi.co.jp>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id CF2C463B91F
for <gnats-bugs@gnats.NetBSD.org>; Thu, 10 May 2012 06:50:16 +0000 (UTC)
Message-Id: <20120510065034.6EBCB13E939@sidebeach.tombi.co.jp>
Date: Thu, 10 May 2012 15:50:34 +0900 (JST)
From: uebayasi@tombi.co.jp
Reply-To: uebayasi@tombi.co.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: Can't build NetBSD netbsd-6/amd64 on Linux/x86_64
X-Send-Pr-Version: 3.95
>Number: 46438
>Category: toolchain
>Synopsis: Can't build NetBSD netbsd-6/amd64 on Linux/x86_64
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 10 06:55:00 +0000 2012
>Last-Modified: Thu May 17 00:00:04 +0000 2012
>Originator: Masao Uebayashi
>Release: NetBSD 5.99.* and NetBSD 6.99.*
>Organization:
Tombi Inc.
>Environment:
CentOS 6.2 (x86_64)
gcc -v output:
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
>Description:
Building NetBSD netbsd-6/amd64 on Linux/x86_64 fails in tools/gcc.
NetBSD netbsd-5/amd64 builds OK.
NetBSD netbsd-6/i386 builds OK.
>How-To-Repeat:
ssh $linux
cd $netbsd_src_dir
sh build.sh -m amd64 tools
>Fix:
N/A
>Audit-Trail:
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: toolchain-manager@NetBSD.org, gnats-admin@NetBSD.org,
netbsd-bugs@NetBSD.org
Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on
Linux/x86_64
Date: Thu, 10 May 2012 18:37:21 +0200
On Thu, May 10, 2012 at 06:55:00AM +0000, uebayasi@tombi.co.jp wrote:
> >Environment:
> CentOS 6.2 (x86_64)
> gcc -v output:
> Using built-in specs.
> Target: x86_64-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
> Thread model: posix
> gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
> >Description:
> Building NetBSD netbsd-6/amd64 on Linux/x86_64 fails in tools/gcc.
> NetBSD netbsd-5/amd64 builds OK.
> NetBSD netbsd-6/i386 builds OK.
Can you give details about the error ? I tested on a Scientific Linux 6.2
(which should be close to CentOS 6.2, and I checked that the compiler is
the same) and didnt' have problems building tools.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on Linux/x86_64
Date: Thu, 10 May 2012 20:42:17 +0100
On Thu, May 10, 2012 at 06:55:00AM +0000, uebayasi@tombi.co.jp wrote:
> >Number: 46438
> >Category: toolchain
> >Synopsis: Can't build NetBSD netbsd-6/amd64 on Linux/x86_64
...
> Using built-in specs.
> Target: x86_64-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
> Thread model: posix
> gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
> >Description:
> Building NetBSD netbsd-6/amd64 on Linux/x86_64 fails in tools/gcc.
> NetBSD netbsd-5/amd64 builds OK.
> NetBSD netbsd-6/i386 builds OK.
You haven't given the error :-)
I had to make the change below to make it work.
RCS file: /cvsroot/src/tools/gcc/Makefile,v
retrieving revision 1.50
diff -u -p -r1.50 Makefile
--- gcc/Makefile 10 Jan 2012 12:27:54 -0000 1.50
+++ gcc/Makefile 10 May 2012 19:46:34 -0000
@@ -28,6 +28,7 @@ MULTILIB_ARGS= --enable-multilib
.else
MULTILIB_ARGS= --disable-multilib
.endif
+MULTILIB_ARGS= --disable-multilib
.if ${MKSOFTFLOAT} != "no"
SOFTFLOAT_ARGS= -with-float=soft
Basically that stops it trying to build some i386 versions of
some libraries.
But I didn't look into why it was there etc.
David
--
David Laight: david@l8s.co.uk
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: toolchain-manager@NetBSD.org, gnats-admin@NetBSD.org,
netbsd-bugs@NetBSD.org, uebayasi@tombi.co.jp
Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on
Linux/x86_64
Date: Fri, 11 May 2012 15:40:28 +0200
On Thu, May 10, 2012 at 07:50:07PM +0000, David Laight wrote:
> The following reply was made to PR toolchain/46438; it has been noted by GNATS.
>
> From: David Laight <david@l8s.co.uk>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on Linux/x86_64
> Date: Thu, 10 May 2012 20:42:17 +0100
>
> On Thu, May 10, 2012 at 06:55:00AM +0000, uebayasi@tombi.co.jp wrote:
> > >Number: 46438
> > >Category: toolchain
> > >Synopsis: Can't build NetBSD netbsd-6/amd64 on Linux/x86_64
> ...
> > Using built-in specs.
> > Target: x86_64-redhat-linux
> > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
> > Thread model: posix
> > gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
> > >Description:
> > Building NetBSD netbsd-6/amd64 on Linux/x86_64 fails in tools/gcc.
> > NetBSD netbsd-5/amd64 builds OK.
> > NetBSD netbsd-6/i386 builds OK.
>
> You haven't given the error :-)
> I had to make the change below to make it work.
>
> RCS file: /cvsroot/src/tools/gcc/Makefile,v
> retrieving revision 1.50
> diff -u -p -r1.50 Makefile
> --- gcc/Makefile 10 Jan 2012 12:27:54 -0000 1.50
> +++ gcc/Makefile 10 May 2012 19:46:34 -0000
> @@ -28,6 +28,7 @@ MULTILIB_ARGS= --enable-multilib
> .else
> MULTILIB_ARGS= --disable-multilib
> .endif
> +MULTILIB_ARGS= --disable-multilib
>
> .if ${MKSOFTFLOAT} != "no"
> SOFTFLOAT_ARGS= -with-float=soft
>
> Basically that stops it trying to build some i386 versions of
> some libraries.
> But I didn't look into why it was there etc.
Hum, could it be that your host is missing some i386 developement rpms ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
From: christos@zoulas.com (Christos Zoulas)
To: Manuel Bouyer <bouyer@antioche.eu.org>, gnats-bugs@NetBSD.org
Cc: toolchain-manager@NetBSD.org, gnats-admin@NetBSD.org,
netbsd-bugs@NetBSD.org, uebayasi@tombi.co.jp
Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on Linux/x86_64
Date: Fri, 11 May 2012 11:40:49 -0400
On May 11, 3:40pm, bouyer@antioche.eu.org (Manuel Bouyer) wrote:
-- Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on Linux/x
| Hum, could it be that your host is missing some i386 developement rpms ?
Yup, this is the problem. Perhaps we should detect this and give a better
error message? I've had this before.
christos
From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on Linux/x86_64
Date: Fri, 11 May 2012 19:30:06 +0100
On Fri, May 11, 2012 at 11:40:49AM -0400, Christos Zoulas wrote:
> On May 11, 3:40pm, bouyer@antioche.eu.org (Manuel Bouyer) wrote:
> -- Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on Linux/x
>
> | Hum, could it be that your host is missing some i386 developement rpms ?
>
> Yup, this is the problem. Perhaps we should detect this and give a better
> error message? I've had this before.
They don't seem to be needed.
Quite likely the only things we compile for i386 are boot code.
That requires nothing apart from the compiler (and binutils) support
for 32bit (and 16bit) code.
IIRC the other possibly affected arch is sparc.
David
--
David Laight: david@l8s.co.uk
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on Linux/x86_64
Date: Fri, 11 May 2012 21:05:44 +0200
On Fri, May 11, 2012 at 06:35:02PM +0000, David Laight wrote:
> Quite likely the only things we compile for i386 are boot code.
> That requires nothing apart from the compiler (and binutils) support
> for 32bit (and 16bit) code.
No, we do compile netbsd32 compat libraries nowadays, so gcc -m32 can
work.
> IIRC the other possibly affected arch is sparc.
And mips.
Martin
From: Masao Uebayashi <uebayasi@gw.tombi.co.jp>
To: gnats-bugs@NetBSD.org
Cc: uebayasi@tombi.co.jp
Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on
Linux/x86_64
Date: Mon, 14 May 2012 17:03:11 +0900
--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
tools/gcc build fails in configuring 32-bit zlib on 64-bit host.
${OBJDIR}/tools/gcc/build/32/zlib/config.log is attached.
--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="config.log"
Content-Transfer-Encoding: quoted-printable
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ /home/uebayasi/src/netbsd/src.HEAD/tools/gcc/../../external/gpl3/gcc/di=
st/zlib/configure --with-multisubdir=3D32 --with-multisrctop=3D --enable-mu=
ltilib --cache-file=3D./config.cache --enable-long-long --enable-threads --=
with-bugurl=3Dhttp://www.NetBSD.org/Misc/send-pr.html --with-pkgversion=3DN=
etBSD nb2 20111202 --enable-__cxa_atexit --with-mpc=3D/home/uebayasi/src/ne=
tbsd/work.HEAD/sparc64/tools --with-mpfr=3D/home/uebayasi/src/netbsd/work.H=
EAD/sparc64/tools --with-gmp=3D/home/uebayasi/src/netbsd/work.HEAD/sparc64/=
tools --disable-nls --enable-multilib --enable-languages=3Dc c++ objc --pre=
fix=3D/home/uebayasi/src/netbsd/work.HEAD/sparc64/tools --enable-languages=
=3Dc,c++,objc --program-transform-name=3Ds,^,sparc64--netbsd-, --disable-op=
tion-checking --build=3Dx86_64-unknown-linux-gnu --host=3Dx86_64-unknown-li=
nux-gnu --target=3Dsparc64--netbsd --srcdir=3D/home/uebayasi/src/netbsd/src=
=2EHEAD/tools/gcc/../../external/gpl3/gcc/dist/zlib build_alias=3Dx86_64-un=
known-linux-gnu host_alias=3Dx86_64-unknown-linux-gnu target_alias=3Dsparc6=
4--netbsd CPPFLAGS=3D-DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTARGET_SYSTE=
M_ROOT_RELOCATABLE CC=3Dcc -m32 CXX=3Dc++ -m32 F77=3D -m32 GCJ=3D -m32 GF=
ORTRAN=3D -m32 LD_LIBRARY_PATH=3D -srcdir=3D/home/uebayasi/src/netbsd/src.H=
EAD/tools/gcc/../../external/gpl3/gcc/dist/zlib
## --------- ##
## Platform. ##
## --------- ##
hostname =3D xxx
uname -m =3D x86_64
uname -r =3D 2.6.32-220.13.1.el6.x86_64
uname -s =3D Linux
uname -v =3D #1 SMP Tue Apr 17 23:56:34 BST 2012
/usr/bin/uname -p =3D unknown
/bin/uname -X =3D unknown
/bin/arch =3D x86_64
/usr/bin/arch -k =3D unknown
/usr/convex/getsysinfo =3D unknown
/usr/bin/hostinfo =3D unknown
/bin/machine =3D unknown
/usr/bin/oslevel =3D unknown
/bin/universe =3D unknown
PATH: /home/uebayasi/src/netbsd/work.HEAD/sparc64/tools/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /home/uebayasi/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /opt/dell/srvadmin/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2103: creating cache ./config.cache
configure:2246: checking build system type
configure:2260: result: x86_64-unknown-linux-gnu
configure:2280: checking host system type
configure:2293: result: x86_64-unknown-linux-gnu
configure:2313: checking target system type
configure:2326: result: sparc64--netbsd
configure:2374: checking for a BSD-compatible install
configure:2442: result: /home/uebayasi/src/netbsd/work.HEAD/sparc64/tools/b=
in/sparc64--netbsd-install -c -p -r
configure:2453: checking whether build environment is sane
configure:2503: result: yes
configure:2552: checking for x86_64-unknown-linux-gnu-strip
configure:2582: result: no
configure:2592: checking for strip
configure:2608: found /usr/bin/strip
configure:2619: result: strip
configure:2644: checking for a thread-safe mkdir -p
configure:2683: result: /bin/mkdir -p
configure:2696: checking for gawk
configure:2723: result: /home/uebayasi/src/netbsd/work.HEAD/sparc64/tools/b=
in/nbawk
configure:2734: checking whether /home/uebayasi/src/netbsd/work.HEAD/sparc6=
4/tools/bin/nbgmake sets $(MAKE)
configure:2756: result: yes
configure:2838: checking whether to enable maintainer-specific portions of =
Makefiles
configure:2847: result: no
configure:2918: checking for x86_64-unknown-linux-gnu-gcc
configure:2945: result: cc -m32
configure:3214: checking for C compiler version
configure:3223: cc -m32 --version >&5
cc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3234: $? =3D 0
configure:3223: cc -m32 -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man --i=
nfodir=3D/usr/share/info --with-bugurl=3Dhttp://bugzilla.redhat.com/bugzill=
a --enable-bootstrap --enable-shared --enable-threads=3Dposix --enable-chec=
king=3Drelease --with-system-zlib --enable-__cxa_atexit --disable-libunwind=
-exceptions --enable-gnu-unique-object --enable-languages=3Dc,c++,objc,obj-=
c++,java,fortran,ada --enable-java-awt=3Dgtk --disable-dssi --with-java-hom=
e=3D/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --ena=
ble-java-maintainer-mode --with-ecj-jar=3D/usr/share/java/eclipse-ecj.jar -=
-disable-libjava-multilib --with-ppl --with-cloog --with-tune=3Dgeneric --w=
ith-arch_32=3Di686 --build=3Dx86_64-redhat-linux
Thread model: posix
gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)=20
configure:3234: $? =3D 0
configure:3223: cc -m32 -V >&5
cc: '-V' must come at the start of the command line
configure:3234: $? =3D 1
configure:3223: cc -m32 -qversion >&5
cc: unrecognized option '-qversion'
cc: no input files
configure:3234: $? =3D 1
configure:3250: cc -m32 -o conftest -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=
=3D0 -DTARGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3253: $? =3D 1
configure:3441: checking for suffix of object files
configure:3463: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
configure:3467: $? =3D 0
configure:3488: result: o
configure:3492: checking whether we are using the GNU C compiler
configure:3511: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
configure:3511: $? =3D 0
configure:3520: result: yes
configure:3529: checking whether cc -m32 accepts -g
configure:3549: cc -m32 -c -g -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
configure:3549: $? =3D 0
configure:3590: result: yes
configure:3607: checking for cc -m32 option to accept ISO C89
configure:3671: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DT=
ARGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:12:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:3671: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s =3D g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|=20
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treat=
ed
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for =
an
| array size at least. It's necessary to write '\x00'=3D=3D0 to get som=
ething
| that's true only with -std. */
| int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1];
|=20
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param=
eters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1];
|=20
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),=
int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1];
| ;
| return 0;
| }
configure:3671: cc -m32 -qlanglvl=3Dextc89 -c -O -DNETBSD_TOOLS -DTARGET_S=
YSTEM_ROOT=3D0 -DTARGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
cc: unrecognized option '-qlanglvl=3Dextc89'
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:12:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:3671: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s =3D g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|=20
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treat=
ed
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for =
an
| array size at least. It's necessary to write '\x00'=3D=3D0 to get som=
ething
| that's true only with -std. */
| int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1];
|=20
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param=
eters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1];
|=20
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),=
int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1];
| ;
| return 0;
| }
configure:3671: cc -m32 -qlanglvl=3Dansi -c -O -DNETBSD_TOOLS -DTARGET_SYS=
TEM_ROOT=3D0 -DTARGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
cc: unrecognized option '-qlanglvl=3Dansi'
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:12:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:3671: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s =3D g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|=20
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treat=
ed
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for =
an
| array size at least. It's necessary to write '\x00'=3D=3D0 to get som=
ething
| that's true only with -std. */
| int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1];
|=20
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param=
eters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1];
|=20
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),=
int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1];
| ;
| return 0;
| }
configure:3671: cc -m32 -std -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0=
-DTARGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
cc1: error: unrecognized command line option "-std"
configure:3671: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s =3D g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|=20
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treat=
ed
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for =
an
| array size at least. It's necessary to write '\x00'=3D=3D0 to get som=
ething
| that's true only with -std. */
| int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1];
|=20
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param=
eters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1];
|=20
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),=
int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1];
| ;
| return 0;
| }
configure:3671: cc -m32 -Ae -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 =
-DTARGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
<command-line>: error: missing '(' after predicate
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:12:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:3671: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s =3D g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|=20
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treat=
ed
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for =
an
| array size at least. It's necessary to write '\x00'=3D=3D0 to get som=
ething
| that's true only with -std. */
| int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1];
|=20
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param=
eters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1];
|=20
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),=
int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1];
| ;
| return 0;
| }
configure:3671: cc -m32 -Aa -D_HPUX_SOURCE -c -O -DNETBSD_TOOLS -DTARGET_S=
YSTEM_ROOT=3D0 -DTARGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
<command-line>: error: missing '(' after predicate
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:12:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:3671: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s =3D g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|=20
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treat=
ed
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for =
an
| array size at least. It's necessary to write '\x00'=3D=3D0 to get som=
ething
| that's true only with -std. */
| int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1];
|=20
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param=
eters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1];
|=20
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),=
int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1];
| ;
| return 0;
| }
configure:3671: cc -m32 -Xc -D__EXTENSIONS__ -c -O -DNETBSD_TOOLS -DTARGET=
_SYSTEM_ROOT=3D0 -DTARGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
cc: unrecognized option '-Xc'
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:12:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:3671: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s =3D g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|=20
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not '\xHH' hex character constants.
| These don't provoke an error unfortunately, instead are silently treat=
ed
| as 'x'. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for =
an
| array size at least. It's necessary to write '\x00'=3D=3D0 to get som=
ething
| that's true only with -std. */
| int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1];
|=20
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param=
eters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1];
|=20
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),=
int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1];
| ;
| return 0;
| }
configure:3687: result: unsupported
configure:3715: checking for style of include used by /home/uebayasi/src/ne=
tbsd/work.HEAD/sparc64/tools/bin/nbgmake
configure:3743: result: GNU
configure:3768: checking dependency style of cc -m32
configure:3878: result: gcc3
configure:3943: checking how to print strings
configure:3970: result: printf
configure:3991: checking for a sed that does not truncate output
configure:4055: result: /bin/sed
configure:4073: checking for grep that handles long lines and -e
configure:4131: result: /bin/grep
configure:4136: checking for egrep
configure:4198: result: /bin/grep -E
configure:4203: checking for fgrep
configure:4265: result: /bin/grep -F
configure:4300: checking for ld used by cc -m32
configure:4367: result: ld -m elf_x86_64
configure:4374: checking if the linker (ld -m elf_x86_64) is GNU ld
configure:4389: result: yes
configure:4401: checking for BSD- or MS-compatible name lister (nm)
configure:4450: result: nm
configure:4580: checking the name lister (nm) interface
configure:4587: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
configure:4590: nm "conftest.o"
configure:4593: output
00000000 B some_variable
configure:4600: result: BSD nm
configure:4603: checking whether ln -s works
configure:4607: result: yes
configure:4615: checking the maximum length of command line arguments
configure:4740: result: 1966080
configure:4757: checking whether the shell understands some XSI constructs
configure:4767: result: yes
configure:4771: checking whether the shell understands "+=3D"
configure:4777: result: yes
configure:4812: checking for ld -m elf_x86_64 option to reload object files
configure:4819: result: -r
configure:4848: checking for x86_64-unknown-linux-gnu-objdump
configure:4875: result: objdump
configure:4947: checking how to recognize dependent libraries
configure:5148: result: pass_all
configure:5168: checking for x86_64-unknown-linux-gnu-ar
configure:5195: result: ar
configure:5273: checking for x86_64-unknown-linux-gnu-strip
configure:5300: result: strip
configure:5372: checking for x86_64-unknown-linux-gnu-ranlib
configure:5399: result: ranlib
configure:5541: checking command to parse nm output from cc -m32 object
configure:5659: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
configure:5662: $? =3D 0
configure:5666: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRS=
TW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:5669: $? =3D 0
configure:5723: cc -m32 -o conftest -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=
=3D0 -DTARGET_SYSTEM_ROOT_RELOCATABLE conftest.c conftstm.o >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:5726: $? =3D 1
configure:5659: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
configure:5662: $? =3D 0
configure:5666: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRS=
TW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' \> conftest.nm
configure:5669: $? =3D 0
cannot run sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A=
-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'
configure:5761: result: failed
configure:5860: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
configure:5863: $? =3D 0
configure:6609: checking how to run the C preprocessor
configure:6640: cc -m32 -E -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTARGE=
T_SYSTEM_ROOT_RELOCATABLE conftest.c
In file included from /usr/include/features.h:385,
from /usr/include/limits.h:27,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include/limits=
=2Eh:122,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include/syslim=
its.h:7,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include/limits=
=2Eh:11,
from conftest.c:12:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6640: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:6640: cc -m32 -E -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTARGE=
T_SYSTEM_ROOT_RELOCATABLE conftest.c
In file included from /usr/include/features.h:385,
from /usr/include/limits.h:27,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include/limits=
=2Eh:122,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include/syslim=
its.h:7,
from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include/limits=
=2Eh:11,
from conftest.c:12:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6640: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:6640: cc -m32 -E -traditional-cpp -DNETBSD_TOOLS -DTARGET_SYSTEM=
_ROOT=3D0 -DTARGET_SYSTEM_ROOT_RELOCATABLE conftest.c
In file included from /usr/include/features.h:362,
from /usr/include/assert.h:38,
from conftest.c:15:
/usr/include/sys/cdefs.h:32: error: #error "You need a ISO C conforming com=
piler to use the glibc headers"
In file included from /usr/include/features.h:386,
from /usr/include/assert.h:38,
from conftest.c:15:
/usr/include/gnu/stubs.h:7: error: gnu/stubs-32.h: No such file or directory
configure:6640: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:6640: cc -m32 -E -traditional-cpp -DNETBSD_TOOLS -DTARGET_SYSTEM=
_ROOT=3D0 -DTARGET_SYSTEM_ROOT_RELOCATABLE conftest.c
In file included from /usr/include/features.h:362,
from /usr/include/assert.h:38,
from conftest.c:15:
/usr/include/sys/cdefs.h:32: error: #error "You need a ISO C conforming com=
piler to use the glibc headers"
In file included from /usr/include/features.h:386,
from /usr/include/assert.h:38,
from conftest.c:15:
/usr/include/gnu/stubs.h:7: error: gnu/stubs-32.h: No such file or directory
configure:6640: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:6640: /lib/cpp -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTARGET_S=
YSTEM_ROOT_RELOCATABLE conftest.c
configure:6640: $? =3D 0
configure:6654: /lib/cpp -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTARGET_S=
YSTEM_ROOT_RELOCATABLE conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:6654: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6679: result: /lib/cpp
configure:6699: /lib/cpp -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTARGET_S=
YSTEM_ROOT_RELOCATABLE conftest.c
configure:6699: $? =3D 0
configure:6713: /lib/cpp -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTARGET_S=
YSTEM_ROOT_RELOCATABLE conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:6713: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6742: checking for ANSI C header files
configure:6762: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
In file included from /usr/include/features.h:385,
from /usr/include/stdlib.h:25,
from conftest.c:11:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6762: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdlib.h>
| #include <stdarg.h>
| #include <string.h>
| #include <float.h>
|=20
| int
| main ()
| {
|=20
| ;
| return 0;
| }
configure:6846: result: no
configure:6859: checking for sys/types.h
configure:6859: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:11:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6859: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|=20
| #include <sys/types.h>
configure:6859: result: no
configure:6859: checking for sys/stat.h
configure:6859: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:11:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6859: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|=20
| #include <sys/stat.h>
configure:6859: result: no
configure:6859: checking for stdlib.h
configure:6859: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:11:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6859: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|=20
| #include <stdlib.h>
configure:6859: result: no
configure:6859: checking for string.h
configure:6859: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:11:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6859: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|=20
| #include <string.h>
configure:6859: result: no
configure:6859: checking for memory.h
configure:6859: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:11:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6859: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|=20
| #include <memory.h>
configure:6859: result: no
configure:6859: checking for strings.h
configure:6859: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:11:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6859: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|=20
| #include <strings.h>
configure:6859: result: no
configure:6859: checking for inttypes.h
configure:6859: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:11:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6859: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|=20
| #include <inttypes.h>
configure:6859: result: no
configure:6859: checking for stdint.h
configure:6859: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:11:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6859: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|=20
| #include <stdint.h>
configure:6859: result: no
configure:6859: checking for unistd.h
configure:6859: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:11:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6859: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|=20
| #include <unistd.h>
configure:6859: result: no
configure:6874: checking for dlfcn.h
configure:6874: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
In file included from /usr/include/features.h:385,
from /usr/include/stdio.h:28,
from conftest.c:11:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
configure:6874: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|=20
| #include <dlfcn.h>
configure:6874: result: no
configure:7061: checking for objdir
configure:7076: result: .libs
configure:7347: checking if cc -m32 supports -fno-rtti -fno-exceptions
configure:7365: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but n=
ot for C
configure:7369: $? =3D 0
configure:7382: result: no
configure:7402: checking for cc -m32 option to produce PIC
configure:7687: result: -fPIC -DPIC
configure:7699: checking if cc -m32 PIC flag -fPIC -DPIC works
configure:7717: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE -fPIC -DPIC -DPIC conftest.c >&5
configure:7721: $? =3D 0
configure:7734: result: yes
configure:7758: checking if cc -m32 static flag -static works
configure:7786: result: no
configure:7801: checking if cc -m32 supports -c -o file.o
configure:7822: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE -o out/conftest2.o conftest.c >&5
configure:7826: $? =3D 0
configure:7848: result: yes
configure:7856: checking if cc -m32 supports -c -o file.o
configure:7903: result: yes
configure:7936: checking whether the cc -m32 linker (ld -m elf_x86_64 -m e=
lf_i386) supports shared libraries
configure:9020: result: yes
configure:9057: checking whether -lc should be explicitly linked in
configure:9065: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTA=
RGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
configure:9068: $? =3D 0
configure:9083: cc -m32 -shared conftest.o -v -Wl,-soname -Wl,conftest -o=
conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
configure:9086: $? =3D 0
configure:9100: result: no
configure:9265: checking dynamic linker characteristics
configure:9710: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=3Dx86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=3Dyes
ac_cv_env_CPPFLAGS_set=3Dset
ac_cv_env_CPPFLAGS_value=3D'-DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTARGE=
T_SYSTEM_ROOT_RELOCATABLE'
ac_cv_env_CPP_set=3D
ac_cv_env_CPP_value=3D
ac_cv_env_build_alias_set=3Dset
ac_cv_env_build_alias_value=3Dx86_64-unknown-linux-gnu
ac_cv_env_host_alias_set=3Dset
ac_cv_env_host_alias_value=3Dx86_64-unknown-linux-gnu
ac_cv_env_target_alias_set=3Dset
ac_cv_env_target_alias_value=3Dsparc64--netbsd
ac_cv_header_dlfcn_h=3Dno
ac_cv_header_inttypes_h=3Dno
ac_cv_header_memory_h=3Dno
ac_cv_header_stdc=3Dno
ac_cv_header_stdint_h=3Dno
ac_cv_header_stdlib_h=3Dno
ac_cv_header_string_h=3Dno
ac_cv_header_strings_h=3Dno
ac_cv_header_sys_stat_h=3Dno
ac_cv_header_sys_types_h=3Dno
ac_cv_header_unistd_h=3Dno
ac_cv_host=3Dx86_64-unknown-linux-gnu
ac_cv_objext=3Do
ac_cv_path_EGREP=3D'/bin/grep -E'
ac_cv_path_FGREP=3D'/bin/grep -F'
ac_cv_path_GREP=3D/bin/grep
ac_cv_path_SED=3D/bin/sed
ac_cv_path_mkdir=3D/bin/mkdir
ac_cv_prog_AR=3Dar
ac_cv_prog_AWK=3D/home/uebayasi/src/netbsd/work.HEAD/sparc64/tools/bin/nbawk
ac_cv_prog_CC=3D'cc -m32'
ac_cv_prog_CPP=3D/lib/cpp
ac_cv_prog_OBJDUMP=3Dobjdump
ac_cv_prog_RANLIB=3Dranlib
ac_cv_prog_STRIP=3Dstrip
ac_cv_prog_ac_ct_STRIP=3Dstrip
ac_cv_prog_cc_c89=3Dno
ac_cv_prog_cc_g=3Dyes
ac_cv_prog_make__home_uebayasi_src_netbsd_work_HEAD_sparc64_tools_bin_nbgma=
ke_set=3Dyes
ac_cv_target=3Dsparc64--netbsd
am_cv_CC_dependencies_compiler_type=3Dgcc3
gcc_cv_as_sparc_gotdata_op=3Dno
gcc_cv_libc_provides_ssp=3Dyes
lt_cv_archive_cmds_need_lc=3Dno
lt_cv_deplibs_check_method=3Dpass_all
lt_cv_file_magic_cmd=3D'$MAGIC_CMD'
lt_cv_file_magic_test_file=3D
lt_cv_ld_reload_flag=3D-r
lt_cv_nm_interface=3D'BSD nm'
lt_cv_objdir=3D.libs
lt_cv_path_LD=3D'ld -m elf_x86_64'
lt_cv_path_NM=3Dnm
lt_cv_prog_compiler_c_o=3Dyes
lt_cv_prog_compiler_pic_works=3Dyes
lt_cv_prog_compiler_rtti_exceptions=3Dno
lt_cv_prog_compiler_static_works=3Dno
lt_cv_prog_gnu_ld=3Dyes
lt_cv_shlibpath_overrides_runpath=3Dno
lt_cv_sys_global_symbol_pipe=3D
lt_cv_sys_global_symbol_to_c_name_address=3D'sed -n -e '\''s/^: \([^ ]*\) $=
/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$=
/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix=3D'sed -n -e '\''s/^: =
\([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\)=
\(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ =
]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl=3D
lt_cv_sys_max_cmd_len=3D1966080
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL=3D'${SHELL} /home/uebayasi/src/netbsd/src.HEAD/external/gpl3/gcc/di=
st/missing --run aclocal-1.11'
AMDEPBACKSLASH=3D'\'
AMDEP_FALSE=3D'#'
AMDEP_TRUE=3D''
AMTAR=3D'${SHELL} /home/uebayasi/src/netbsd/src.HEAD/external/gpl3/gcc/dist=
/missing --run tar'
AR=3D'ar'
AUTOCONF=3D'${SHELL} /home/uebayasi/src/netbsd/src.HEAD/external/gpl3/gcc/d=
ist/missing --run autoconf'
AUTOHEADER=3D'${SHELL} /home/uebayasi/src/netbsd/src.HEAD/external/gpl3/gcc=
/dist/missing --run autoheader'
AUTOMAKE=3D'${SHELL} /home/uebayasi/src/netbsd/src.HEAD/external/gpl3/gcc/d=
ist/missing --run automake-1.11'
AWK=3D'/home/uebayasi/src/netbsd/work.HEAD/sparc64/tools/bin/nbawk'
CC=3D'cc -m32'
CCDEPMODE=3D'depmode=3Dgcc3'
CFLAGS=3D'-O'
COMPPATH=3D'.'
CPP=3D'/lib/cpp'
CPPFLAGS=3D'-DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DTARGET_SYSTEM_ROOT_RE=
LOCATABLE'
CYGPATH_W=3D'echo'
DEFS=3D''
DEPDIR=3D'.deps'
DSYMUTIL=3D''
DUMPBIN=3D''
ECHO_C=3D''
ECHO_N=3D'-n'
ECHO_T=3D''
EGREP=3D'/bin/grep -E'
EXEEXT=3D''
FGREP=3D'/bin/grep -F'
GREP=3D'/bin/grep'
INSTALL_DATA=3D'${INSTALL} -m 644'
INSTALL_PROGRAM=3D'${INSTALL}'
INSTALL_SCRIPT=3D'${INSTALL}'
INSTALL_STRIP_PROGRAM=3D'$(install_sh) -c -s'
LD=3D'ld -m elf_x86_64 -m elf_i386'
LDFLAGS=3D' -Wl,-rpath -Wl,/foo'
LIBOBJS=3D''
LIBS=3D''
LIBTOOL=3D'$(SHELL) $(top_builddir)/libtool'
LIPO=3D''
LN_S=3D'ln -s'
LTLIBOBJS=3D''
MAINT=3D'#'
MAINTAINER_MODE_FALSE=3D''
MAINTAINER_MODE_TRUE=3D'#'
MAKEINFO=3D'/home/uebayasi/src/netbsd/work.HEAD/sparc64/tools/bin/nbmakeinf=
o'
MKDIR_P=3D'/bin/mkdir -p'
NM=3D'nm'
NMEDIT=3D''
OBJDUMP=3D'objdump'
OBJEXT=3D'o'
OTOOL64=3D''
OTOOL=3D''
PACKAGE=3D'zlib'
PACKAGE_BUGREPORT=3D''
PACKAGE_NAME=3D''
PACKAGE_STRING=3D''
PACKAGE_TARNAME=3D''
PACKAGE_URL=3D''
PACKAGE_VERSION=3D''
PATH_SEPARATOR=3D':'
RANLIB=3D'ranlib'
SED=3D'/bin/sed'
SET_MAKE=3D''
SHELL=3D'/bin/sh'
STRIP=3D'strip'
TARGET_LIBRARY_FALSE=3D''
TARGET_LIBRARY_TRUE=3D''
VERSION=3D'1.1.4'
ac_ct_CC=3D''
ac_ct_DUMPBIN=3D''
am__EXEEXT_FALSE=3D''
am__EXEEXT_TRUE=3D''
am__fastdepCC_FALSE=3D'#'
am__fastdepCC_TRUE=3D''
am__include=3D'include'
am__isrc=3D' -I$(srcdir)'
am__leading_dot=3D'.'
am__quote=3D''
am__tar=3D'${AMTAR} chof - "$$tardir"'
am__untar=3D'${AMTAR} xf -'
bindir=3D'${exec_prefix}/bin'
build=3D'x86_64-unknown-linux-gnu'
build_alias=3D'x86_64-unknown-linux-gnu'
build_cpu=3D'x86_64'
build_os=3D'linux-gnu'
build_vendor=3D'unknown'
datadir=3D'${datarootdir}'
datarootdir=3D'${prefix}/share'
docdir=3D'${datarootdir}/doc/${PACKAGE}'
dvidir=3D'${docdir}'
exec_prefix=3D'NONE'
host=3D'x86_64-unknown-linux-gnu'
host_alias=3D'x86_64-unknown-linux-gnu'
host_cpu=3D'x86_64'
host_os=3D'linux-gnu'
host_vendor=3D'unknown'
htmldir=3D'${docdir}'
includedir=3D'${prefix}/include'
infodir=3D'${datarootdir}/info'
install_sh=3D'${SHELL} /home/uebayasi/src/netbsd/src.HEAD/external/gpl3/gcc=
/dist/install-sh'
libdir=3D'/foo'
libexecdir=3D'${exec_prefix}/libexec'
localedir=3D'${datarootdir}/locale'
localstatedir=3D'${prefix}/var'
mandir=3D'${datarootdir}/man'
mkdir_p=3D'/bin/mkdir -p'
mkinstalldirs=3D'/home/uebayasi/src/netbsd/src.HEAD/external/gpl3/gcc/dist/=
mkinstalldirs'
multi_basedir=3D'/home/uebayasi/src/netbsd/src.HEAD/tools/gcc/../../externa=
l/gpl3/gcc/dist/zlib/..'
oldincludedir=3D'/usr/include'
pdfdir=3D'${docdir}'
prefix=3D'/home/uebayasi/src/netbsd/work.HEAD/sparc64/tools'
program_transform_name=3D's,^,sparc64--netbsd-,'
psdir=3D'${docdir}'
sbindir=3D'${exec_prefix}/sbin'
sharedstatedir=3D'${prefix}/com'
sysconfdir=3D'${prefix}/etc'
target=3D'sparc64--netbsd'
target_alias=3D'sparc64--netbsd'
target_all=3D''
target_cpu=3D'sparc64'
target_os=3D'netbsd'
target_vendor=3D''
toolexecdir=3D''
toolexeclibdir=3D''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "zlib"
#define VERSION "1.1.4"
#define LT_OBJDIR ".libs/"
configure: exit 1
--FL5UXtIhxfXey3p5--
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: toolchain-manager@NetBSD.org, gnats-admin@NetBSD.org,
netbsd-bugs@NetBSD.org, uebayasi@tombi.co.jp
Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on
Linux/x86_64
Date: Mon, 14 May 2012 10:28:52 +0200
On Mon, May 14, 2012 at 08:05:03AM +0000, Masao Uebayashi wrote:
> tools/gcc build fails in configuring 32-bit zlib on 64-bit host.
> ${OBJDIR}/tools/gcc/build/32/zlib/config.log is attached.
>
> [...]
> configure:3607: checking for cc -m32 option to accept ISO C89
> configure:3671: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DT=
> ARGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
> In file included from /usr/include/features.h:385,
> from /usr/include/stdio.h:28,
> from conftest.c:12:
> /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
> tory
There's lots of errors like that. This really points to missing developement
rpms in the installation.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: Masao Uebayashi <uebayasi@gw.tombi.co.jp>
Cc: gnats-bugs@NetBSD.org, toolchain-manager@NetBSD.org,
gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org, uebayasi@tombi.co.jp
Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on
Linux/x86_64
Date: Mon, 14 May 2012 10:57:02 +0200
On Mon, May 14, 2012 at 05:36:56PM +0900, Masao Uebayashi wrote:
> > There's lots of errors like that. This really points to missing developement
> > rpms in the installation.
>
> What is "rpm -qf .../gnu/stubs-32.h" on your Linux host?
houla:/usr/include>rpm -qf /usr/include/gnu/stubs-32.h
glibc-devel-2.12-1.47.el6_2.9.i686
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
From: Masao Uebayashi <uebayasi@gw.tombi.co.jp>
To: Manuel Bouyer <bouyer@antioche.eu.org>
Cc: gnats-bugs@NetBSD.org, toolchain-manager@NetBSD.org,
gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org,
uebayasi@tombi.co.jp
Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on
Linux/x86_64
Date: Mon, 14 May 2012 17:36:56 +0900
On Mon, May 14, 2012 at 10:28:52AM +0200, Manuel Bouyer wrote:
> On Mon, May 14, 2012 at 08:05:03AM +0000, Masao Uebayashi wrote:
> > tools/gcc build fails in configuring 32-bit zlib on 64-bit host.
> > ${OBJDIR}/tools/gcc/build/32/zlib/config.log is attached.
> >
> > [...]
> > configure:3607: checking for cc -m32 option to accept ISO C89
> > configure:3671: cc -m32 -c -O -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=3D0 -DT=
> > ARGET_SYSTEM_ROOT_RELOCATABLE conftest.c >&5
> > In file included from /usr/include/features.h:385,
> > from /usr/include/stdio.h:28,
> > from conftest.c:12:
> > /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
> > tory
>
> There's lots of errors like that. This really points to missing developement
> rpms in the installation.
What is "rpm -qf .../gnu/stubs-32.h" on your Linux host?
From: Masao Uebayashi <uebayasi@tombi.co.jp>
To: Manuel Bouyer <bouyer@antioche.eu.org>
Cc: gnats-bugs@NetBSD.org, toolchain-manager@NetBSD.org,
gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on
Linux/x86_64
Date: Thu, 17 May 2012 08:58:12 +0900
On Mon, May 14, 2012 at 10:57:02AM +0200, Manuel Bouyer wrote:
> On Mon, May 14, 2012 at 05:36:56PM +0900, Masao Uebayashi wrote:
> > > There's lots of errors like that. This really points to missing developement
> > > rpms in the installation.
> >
> > What is "rpm -qf .../gnu/stubs-32.h" on your Linux host?
>
> houla:/usr/include>rpm -qf /usr/include/gnu/stubs-32.h
> glibc-devel-2.12-1.47.el6_2.9.i686
Makes me think...
Why does tools/gcc need host 32-bit/64-bit lib knowledge? 32-bit only
host can't build multilib'ed NetBSD/{amd64,mips,sparc64}? It's either
a bug of tools/gcc, or tools/gcc doesn't need --enable-multilib at all.
(mknative is another story.)
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.