From owner-freebsd-current@FreeBSD.ORG Sun Sep 8 20:02:33 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 61AC71B9 for ; Sun, 8 Sep 2013 20:02:33 +0000 (UTC) (envelope-from mailinglists@martinlaabs.de) Received: from relay03.alfahosting-server.de (relay03.alfahosting-server.de [109.237.142.239]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1E73D2E5B for ; Sun, 8 Sep 2013 20:02:32 +0000 (UTC) Received: by relay02.alfahosting-server.de (Postfix, from userid 1001) id EE8A832C4FA9; Sun, 8 Sep 2013 21:49:55 +0200 (CEST) X-Spam-DCC: sonic.net: relay01 1156; Body=1 Fuz1=1 Fuz2=1 X-Spam-Level: X-Spam-Status: No, score=0.0 required=7.0 tests=BAYES_50 autolearn=disabled version=3.2.5 Received: from alfa3018.alfahosting-server.de (alfa3018.alfahosting-server.de [109.237.140.30]) by relay02.alfahosting-server.de (Postfix) with ESMTPS id B53B232C4F7E for ; Sun, 8 Sep 2013 21:49:52 +0200 (CEST) Received: from desktop-01.martinlaabs.de (p54B30702.dip0.t-ipconnect.de [84.179.7.2]) by alfa3018.alfahosting-server.de (Postfix) with ESMTPSA id 81003515DEC2 for ; Sun, 8 Sep 2013 21:49:52 +0200 (CEST) Message-ID: <522CD4DF.5030600@martinlaabs.de> Date: Sun, 08 Sep 2013 21:49:51 +0200 From: Martin Laabs User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 MIME-Version: 1.0 To: current@freebsd.org Subject: Problem building boot2 amd64->i386 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Status: No X-Virus-Checker-Version: clamassassin 1.2.4 with ClamAV 0.97.3/17831/Sun Sep 8 18:38:41 2013 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Sep 2013 20:02:33 -0000 Hi, I currently try to build the boot2 part of the bootloader on my amd64 for i386. I tried the crochet building script for the i386 and this script run into the problem. How to repeat: # cd head/sys/boot/i386/boot2 # make TARGET_ARCH=i386 Warning: Object directory not changed from original /usr/home/martin/Rasperry/head/sys/boot/i386/boot2 cc -Os -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time -mno-align-long-strings -mrtd -mregparm=3 -DUSE_XREAD -DUFS1_AND_UFS2 -DFLAGS=0x80 -DSIOPRT=0x3f8 -DSIOFMT=0x3 -DSIOSPD=9600 -I/usr/home/martin/Rasperry/head/sys/boot/i386/boot2/../../common -I/usr/home/martin/Rasperry/head/sys/boot/i386/boot2/../btx/lib -I. -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Winline --param max-inline-insns-single=100 -march=i386 -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -m32 -std=gnu99 -m32 -c boot1.S ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -e start -Ttext 0x7c00 -o boot1.out boot1.o objcopy -S -O binary boot1.out boot1 dd if=/dev/zero of=boot2.ldr bs=512 count=1 1+0 records in 1+0 records out 512 bytes transferred in 0.000123 secs (4161790 bytes/sec) make: don't know how to make /usr/home/martin/Rasperry/head/sys/boot/i386/boot2/../btx/lib/crt0.o. Stop Don't get confused that the head source is in a directory named raspberry - I just want to build a reference i386 system to see if a problem with the kerberos also occurs on i386 systems. Is there a way to build the boot2 part the right way? In this case I would like to update the crochet script. Thank you, Martin Laabs