NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/46438: Can't build NetBSD netbsd-6/amd64 on Linux/x86_64
The following reply was made to PR toolchain/46438; it has been noted by GNATS.
From: David Laight <david%l8s.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
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@localhost 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@localhost
Home |
Main Index |
Thread Index |
Old Index