From owner-freebsd-ia64 Sun Mar 31 14:50: 9 2002 Delivered-To: freebsd-ia64@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id E9B4F37B400; Sun, 31 Mar 2002 14:49:53 -0800 (PST) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g2VMnrb21966; Sun, 31 Mar 2002 14:49:53 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.2/8.12.2) with ESMTP id g2VMnrEF015584; Sun, 31 Mar 2002 14:49:53 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.2/8.12.2/Submit) id g2VMnr3Q015583; Sun, 31 Mar 2002 14:49:53 -0800 (PST) Date: Sun, 31 Mar 2002 14:49:52 -0800 From: Marcel Moolenaar To: ia64@FreeBSD.org, sparc@FreeBSD.org Cc: ru@FreeBSD.org Subject: Buildworld with an external cross-compiler (long!) [PATCH] Message-ID: <20020331224952.GA8128@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [Ruslan: please consider this a re-request for review. Feel free to commit anything you think is correct (or ask me to do it), and give your comments and/or suggestions for the things you don't think are correct and/or want to see done differently] Gang, A patch to support building world for an architecture for which we don't have the compiler support in the source tree yet, can be found here: http://www.xcllnt.net/~marcel/xxtools.diff I did not try to make the patch such that we can build everything yet. That's something we can add later if desired (a reason for this would be to support a buildworld with a non-GNU compiler for various reasons such as correctness and/or performance). Anyway, what follows is a description of what the patch does and one way you can use it. The most important variable is the XX_TOOLS variable. When this variable is defined, certain behaviour is suppressed, such as: o building a cross-compiler with which world is built, o building the compiler as part of the world phase, o not building certain toolchain sensitive libraries and tools. When XX_TOOLS is set (it doesn't matter what value it has), the user is responsible to set the following variables as well: XX_AR, XX_AS, XX_CC, XX_CPP, XX_CXX, XX_LD, XX_NM, XX_OBJCOPY, XX_OBJDUMP, XX_RANDLIB, XX_SIZE The meaning of these variables should be clear. Furthermore, the patch depends on an enhancement in install(1) that has been discussed on -arch before. The enhancement is to have install(1) use a different strip(1) than "strip". This is part of the patch. The environment variable for this is STRIPBIN, since STRIP is already taken. The last environment variable, XX_RUNTIME, can be used to tell the build to link usr/include and usr/lib in the temporary world tree (ie /usr/obj/ia64/usr/src/i386 when crossbuilding ia64 on i386) to existing directories under the XX_RUNTIME tree. The effect is that when the temporary world tree is populated, the headers and libs will be written into XX_RUNTIME. A typical use is given in the sample wrapper script that follows: \begin{xmake.sh} #!/bin/sh export XX_TOOLS="/usr/local/bin/ia64-unknown-freebsd5.0" export XX_AR="${XX_TOOLS}-ar" export XX_AS="${XX_TOOLS}-as" export XX_CC="${XX_TOOLS}-gcc" export XX_CPP="${XX_TOOLS}-cpp" export XX_CXX="${XX_TOOLS}-g++" export XX_LD="${XX_TOOLS}-ld" export XX_NM="${XX_TOOLS}-nm" export XX_OBJCOPY="${XX_TOOLS}-objcopy" export XX_OBJDUMP="${XX_TOOLS}-objdump" export XX_RANLIB="${XX_TOOLS}-ranlib" export XX_SIZE="${XX_TOOLS}-size" export XX_RUNTIME=/usr/local/ia64-unknown-freebsd5.0 export STRIPBIN=${XX_TOOLS}-strip make -DNO_CXX -DNO_OBJC -DNO_WARNS TARGET_ARCH=ia64 $@ \end{xmake.sh} By setting XX_RUNTIME to /usr/local/, you automaticly cause the headers and libraries to be updated/installed in the place where the compiler will look for them, without any hackery. If you can achieve the same with options (like -isystem), you can keep XX_RUNTIME undefined and/or point it to a completely different location (like NFS mounted root filesystem of the machine you're building for). To make the above wrapper script work in it's presented form, you need to do some one-time setup first: you need to make sure that XX_RUNTIME has a valid layout: o create directories ${XX_RUNTIME}/usr/include and ${XX_RUNTIME}/usr/lib. o link ${XX_RUNTIME}/include to ${XX_RUNTIME}/usr/include (only needed for GNU compiler). o link ${XX_RUNTIME}/lib to ${XX_RUNTIME}/usr/lib after moving ldscripts to usr/include (only for GNU compiler). o make sure ${XX_RUNTIME}, ${XX_RUNTIME}/usr/include and ${XX_RUNTIME}/usr/lib are writable by whomever you do buildworlds with. o In the case of GNU, make sure that you don't have conflicting includes under /usr/local/lib/gcc-lib/... The includes there are created by fixincludes or something and are found before the ones in ${XX_RUNTIME}/usr/include. With the above, doing a buildworld is as easy as: xmake.sh buildworld Installation is as easy as: xmake.sh installworld DESTDIR= I think it should be sufficiently clear for everybody to try this themselves. Let me quickly go over the changes in the patch: o Most of the conditional assignments based on XX_TOOLS are to avoid doing things that we don't expect to work anyway. This mostly includes toolchain sensitive programs, libraries. In Makefile.inc1 we actually annotate CROSSENV based on it so that we cause the right compiler to be picked up, o We exclude sysinstall(8) for anything but alpha and i386, o The changes in contrib/amd resolve compilation failures, o Make gperf(1) and groff(1) conditional on NO_CXX. We cannot build those if we don't build libstdc++, o Of course we have perl(1) changes: the perl makefiles that are generated, redefine CC and friends. This works in a "normal" buildworld, because we pick up the right compiler by way of setting PATH. In this case, it's fatal. Hence, we explicitly set CC on the (sub-) make commandline. There's 1 case where this fails to work and that is SDBM_File. The reason for this is that SDBM_File has an additional level of recursion (ie a subdir) and we recurse into that directory from a generated makefile in which we cannot set CC and friends explicitly. Hence CC gets destroyed. o Exclude xlint(1) because it fails to build and the problem didn't look trivial enough to spend much time on it, o Allow install(1) to use a different "strip". Note that xinstall is already in the bootstrap-tools, so this will magically work. A final word (finally :-) I completed a successful buildworld last night, but have a build failure when applying the patches on a virgin machine. I also didn't try a "normal" buildworld with these patches applied. My main objective is to update my ia64 box and share this patch early enough that people can try it out themselves and give feedback. FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Tue Apr 2 8:53: 9 2002 Delivered-To: freebsd-ia64@freebsd.org Received: from users.pesaro.com (pesaro.com [195.120.225.6]) by hub.freebsd.org (Postfix) with ESMTP id C068E37B478 for ; Tue, 2 Apr 2002 08:52:04 -0800 (PST) Received: from mail.ru (pax2-184.cis.ru [212.109.194.184]) by users.pesaro.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with SMTP id g32GwUP11182 for ; Tue, 2 Apr 2002 18:58:30 +0200 Message-Id: <200204021658.g32GwUP11182@users.pesaro.com> From: "Paul" To: Subject: Software Development from Russia ($20-$25 per hour) Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Date: Tue, 2 Apr 2002 23:52:01 +0700 Reply-To: "Paul" X-Priority: 1 (Highest) Content-Transfer-Encoding: 8bit Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear IT Manager, Have you ever thought of redesigning your website or creating an on-line database, in short, anything that has to do with software development, this offer is right for you. Our highly skilled off-shore programmers are capable and ready to develop any of your e-commerce software dreams and needs. We develop for ALL WINDOWS AND UNIX PLATFORMS Auctions, Hosting Solutions, Shopping Carts, databases, networks, plus Perl, PHP, C++, ASP, Cold Fusion, Java, Wap, XML, MS Access, SQL, etc. From business analysis and consulting to web design, from coding to testing we provide a full cycle of IT services. Typical rates are 20-25 USD per hour. For more complete information about the company and services provided please visit http://www.smtprogramming.com I will be glad to answer any of your questions (bestdeal411@mail.ru). Feel free to contact us any time and all the estimates will be done for you FREE of charge. Thanks! Paul PS. It's one time message. You are not on a list. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Thu Apr 4 0:28: 4 2002 Delivered-To: freebsd-ia64@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id 4157D37B41A for ; Thu, 4 Apr 2002 00:27:54 -0800 (PST) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g345ush03511 for ; Wed, 3 Apr 2002 21:56:54 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 96F723811; Wed, 3 Apr 2002 21:57:19 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Marcel Moolenaar Cc: ia64@FreeBSD.ORG Subject: Re: Update your EFI bootloader. In-Reply-To: <20020330233636.GA2687@dhcp01.pn.xcllnt.net> Date: Wed, 03 Apr 2002 21:57:19 -0800 From: Peter Wemm Message-Id: <20020404055719.96F723811@overcee.wemm.org> Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Marcel Moolenaar wrote: > Gang, > > It is adviced to update your EFI loader as soon a conveniently > possible. It is harmless to update the kernel without updating > the EFI loader for now, but this may not hold for future kernels. > > The relevant changes are to pass the address of the bootinfo > block from the loader to the kernel in a register (r8), and not > use a hardwired address for this. The kernel still looks at the > hardwired address, but does check if it has been passed in r8 > as well. I'm still not having much luck. I've not been able to build a loader since ~Nov 20th or so. fs0:\boot> dir Directory of fs0:\boot 10/22/01 07:59a 4,096 . 10/22/01 07:59a 0 .. .. 04/03/02 09:44p 465,585 nloader.efi 11/19/01 12:14a 489,901 loader.efi .. fs0:\boot> nloader 'nloader' not found Exit status code: Invalid Parameter fs0:\boot> loader Console: EFI console FreeBSD/ia64 EFI boot, Revision 0.1 (peter@overcee.netplex.com.au, Mon Nov 19 00:14:52 PST 2001) | can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. ok I'll be damned if I can find anything obviously wrong with it. objdump etc show nothing unusual different between them. I might have to resort to actually reading hexdumps and comparing fields. (I'm using a native gcc and in-tree binutils to build this) Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Thu Apr 4 4:31:45 2002 Delivered-To: freebsd-ia64@freebsd.org Received: from GWISE.sci.com (gwise2.sci.com [143.116.116.229]) by hub.freebsd.org (Postfix) with ESMTP id A1ABF37B41B; Thu, 4 Apr 2002 04:30:52 -0800 (PST) Received: from Route_Dom1-MTA by GWISE.sci.com with Novell_GroupWise; Thu, 04 Apr 2002 06:30:51 -0600 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.1 Date: Thu, 04 Apr 2002 06:30:34 -0600 From: "Phongsin Ch" Subject: Get more money by e-commerce business . Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_D489496B.08690195" To: undisclosed-recipients:; Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_D489496B.08690195 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ก่อนอื่นต้องขออภัยด้วยนะครับ ถ้าข้อความที่ส่งมาเป็นการรบกวน แต่ถ้าเห็นว่าเป็นประโยชน์กับคนที่คุณรู้จัก กรุณาส่งต่อให้ด้วยครับ ระบบการทำงานของธุรกิจในอนาคต ทำได้ง่าย และสร้างรายได้งามจากการทำงานผ่านระบบ ผมได้ 20,000 / เดือน จากการทำงานเพียงวันละ 2-3 ชั่วโมงเท่านั้น โอกาสมาถึงคุณแล้ว เหลือแต่เพียงคุณจะคว้ามันหรือเปล่า คลิกดูรายละเอียดที่นี่ การบรรยายแนะนำธุรกิจ International E-Business เรียนรู้วิธีการทำงาน ธุรกิจนานาชาติ บน Internet เรียนรู้แผนการทำงานเพิ่มรายได้พิเศษในแต่ละเดือน แผนรายได้อย่างจริงจังแบบทำงานนอกเวลา 15,000 ถึง 60,000 บาท/เดือน เวลาที่ต้องใช้ : 7- 14 ชม. /สัปดาห์ ขอชุดข้อมูลเบื้องต้นได้ฟรี "หากคุณไม่เปลี่ยนสิ่งที่คุณทำอยู่ในวันนี้ สิ่งที่เกิดขึ้นในวันพรุ่งนี้ก็จะเหมือนวันวาน" --=_D489496B.08690195 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML

             ก่อนอื่นต้องขออภัยด้วยนะครับ  ถ้าข้อความที่ส่งมาเป็นการรบกวน แต่ถ้าเห็นว่าเป็นประโยชน์กับคนที่คุณรู้จัก กรุณาส่งต่อให้ด้วยครับ

ระบบการทำงานของธุรกิจในอนาคต

ทำได้ง่าย  และสร้างรายได้งามจากการทำงานผ่านระบบ
ผมได้  20,000 / เดือน  จากการทำงานเพียงวันละ  2-3 ชั่วโมงเท่านั้น
โอกาสมาถึงคุณแล้ว
เหลือแต่เพียงคุณจะคว้ามันหรือเปล่า

การบรรยายแนะนำธุรกิจ International E-Business
เรียนรู้วิธีการทำงาน ธุรกิจนานาชาติ บน Internet
เรียนรู้แผนการทำงานเพิ่มรายได้พิเศษในแต่ละเดือน

แผนรายได้อย่างจริงจังแบบทำงานนอกเวลา
 15,000 ถึง 60,000 บาท/เดือน
 เวลาที่ต้องใช้ : 7- 14 ชม. /สัปดาห์

ขอชุดข้อมูลเบื้องต้นได้ฟรี

"หากคุณไม่เปลี่ยนสิ่งที่คุณทำอยู่ในวันนี้  สิ่งที่เกิดขึ้นในวันพรุ่งนี้ก็จะเหมือนวันวาน"


--=_D489496B.08690195-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Fri Apr 5 1: 9:46 2002 Delivered-To: freebsd-ia64@freebsd.org Received: from hub.freebsd.org (ws084187.housing-ec.siu.edu [131.230.84.187]) by hub.freebsd.org (Postfix) with SMTP id 64C0F37B41B for ; Fri, 5 Apr 2002 01:09:44 -0800 (PST) From: "pht92gee@hotmail.com" Date: Fri, 05 Apr 2002 03:09:22 To: ia64@freebsd.org Subject: Tool Kit MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <20020405090944.64C0F37B41B@hub.freebsd.org> Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hey there, I found this web site that gives some good sources for doing more with the school’s web site. Let me know what you think. http://www.pluggedin.org/tool_kit/ Bradley Smith Educator To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message From owner-freebsd-ia64 Fri Apr 5 22:21: 3 2002 Delivered-To: freebsd-ia64@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 6F5C537B41C for ; Fri, 5 Apr 2002 22:20:55 -0800 (PST) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g366KsJ00479 for ; Fri, 5 Apr 2002 22:20:54 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.2/8.12.2) with ESMTP id g366KsKY056947 for ; Fri, 5 Apr 2002 22:20:54 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.2/8.12.2/Submit) id g366Ks90056946 for ia64@FreeBSD.org; Fri, 5 Apr 2002 22:20:54 -0800 (PST) Date: Fri, 5 Apr 2002 22:20:54 -0800 From: Marcel Moolenaar To: ia64@FreeBSD.org Subject: kernel dumps seem to work Message-ID: <20020406062054.GA56916@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Gang, Below some snippets of what to expect: \begin{kernel output after dumping} Uptime: 10m57s Dumping 1007 MB (6 regions) region 0: 136 pages ... ok region 1: 257560 pages ... ok region 2: 118 pages ... ok region 3: 1 pages ... ok region 4: 53 pages ... ok region 5: 1 pages ... ok Dump complete Automatic reboot in 15 seconds - press a key on the console to abort \end{kernel output after dumping} \begin{savecore saving the dump} # /nfs/ia64/root/sbin/savecore Mediasize = 2146798080 Sectorsize = 512 Good dump found on device /dev/da0s4b Architecture: ia64 Architecture version: 1 Dump length: 1056235520B (1007 MB) Blocksize: 512 Dumptime: Fri Apr 5 21:35:40 2002 Hostname: Versionstring: FreeBSD 5.0-CURRENT #17: Fri Apr 5 21:22:38 PST 2002 marcel@athlon.pn.xcllnt.net:/nfs/5.x/src/sys/ia64/compile/ITANIUM Panicstring: trap MD5: 3f9d2116e306d443c0a9a268983a4911 Saving dump to file... Dump saved \end{savecore saving the dump} \begin{examining the core file} # /nfs/ia64/root/usr/bin/objdump -f 3*core 3f9d2116e306d443c0a9a268983a4911.core: file format elf64-ia64-little architecture: ia64-elf64, flags 0x00000000: start address 0x0000000000000000 # /nfs/ia64/root/usr/bin/objdump -h 3*core 3f9d2116e306d443c0a9a268983a4911.core: file format elf64-ia64-little Sections: Idx Name Size VMA LMA File off Algn 0 load0 00088000 0000000000000000 0000000000001000 00001000 2**0 CONTENTS, ALLOC, LOAD, READONLY 1 load1 3ee18000 0000000000000000 0000000000100000 00089000 2**0 CONTENTS, ALLOC, LOAD, READONLY 2 load2 00076000 0000000000000000 000000003f00d000 3eea1000 2**0 CONTENTS, ALLOC, LOAD, READONLY 3 load3 00001000 0000000000000000 000000003f084000 3ef17000 2**0 CONTENTS, ALLOC, LOAD, READONLY 4 load4 00035000 0000000000000000 000000003f088000 3ef18000 2**0 CONTENTS, ALLOC, LOAD, READONLY 5 load5 00001000 0000000000000000 000000003f0d6000 3ef4d000 2**0 CONTENTS, ALLOC, LOAD, READONLY \end{examining the core file} FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message