From owner-freebsd-mips@freebsd.org Wed Feb 15 01:02:56 2017 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CA40CDF182 for ; Wed, 15 Feb 2017 01:02:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADA0615AE for ; Wed, 15 Feb 2017 01:02:55 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id c85so30837014wmi.1 for ; Tue, 14 Feb 2017 17:02:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zLj5viKG6I9tK+70tXpSLAkKfxuSrSsErI2DAD3Hgcc=; b=LNtYM8TPZH7O+0eG7TnvjUd2ppvhSqpXPJ9q4xz5m19ZVy1LifQ8H90T+7Ta7GoOjJ 2wMgxTWqSscN1fLyPmxrVEbqte0pCMi6I3vjU3R8G/bud3yoLPYPVk1UABWNNgPPz1ln IhO0/3pmTwH59Tm7rAJHIKNiniil8gmX+ed1g0rHWUArobiQjUxECDGTwUQu2fN3GD4r 7cHnt3oXJFQc49R7W2YresGNkErTSTY6VwbUMZQ/yA4t/JTd/ecHgoEiGEkkU3FD1cdz 5rcuhDv6m2wvmef8drAS405zvPbYeaxVtQeVDmXT6R8DRUmpFvVDAeglLiKEv3QY6xxX NoCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zLj5viKG6I9tK+70tXpSLAkKfxuSrSsErI2DAD3Hgcc=; b=r5/u83lNMS7A62bhukFv1srhzzmIbjbwJWbUThdKKbi4rWrqB2Tkf6bxU7gKxtAlfd m1DExe+kPjUDbQXF2BLiQwmiEVSf2/JU+lZHsxFRO6uyVVyk/5K1rNFZpmtxxFpVHtZ8 5QZKyjRoVtwKUIeUljy6Hks0uMMt8HXxF2lbq2s7Pa4KPuYFsP3EghxCvOcOVhX7+KrJ yhf9Mck9ze70XnXOLp7RFxX+RhgA0SQd3EsMEXM7s2B/kGNO2E7Ti0oWVb9EIfBp9W3l W7qZOH0ec82gUnPTwOeMJPC50yTfYj8Fm5TZlj73hOIKcyg9LFOf015V9QuBX/bPLIeJ 6o8g== X-Gm-Message-State: AMke39kCSRR/6n1p7OMGs3fUyXsHexrKb/UnoxNoQ/gErkNutaerwf4hhkL2yQkFRAiA9QWoe88wTp5y8JDuLA== X-Received: by 10.28.47.7 with SMTP id v7mr5241551wmv.138.1487120573011; Tue, 14 Feb 2017 17:02:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.128.135 with HTTP; Tue, 14 Feb 2017 17:02:52 -0800 (PST) In-Reply-To: <623774.68843.qm@web101719.mail.ssk.yahoo.co.jp> References: <632017.92175.qm@web101706.mail.ssk.yahoo.co.jp> <805328.90571.qm@web101707.mail.ssk.yahoo.co.jp> <108182.74391.qm@web101702.mail.ssk.yahoo.co.jp> <623774.68843.qm@web101719.mail.ssk.yahoo.co.jp> From: Adrian Chadd Date: Tue, 14 Feb 2017 17:02:52 -0800 Message-ID: Subject: Re: kld problem at Atheros AR9132 To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 01:02:56 -0000 Hiya, ok. why can't it boot ELF? Just set entry point to after the ELF header. -adrian On 9 February 2017 at 19:35, Mori Hiroki wrote: > Hi. > > I use ZRouter build system. This tools build ELF kernel first by buildkernel. > Then ELF kernel convert to kbin by use objcopy command. > > ELF -> kbin -> LZMA -> U-BOOT -> block pad > > microserver % file Buffalo_WZR-HP-G301NH_kernel* > Buffalo_WZR-HP-G301NH_kernel: ELF 32-bit MSB executable, > MIPS, MIPS32 version 1 (FreeBSD), dynamically linked, interpreter /red/herring, > not stripped > Buffalo_WZR-HP-G301NH_kernel.kbin: data > Buffalo_WZR-HP-G301NH_kernel.kbin.oldlzma: LZMA compressed data, non- > streamed, size 4127856 > Buffalo_WZR-HP-G301NH_kernel.kbin.oldlzma.uboot: u-boot legacy uImage, Free > BSD Kernel Image, Linux/MIPS, OS Kernel Image (lzma), 1250861 bytes, Wed Feb 8 > 02:46:30 2017, Load Address: 0x80001100, Entry Point: 0x80001100, Header CRC: 0x > B20327B9, Data CRC: 0x670E041D > Buffalo_WZR-HP-G301NH_kernel.kbin.oldlzma.uboot.sync: u-boot legacy uImage, Free > BSD Kernel Image, Linux/MIPS, OS Kernel Image (lzma), 1250861 bytes, Wed Feb 8 > 02:46:30 2017, Load Address: 0x80001100, Entry Point: 0x80001100, Header CRC: 0x > B20327B9, Data CRC: 0x670E041D > > Old U-Boot can't boot ELF kernel dirctory. > > This is good command. > > microserver % objcopy -V > GNU objcopy 2.17.50 [FreeBSD] 2007-07-03 > Copyright 2007 Free Software Foundation, Inc. > This program is free software; you may redistribute it under the terms of > the GNU General Public License. This program has absolutely no warranty. > > > > ----- Original Message ----- >> From: Adrian Chadd >> To: Mori Hiroki >> Cc: "freebsd-mips@freebsd.org" >> Date: 2017/2/9, Thu 07:02 >> Subject: Re: kld problem at Atheros AR9132 >> >> How are you building that again? I know my way of doing it always >> outputs elf kernels. >> >> >> -a >> >> >> On 7 February 2017 at 15:28, Mori Hiroki wrote: >>> Hi >>> >>> I still have this problem. I use workaround by old objcopy command. >>> It's unconvenient. >>> >>> "link_elf_lookup_symbol: missing symbol hash table" at boot log >> indicate >>> this problem. >>> >>> Copyright (c) 1992-2017 The FreeBSD Project. >>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >>> The Regents of the University of California. All rights reserved. >>> FreeBSD is a registered trademark of The FreeBSD Foundation. >>> FreeBSD 12.0-CURRENT #2 50b7905(rt_patch)-dirty: Tue Feb 7 22:10:26 JST >> 2017 >>> >> hiroki@microserver:/storage/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/ >>> mips.mips/storage/home/hiroki/freebsd/sys/Buffalo_WZR-HP-G301NH mips >>> gcc version 4.2.1 20070831 patched [FreeBSD] >>> Preloaded elf kernel "kernel" at 0x804332a0. >>> link_elf_lookup_symbol: missing symbol hash table >>> link_elf_lookup_symbol: missing symbol hash table >>> real memory = 67108864 (65536K bytes) >>> >>> >>> ----- Original Message ----- >>>> From: Mori Hiroki >>>> To: "freebsd-mips@freebsd.org" >> >>>> Date: 2016/9/23, Fri 22:52 >>>> Subject: Re: kld problem at Atheros AR9132 >>>> >>>> Hi. >>>> >>>> Still I have this problem. Dose any one have this problem >>>> process to kernel use by objcopy for u-boot. >>>> >>>> I doubt this is big endian issue. >>>> >>>> My AR231x port have no problem. Because of redboot not need >>>> obycopy process. >>>> >>>> Regards. >>>> >>>> Hiroki Mori >>>> >>>> ----- Original Message ----- >>>>> From: Mori Hiroki >>>>> To: "freebsd-mips@freebsd.org" >> >>>>> Date: 2016/4/25, Mon 17:41 >>>>> Subject: kld problem at Atheros AR9132 >>>>> >>>>> Hi >>>>> >>>>> I build Atheros AR9132 kernel by head source. I have problem that is >>>>> can't load kld module. RT3050 have no problem same source. I do >>>>> delete old object and full build but still have problem. >>>>> >>>>> # kldload -v ufs >>>>> linker_load_file: trying to load /boot/kernel/ufs.ko >>>>> >>>>> linker_make_file: new file, filename='ufs.ko' for >> pathname='/boot/kernel/ufs.ko' >>>>> linker_file_add_dependency: adding kernel as dependency for ufs.ko >>>>> KLD ufs.ko: depends on kernel - not available or version mismatch >>>>> >>>>> linker_file_unload: lf->refs=1 >>>>> linker_file_unload: file is unloading, informing modules >>>>> linker_file_unload: lf->refs=2 >>>>> linker_load_file: trying to load /boot/kernel/ufs.ko >>>>> linker_load_file: Unsupported file type >>>>> kldload: an error occurred while loading the module. Please check >> dmesg(8) for m >>>>> ore details. >>>>> >>>>> If you have advice, please let me know. >>>>> >>>>> Thanks >>>>> >>>>> Hiroki Mori >>>>> _______________________________________________ >>>>> freebsd-mips@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-mips >>>>> To unsubscribe, send any mail to >> "freebsd-mips-unsubscribe@freebsd.org" >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> freebsd-mips@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-mips >>>> To unsubscribe, send any mail to >> "freebsd-mips-unsubscribe@freebsd.org" >>>> >>>> >>>> >>> _______________________________________________ >>> freebsd-mips@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-mips >>> To unsubscribe, send any mail to >> "freebsd-mips-unsubscribe@freebsd.org" >> From owner-freebsd-mips@freebsd.org Wed Feb 15 02:46:40 2017 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25421CDF92A for ; Wed, 15 Feb 2017 02:46:40 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qk0-x242.google.com (mail-qk0-x242.google.com [IPv6:2607:f8b0:400d:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF6BF9 for ; Wed, 15 Feb 2017 02:46:39 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by mail-qk0-x242.google.com with SMTP id u25so21619747qki.2 for ; Tue, 14 Feb 2017 18:46:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version; bh=ltzd7sy1hKRiL9Py7HKLFjGNatoNIrGlxeJgT1GrGuw=; b=qWfvnnpvduchwE/b3S7ecDAJznKFp5RM4T63MiAomGT4R5JHnvN6MJHL7CQjWGn3G9 dOQXDZA4RFVTncZ7U6swzPLVB+2fXTSUwJUk635NNaofOMDQreUANwz2drGzeri/UPpz ino3UCuZSnPkX4MTaeJpwwgCQHryANJ+ikm8yoQESfcAww+TmYeijAyuI5GyK5LxC0xE tjzPkuwOuxFvUguRGWdskS9jljbTQhjSEI4RlTbTlOUZt54ie8IaVbOelzL0U13raMXz g4FpB1Zjhfbv222vMHzYQo+8Jzmy3hgWMUG8XjkhN/GJcwKhnrHNEMKj/jt7QOxlC5oA WlbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version; bh=ltzd7sy1hKRiL9Py7HKLFjGNatoNIrGlxeJgT1GrGuw=; b=CNSofi0TpUY0AJuP+5GHDlzyE1KH9RXhrOKV6X/BMpxAllQpdf2oS2qeLUAYdm+2c/ UaFqZNhNuG8PMz0bc4Oc1D4Dsq4yNBMOyhOJXW34qNdrACrnXT/r0Sm6RJ5y696WbBYG kNVwBBKWQLMvrVj+1zC0SzCQPmFUZeKNNsd34oNSM6eAyvz8NZM+XwNF8hICBXCGM8Ea lHvLvGKDAYHIULwD95EOM3QfMDR6HgxOCEozmCnZMgq41HC2+xRXEV+eD2hiBnIobfGc uiuU7K79GV5xNV4MElpUqiYmog+ZH0Xs1yjA5DIoEcT9jEbGj612B10Zn/fDxllJ99VS JuEA== X-Gm-Message-State: AMke39lIMtAK+zdYxVl550O3jXgMc9T4wNJM3t74kkyAA/EknwGQhvPfhf3kRRRzzRvxiw== X-Received: by 10.55.3.18 with SMTP id 18mr2826109qkd.244.1487126798973; Tue, 14 Feb 2017 18:46:38 -0800 (PST) Received: from kan ([2601:18f:802:4680:226:18ff:fe00:232e]) by smtp.gmail.com with ESMTPSA id w44sm1516850qta.4.2017.02.14.18.46.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Feb 2017 18:46:37 -0800 (PST) Date: Tue, 14 Feb 2017 21:46:31 -0500 From: Alexander Kabaev To: Adrian Chadd Cc: Mori Hiroki , "freebsd-mips@freebsd.org" Subject: Re: kld problem at Atheros AR9132 Message-ID: <20170214214631.27afb824@kan> In-Reply-To: References: <632017.92175.qm@web101706.mail.ssk.yahoo.co.jp> <805328.90571.qm@web101707.mail.ssk.yahoo.co.jp> <108182.74391.qm@web101702.mail.ssk.yahoo.co.jp> <623774.68843.qm@web101719.mail.ssk.yahoo.co.jp> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/SNrJoXW1gKPT+.J/kVWPvU/"; protocol="application/pgp-signature" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2017 02:46:40 -0000 --Sig_/SNrJoXW1gKPT+.J/kVWPvU/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 14 Feb 2017 17:02:52 -0800 Adrian Chadd wrote: > Hiya, >=20 > ok. why can't it boot ELF? Just set entry point to after the ELF > header. >=20 > -adrian >=20 We provide support support for wrapping the kernel and relevant metadata into a trampoline binary. Maybe it should be used here?=20 --=20 Alexander Kabaev --Sig_/SNrJoXW1gKPT+.J/kVWPvU/ Content-Type: application/pgp-signature Content-Description: Цифровая подпись OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEExffZlZm2QeE8UVaRBxMimZJ5Ln4FAlijwQhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM1 RjdEOTk1OTlCNjQxRTEzQzUxNTY5MTA3MTMyMjk5OTI3OTJFN0UACgkQBxMimZJ5 Ln6wBA//VifBonlLnfl8D9ZYT8Kbj9nxDus/DipWnczLeCh8pL3UKfVJmRMb6h0t DBtH6Y5pzh+sQ/rZk/9CWnEVRoIwV3s+yMbgZiAuWaqL0TmsXU7hGWHMhf21dNLi n4uUTk6Ub5pj6PKmLHQBBH/Y/gdyEWUuII24TI5smApOREvysfOfiL34V2AsPQpo lZSA4btSHiNnCNvULIaAkS0sQNqIvC78VFnNU5Ml1zMYU5THSk4fR8lLVtZ8TmPI rfCsKQNbeibOgHZpNad/ByLogWffEtc55A91YRPccMceV7sx71iEdBsANAfWB/MI +PllKF/ybfWxtiKgJuf+p8pMdUKaw75Mfx3ByuqwItPdYtaQmEv7C0aQG7uyRcfo p3eK4pwGe6CvZyWkdumCo5rB//Exp+TgHd4MfZzNu6Fgfu80xoWArl0ZjNM2fe+x 3dsbprRBKZubwYU6QHvpLRmpPhxiPf+DPp0J0KruDYiXA2Pk6mtrzLPxkF5q7g1W KIEF9yKHSh1702lkshRiOftLeBDU8Xhj/cz1eB6ich4M2vdmj7oSYSZM5p/dWfix 2/6MWgfJvnt+kTtx8zvGWnJnh2M6U0wsIAqpifq4Hf/vgq61Thds7iitUozBRwZ9 7I4He2/aTCjo7I5TbVhs+36eafK3pa1tamw4Kif3qOQmyW5NS3c= =yXpz -----END PGP SIGNATURE----- --Sig_/SNrJoXW1gKPT+.J/kVWPvU/-- From owner-freebsd-mips@freebsd.org Thu Feb 16 13:29:58 2017 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E20F7CE1AB0 for ; Thu, 16 Feb 2017 13:29:58 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh503-vm12.bullet.mail.kks.yahoo.co.jp (nh503-vm12.bullet.mail.kks.yahoo.co.jp [183.79.56.198]) by mx1.freebsd.org (Postfix) with SMTP id 870761EE2 for ; Thu, 16 Feb 2017 13:29:57 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.140] by nh503.bullet.mail.kks.yahoo.co.jp with NNFMP; 16 Feb 2017 13:27:05 -0000 Received: from [183.79.100.137] by t503.bullet.mail.kks.yahoo.co.jp with NNFMP; 16 Feb 2017 13:27:05 -0000 Received: from [127.0.0.1] by omp506.mail.kks.yahoo.co.jp with NNFMP; 16 Feb 2017 13:27:05 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 208772.30859.bm@omp506.mail.kks.yahoo.co.jp Received: (qmail 63597 invoked by uid 60001); 16 Feb 2017 13:27:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1487251624; bh=b+56bpTnYC6EZyQbzMzNeKzF1qEPCnGDVU9Vp55Bigw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IYnz5tlThT2HM84VO5Z6isLZ0FbgoHiCvxkq88hJPVLtMAJ394iw6kixwjUB4uVdyd+6/0DTf/dSBsNeaUdZxpvC7S8407xjObVn/GyMly/1ijxTMg1qbHr1ls7vkEg4m3vUAZjuqhVedngKANIq0cdOF4wXRUrq55dcJ0rcmBw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HgJlKrJH+ua74ul1edlek13XHpwXbm+lD4+W1CDTEDHAVAdzNFZUaFfoWdm2X9Mh2x8uF5BAIaQj6yQ0t2WxM5YyLqUMeY8jifkbhHGYicxHIyyQxYyV2fu/9LbP6njMNDbWeuPql0kz5iNWZ8icvPd6yHRqN2GNnEwBDdm0LPI=; Message-ID: <705667.57797.qm@web101718.mail.ssk.yahoo.co.jp> X-YMail-OSG: SY7hMDEVM1lyBKw0O0WBi4S0MnjVC41eh6zW6Vv8kMtROTStn4cA7IARtsh8QQ18yvEc73VJH7IG59IxunmPTAN4aitA0WshModeYY_gGTET2I8.EKrrK5zOIaQ8FcJDGbcXSw3HdfleLC63pGahDrvGsU40BjyjbM78X.DMFxtY.dAFBkcBTvBuvaxtiVlCkqi.TbXiNvhVj_RhNnS1pXo7_d7uyLdIeAKdtXmd.Stb8Y65JeAWYGNdGpbQjq8oGmQ54oP3tv3cwfC.3BbBbwopkfefvMYS0G8PQ4qAU41BHhzp7va9Gq3IiKvcWA3eK_78v0HX1O10jSsAHBIteS2caR5XegG5buYJyRvY0q6arZE4LLSxSDG5tG9NIo8uGj0s3fWa7tBkO8abvLDuG88BED.4QQBXnxUjWi95rJuMkXwuFGv1ncd86tZmMX9CB5L1amwLN8ixuCrWQYkUHO1JtiGSsB5mmOZ0l.R4QFetCy8BXYfY5FEGSP9AWeZ2Cws8bpaHUAwvLTU4bwmhvNCrtMWgv18cvGZRL7H8Zdi1gqWP8U6nK4oMnkwunaP36DDhDgCLlG7gL1CWqQ-- Received: from [110.134.195.30] by web101718.mail.ssk.yahoo.co.jp via HTTP; Thu, 16 Feb 2017 22:27:04 JST X-Mailer: YahooMailWebService/0.8.111_70 X-YMail-JAS: DVf3y3MVM1m4Wvbk5Lc_MOK7OD.rK4NgwclNcyY53TUa.uLEeZIA9zWbP1ij9F3GGNcLCg0Dt5nfKglP8DFNyVENndU21zU9lwESm5ZOy9dIxNORjOp8lK.knuiNGLkE9Wbp Date: Thu, 16 Feb 2017 22:27:04 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: lib/msun build error To: "freebsd-mips@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2017 13:29:59 -0000 Hi=0A=0AI have build error now. May be gcc or mips is forget.=0A=0A=3D=3D= =3D> lib/msun (obj,all,install)=0Acc -isystem /storage/home/hiroki/obj//sto= rage/home/hiroki/zrouter/tmp//mips.mips=0A/storage/home/hiroki/freebsd/tmp/= usr/include -L/storage/home/hiroki/obj//storage=0A/home/hiroki/zrouter/tmp/= /mips.mips/storage/home/hiroki/freebsd/tmp/usr/lib -B/s=0Atorage/home/hirok= i/obj//storage/home/hiroki/zrouter/tmp//mips.mips/storage/home/=0Ahiroki/fr= eebsd/tmp/usr/lib --sysroot=3D/storage/home/hiroki/obj//storage/home/hiro= =0Aki/zrouter/tmp//mips.mips/storage/home/hiroki/freebsd/tmp -B/storage/hom= e/hiroki=0A/obj//storage/home/hiroki/zrouter/tmp//mips.mips/storage/home/hi= roki/freebsd/tmp=0A/usr/bin=A0 -O -pipe -DSOFTFLOAT -I/storage/home/hiroki/= freebsd/lib/msun/mips -I/s=0Atorage/home/hiroki/freebsd/lib/msun/src -I/sto= rage/home/hiroki/freebsd/lib/libc/=0Ainclude=A0 -I/storage/home/hiroki/free= bsd/lib/libc/mips -G0 -EB -msoft-float =A0 -MD=0A=A0 -MF.depend.catrigl.o -= MTcatrigl.o -std=3Dgnu99 -Wsystem-headers -Werror -Wno-poi=0Anter-sign -Wno= -unknown-pragmas =A0 =A0 -c /storage/home/hiroki/freebsd/lib/msun/src/=0Aca= trigl.c -o catrigl.o=0A/storage/home/hiroki/freebsd/lib/msun/src/catrigl.c:= 48:21: error: invtrig.h: No=A0=0Asuch file or directory=0A/storage/home/hir= oki/freebsd/lib/msun/src/catrigl.c:85:2: error: #error "Unsuppo=0Arted long= double format"=0A/storage/home/hiroki/freebsd/lib/msun/src/catrigl.c: In f= unction 'casinhl':=0A/storage/home/hiroki/freebsd/lib/msun/src/catrigl.c:18= 5: error: 'm_ln2' undeclar=0Aed (first use in this function)=0A/storage/hom= e/hiroki/freebsd/lib/msun/src/catrigl.c:185: error: (Each undeclared=0A=A0i= dentifier is reported only once=0A/storage/home/hiroki/freebsd/lib/msun/src= /catrigl.c:185: error: for each functio=0An it appears in.)=0A/storage/home= /hiroki/freebsd/lib/msun/src/catrigl.c:197: error: 'SQRT_6_EPSILON'=0A=A0un= declared (first use in this function)=0A/storage/home/hiroki/freebsd/lib/ms= un/src/catrigl.c: In function 'cacosl':=0A/storage/home/hiroki/freebsd/lib/= msun/src/catrigl.c:238: error: 'pio2_hi' undecl=0Aared (first use in this f= unction)=0A/storage/home/hiroki/freebsd/lib/msun/src/catrigl.c:238: error: = 'pio2_lo' undecl=0Aared (first use in this function)=0A/storage/home/hiroki= /freebsd/lib/msun/src/catrigl.c:245: error: 'm_ln2' undeclar=0Aed (first us= e in this function)=0A/storage/home/hiroki/freebsd/lib/msun/src/catrigl.c:2= 56: error: 'SQRT_6_EPSILON'=0A=A0undeclared (first use in this function)=0A= /storage/home/hiroki/freebsd/lib/msun/src/catrigl.c: In function 'clog_for_= large=0A_values':=0A/storage/home/hiroki/freebsd/lib/msun/src/catrigl.c:311= : error: 'm_e' undeclared=0A=A0(first use in this function)=0A/storage/home= /hiroki/freebsd/lib/msun/src/catrigl.c: In function 'real_part_reci=0Aproca= l':=0A/storage/home/hiroki/freebsd/lib/msun/src/catrigl.c:337: error: stora= ge size of=A0=0A'ge_u' isn't known=0A/storage/home/hiroki/freebsd/lib/msun/= src/catrigl.c:339: error: storage size of=A0=0A'ge_u' isn't known=0A/storag= e/home/hiroki/freebsd/lib/msun/src/catrigl.c:350: error: storage size of=A0= =0A'se_u' isn't known=0A/storage/home/hiroki/freebsd/lib/msun/src/catrigl.c= : In function 'catanhl':=0A/storage/home/hiroki/freebsd/lib/msun/src/catrig= l.c:377: error: 'pio2_hi' undecl=0Aared (first use in this function)=0A/sto= rage/home/hiroki/freebsd/lib/msun/src/catrigl.c:377: error: 'pio2_lo' undec= l=0Aared (first use in this function)=0A/storage/home/hiroki/freebsd/lib/ms= un/src/catrigl.c:385: error: 'SQRT_3_EPSILON'=0A=A0undeclared (first use in= this function)=0A/storage/home/hiroki/freebsd/lib/msun/src/catrigl.c:391: = error: 'm_ln2' undeclar=0Aed (first use in this function)=0A*** Error code = 1=0A=0AStop.=0Abmake[5]: stopped in /storage/home/hiroki/freebsd/lib/msun= =0A*** Error code 1=0A=0AStop.=0Abmake[4]: stopped in /storage/home/hiroki/= freebsd=0A*** Error code 1=0A=0AStop.=0Abmake[3]: stopped in /storage/home/= hiroki/freebsd=0A*** Error code 1=0A=0AStop.=0Abmake[2]: stopped in /storag= e/home/hiroki/freebsd=0A*** Error code 1=0A=0AStop.=0Amake[1]: stopped in /= storage/home/hiroki/freebsd=0A*** Error code 1=0A=0AStop.=0Amake: stopped i= n /storage/home/hiroki/zrouter=0A From owner-freebsd-mips@freebsd.org Thu Feb 16 21:27:16 2017 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46B27CE265E for ; Thu, 16 Feb 2017 21:27:16 +0000 (UTC) (envelope-from guilherme@bittelecom.net) Received: from nv01-01.bittelecom.net (ns1.bittelecom.net [186.193.32.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3324179D for ; Thu, 16 Feb 2017 21:27:13 +0000 (UTC) (envelope-from guilherme@bittelecom.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bittelecom.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9XoaiJaLsqQ+KZI6DOOE8wt41LCvEO4zA5HI2rVdnHs=; b=Svb68P1VRa/OfjbXhEQQad8Bv0 1BtR5Qqdc5/B+kLR2+k8zWWsDnAjgf+ypj2Y0AVyBxemdKu2ykz3TrIqDhbR9dlvu76JkIXh0yJCr 5g5ZNsQ3R1vR50TBevI+1P1XLNSozB8hECJEiTZ9iKpk7wxPbsV8i2cTGZwuQCc+C/c0=; Received: from [186.193.32.18] (port=54157 helo=[192.168.15.30]) by nv01-01.bittelecom.net with esmtpa (Exim 4.88) (envelope-from ) id 1ceSvg-00024p-Nt for freebsd-mips@FreeBSD.org; Thu, 16 Feb 2017 15:45:28 -0500 To: freebsd-mips@FreeBSD.org From: Guilherme - Bit Telecom Subject: Hello Message-ID: Date: Thu, 16 Feb 2017 18:45:51 -0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - nv01-01.bittelecom.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - bittelecom.net X-Get-Message-Sender-Via: nv01-01.bittelecom.net: authenticated_id: guilherme@bittelecom.net X-Authenticated-Sender: nv01-01.bittelecom.net: guilherme@bittelecom.net X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2017 21:27:16 -0000 Where can I download freebsd 11 to octeon (mips) to meui edge route poe 5? I'm using 10.1, but the etherswitch is not running between ports 2,3,4. I would like to upgrade and see if I can resolve it. From owner-freebsd-mips@freebsd.org Sat Feb 18 20:22:05 2017 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FBB3CE59D8 for ; Sat, 18 Feb 2017 20:22:05 +0000 (UTC) (envelope-from ndorfman@gmail.com) Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C050C1FF7 for ; Sat, 18 Feb 2017 20:22:04 +0000 (UTC) (envelope-from ndorfman@gmail.com) Received: by mail-vk0-x22d.google.com with SMTP id t8so45424744vke.3 for ; Sat, 18 Feb 2017 12:22:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=6UyDeRYrPvZLdq/w5oXw+YKuNvso92cmCM4tHOrvIlo=; b=tq7te9wgR9jXWWBJ/YzcrbEbzKOP1wQnSMIoMKUOhDKk4Az45s3uazcHu6UEVZP5Jv Pio26Ka91YtZx1PI8FEo1IqQkTBuEncUotNJI8A3wLbGsrXDUXg7S3CYb0PQGgy3R9pj dWbc+j306T2bSD5mA0rwxj6hg1P79wtI4Qw65AUY5ySnYw2zq8M9x0U0YLAx/WxGnNm/ OtBeP6IV+TpHzzcqJKrhKDK7CXuvhbpwVoutC94LvjItshuEoJJG1g4E2p/1qBxaqQfz sfnIcHOUHzG9f4rnmrGfTkcvhXD1p1vzgWQ4ob946Y02KI5ZxGd+fbjQ2MDWJqRcLpOm AesQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=6UyDeRYrPvZLdq/w5oXw+YKuNvso92cmCM4tHOrvIlo=; b=BeNkaqBEeRDsMhyV+/U68OYPeZFNoID2osCxlCUf2S8yyf2pD+NqmCbGH9BjbSx2Gp u5EmugiSKuc9YWcHXpgICb2F30G4+paiCLbIqqW1HjO5QTB9wNfPZzagi80hVF58lNe2 qiFtx8FpDLuG5F/aHR8yzPk6Y7EsM0VtyQVF1/Wojl5rTxl8Sz18d1Dd63hdB1fqaDv8 TzQBlk5Khor4y0Sh5UvFh8cHJy5qggBm+HiMV3TqapWVBTwLpt1xf/hFjZ2CSxSnRpT0 LfMBObChNUE6coK6qDPeqNUH1yk8JmA8itgLO62LUK9qd8cX3qQjDQ/wpiIBTiBarl5z m9PA== X-Gm-Message-State: AMke39nr13QQnXD5dYR80qRZG/gGp5HlKDEqT0UDYDO97HivlnN70s7hwmzGq96iEeAQnhyTCBwomorgiXYAIg== X-Received: by 10.31.203.135 with SMTP id b129mr6901083vkg.153.1487449323993; Sat, 18 Feb 2017 12:22:03 -0800 (PST) MIME-Version: 1.0 Sender: ndorfman@gmail.com Received: by 10.103.50.67 with HTTP; Sat, 18 Feb 2017 12:22:03 -0800 (PST) In-Reply-To: References: From: Nathan Dorfman Date: Sat, 18 Feb 2017 13:22:03 -0700 X-Google-Sender-Auth: nWt_M_NZ79cTwioDbfGikabogDg Message-ID: Subject: Re: Hello To: Guilherme - Bit Telecom Cc: FreeBSD MIPS Mailing List Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2017 20:22:05 -0000 On Thu, Feb 16, 2017 at 1:45 PM, Guilherme - Bit Telecom wrote: > Where can I download freebsd 11 to octeon (mips) to meui edge route poe 5? > > I'm using 10.1, but the etherswitch is not running between ports 2,3,4. I > would like to upgrade and see if I can resolve it. I won't be able to provide any newer images until I set up a new build machine, but you should be able to build your own easily using my script, if you're so inclined. It's here: http://rtfm.net/FreeBSD/ERL/mkerlimage -nd.