From owner-freebsd-amd64@FreeBSD.ORG Mon Oct 11 09:44:11 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0416B16A4CE for ; Mon, 11 Oct 2004 09:44:11 +0000 (GMT) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5121543D4C for ; Mon, 11 Oct 2004 09:44:10 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 091AB4D09C; Mon, 11 Oct 2004 09:38:19 +0000 (GMT) Received: from [192.168.46.42] (s0D26.static.pacific.net.au [203.100.254.38]) by p4.roq.com (Postfix) with ESMTP id 90C134D09E; Mon, 11 Oct 2004 09:38:17 +0000 (GMT) Message-ID: <416A548D.10206@roq.com> Date: Mon, 11 Oct 2004 19:38:21 +1000 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.2) Gecko/20041007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: trorki@area51.capnet.state.tx.us, freebsd-amd64@freebsd.org References: <4169E68D.9070102@cisnet.com> <20041010233036.F12981@area51.capnet.state.tx.us> In-Reply-To: <20041010233036.F12981@area51.capnet.state.tx.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP Subject: Re: i386 compat X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 09:44:11 -0000 Does this actually work for any one? I tried it and it craps out I am on FreeBSD 5.3-BETA7 FreeBSD 5.3-BETA7 #0: Mon Oct 11 09:57:29 EST 2004 michael@:/usr/obj/usr/src/sys/GENERIC amd64 I really wanted to get java / openoffice going so I followed the instructions http://people.freebsd.org/~tjr/linux32.html to run linux java but it doesn't work properly.. I ran 1 java program as a regular user and it pulled the whole pc down to need a cold reboot. So I am about ready to put on 32bit FreeBSD, the fun is over :) # pwd /usr/src # /usr/src/tools/lib32/build32.sh mkdir: /lib32: File exists mkdir: /usr/lib32: File exists mkdir: /usr/local/lib32: File exists mkdir: /usr/X11R6/lib32: File exists chflags: /tmp/i386: No such file or directory "Makefile.inc1", line 97: MAKEOBJDIRPREFIX can only be set in environment, not as a global (in /etc/make.conf) or command-line variable. *** Error code 1 Stop in /usr/src. "Makefile.inc1", line 97: MAKEOBJDIRPREFIX can only be set in environment, not as a global (in /etc/make.conf) or command-line variable. *** Error code 1 Stop in /usr/src. "Makefile.inc1", line 97: MAKEOBJDIRPREFIX can only be set in environment, not as a global (in /etc/make.conf) or command-line variable. *** Error code 1 Stop in /usr/src. ** edit: HAVE_TCGETATTR 1 ** edit: HAVE_TERMIOS_H 1 ** edit: HAVE_TERMIO_H 0 ** edit: BROKEN_LINKER 0 "Makefile.inc1", line 97: MAKEOBJDIRPREFIX can only be set in environment, not as a global (in /etc/make.conf) or command-line variable. *** Error code 1 (continuing) /usr/bin/ld: skipping incompatible /usr/lib/libgcc_pic.a when searching for -lgcc_pic /usr/bin/ld: cannot find -lgcc_pic *** Error code 1 Stop in /usr/src/gnu/lib/libregex. In file included from /usr/src/libexec/rtld-elf/i386/reloc.c:36: /usr/include/machine/segments.h:89: error: width of `sd_hibase' exceeds its type /usr/include/machine/segments.h:107: error: width of `gd_hioffset' exceeds its type /usr/include/machine/segments.h:160: error: width of `rd_base' exceeds its type /usr/src/libexec/rtld-elf/i386/reloc.c: In function `do_copy_relocations': /usr/src/libexec/rtld-elf/i386/reloc.c:69: error: `R_386_COPY' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:69: error: (Each undeclared identifier is reported only once /usr/src/libexec/rtld-elf/i386/reloc.c:69: error: for each function it appears in.) /usr/src/libexec/rtld-elf/i386/reloc.c:80: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c: In function `reloc_non_plt': /usr/src/libexec/rtld-elf/i386/reloc.c:137: error: `R_386_NONE' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:140: error: `R_386_32' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:145: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c:154: error: `R_386_PC32' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:164: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c:175: error: `R_386_COPY' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:189: error: `R_386_GLOB_DAT' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:194: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c:203: error: `R_386_RELATIVE' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:207: error: `R_386_TLS_TPOFF' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:212: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c:237: error: `R_386_TLS_DTPMOD32' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:242: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c:251: error: `R_386_TLS_DTPOFF32' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:256: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c: In function `reloc_plt': /usr/src/libexec/rtld-elf/i386/reloc.c:290: error: `R_386_JMP_SLOT' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c: In function `reloc_jmpslots': /usr/src/libexec/rtld-elf/i386/reloc.c:314: error: `R_386_JMP_SLOT' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:316: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c: In function `allocate_initial_tls': /usr/src/libexec/rtld-elf/i386/reloc.c:330: error: storage size of 'ldt' isn't known /usr/src/libexec/rtld-elf/i386/reloc.c:351: warning: implicit declaration of function `i386_set_ldt' /usr/src/libexec/rtld-elf/i386/reloc.c:351: error: `LDT_AUTO_ALLOC' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:330: warning: unused variable `ldt' *** Error code 1 Stop in /usr/src/libexec/rtld-elf. chflags: /usr/libexec/ld-elf32.so.1: No such file or directory *** Error code 1 (ignored) install: ld-elf32.so.1: No such file or directory *** Error code 71 Stop in /usr/src/libexec/rtld-elf. trorki@area51.capnet.state.tx.us wrote: >On Sun, 10 Oct 2004, Hermit wrote: > > > >>I'm new to FreeBSD. 5.2.1 amd64 is >>listed as 'supported' for a commerical >>package I need to run. I try to install >>mysql40-server, and other things for >>that matter, and the system complains >>that the package is for i386 machines. >>How do I get around this? I've spent >>hours and finally found this in the >>archives: >> >> > > > >>You need to run >>/usr/src/tools/lib32/build32.sh with cwd >>set to /usr/src >>to build the 32-bit loader & basic >>libraries. >> >> > > > >>Is this my answer? What is 'cwd set to >>/usr/src mean? >> >> > >"current working directory", as in > >% cd /usr/src > > >trorki > >_______________________________________________ >freebsd-amd64@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 >To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > >