cant buildworlnd on FreeBSD 4.9-RELEASE

Matthew Dillon dillon at apollo.backplane.com
Thu Feb 5 09:44:57 PST 2004


    Ouch.  don't commit that hack :-)... it's better to fix the source
    code in the cross build / bootstrap tools to support both FreeBSD 
    and DFly.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

:
:
:--y0ulUmNC+osPPQO6
:Content-Type: text/plain; charset=us-ascii
:Content-Disposition: inline
:
:On Thu, Feb 05, 2004 at 06:09:52PM +0300, Sergey Matveychuk wrote:
:> >What is strange is that it is in stage 4 and should therefore use the
:> >DF cross system compiler. Can you send me the output of
:> >${OBJDIR}/i386/usr/libexec/gcc2/cc -dumpspecs with the current sources?
:> >May be I can trace it down. Also the build log would be useful.
:> >Either put on the web somewhere or send it as private mail compressed
:> >with bzip2 ;-)
:> 
:> No, it's not in stage4. It's in stage builds a crosscompiler tools (or 
:> so). ${OBJDIR}/i386/usr/libexec/gcc2/cc is clean yet.
:
:OK. Don't have a FreeBSD here to test it myself. Give the attached patch
:a try. 
:
:Joerg
:
:> ---
:> Sem.
:
:--y0ulUmNC+osPPQO6
:Content-Type: text/plain; charset=us-ascii
:Content-Disposition: attachment; filename="fbsd-cross.diff"
:
:Index: Makefile.inc1
:===================================================================
:RCS file: /cvs/src/Makefile.inc1,v
:retrieving revision 1.20
:diff -u -u -r1.20 Makefile.inc1
:--- Makefile.inc1	2 Feb 2004 05:43:07 -0000	1.20
:+++ Makefile.inc1	5 Feb 2004 15:50:32 -0000
:@@ -187,7 +187,8 @@
: # bootstrap-tool stage
: BMAKEENV=	MAKEOBJDIRPREFIX=${WORLDTMP} \
: 		DESTDIR= \
:-		INSTALL="sh ${.CURDIR}/tools/install.sh"
:+		INSTALL="sh ${.CURDIR}/tools/install.sh" \
:+		CC="${CC} -D__DragonFly__=1" CXX="${CXX} -D__DragonFly__=1"
: BMAKE=		${BMAKEENV} ${MAKE} -f Makefile.inc1 -DBOOTSTRAPPING \
: 		-DNOHTML -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED \
: 		-DNO_WERROR
:@@ -195,7 +196,8 @@
: # build-tool stage
: TMAKEENV=	MAKEOBJDIRPREFIX=${OBJTREE} \
: 		DESTDIR= \
:-		INSTALL="sh ${.CURDIR}/tools/install.sh"
:+		INSTALL="sh ${.CURDIR}/tools/install.sh" \
:+		CC="${CC} -D__DragonFly__=1" CXX="${CXX} -D__DragonFly__=1"
: TMAKE=		${TMAKEENV} ${MAKE} -f Makefile.inc1 -DBOOTSTRAPPING
: 
: # cross-tool stage
:
:--y0ulUmNC+osPPQO6--
:






More information about the Bugs mailing list