From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1afXVd-0001sf-LE for mharc-grub-devel@gnu.org; Mon, 14 Mar 2016 14:46:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afXVa-0001sQ-QU for grub-devel@gnu.org; Mon, 14 Mar 2016 14:46:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afXVX-0004IZ-HT for grub-devel@gnu.org; Mon, 14 Mar 2016 14:46:26 -0400 Received: from mail-lb0-x22a.google.com ([2a00:1450:4010:c04::22a]:32896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afXVX-0004Hk-9n; Mon, 14 Mar 2016 14:46:23 -0400 Received: by mail-lb0-x22a.google.com with SMTP id oe12so15304330lbc.0; Mon, 14 Mar 2016 11:46:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=lUkf5lFXsLdGtI5Jtv5r9D7umQM3ok7xbTbr4Yl4voY=; b=LI+g4wBEraYZqMLcEh8q/t273Ahijzwybl//AuKWmZjQiXI9c3Jy+L5jK4yh5eVr2S kNbVV3g+iW+WymQSVKlr+c4bBJSP481/ex+lMPDmPGfUXl4bUWznTaq2d8BARhZ7hOMl VDrABrxtyrNQh8ejTx+mItdgyfBhUkotQ5tBq1ge59RuoDcO6INJmDbZylhKYGJDktQy pHJaNc+NoWnq0QJIblVMHlRb5H+rQcAXNKLBUgkmGb2hfBn39zAQCippGqJDXXoVKv+4 uhReRf/FmAH8GAN1RpQz4U0rREQCrTUHTDIUPfOVvqC0q+MS0oXD/kEo80n8ccYvWWcp 2Rrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=lUkf5lFXsLdGtI5Jtv5r9D7umQM3ok7xbTbr4Yl4voY=; b=LH1qIdSz2/8AMER5hNPK9ljr24WIjOcD3Qtf2LKS5OpYi1JH3viDpqqZ0ix08JvaCU xeMlcJ8wKrPvsXzAQu1IlGbpcOFZoowMbcv/grc9pXu/7L+T1cR1nskFzSK1vXOapCxL Z5I+lHW1LLVsTl0EGe68kImPnxrDIb7ZlsRItT51kWAYUUlCT4iCQH7yCTwhuzb5EKDI wbRPAUh4/ZcOSlZMojaB4Qdl/23O+9VBPAOKVd4h+6EMwsdvYFKRumqbIAeXMKQ00oEb 9pWxUqlOYCkGP+x1h7WlF+u+omQB3dGxyK5UMvZw/ueXhOC5JBofdT/OwiC0tk7ARt7a kDzg== X-Gm-Message-State: AD7BkJJ2010ZSISzZfcEEclkfApdipEmTak8JheoPgjFgpMMIeT+FqoH8ze+OcOtSNSWxA== X-Received: by 10.25.15.202 with SMTP id 71mr8487351lfp.144.1457981182355; Mon, 14 Mar 2016 11:46:22 -0700 (PDT) Received: from [192.168.1.42] (ppp109-252-76-159.pppoe.spdop.ru. [109.252.76.159]) by smtp.gmail.com with ESMTPSA id t12sm3739822lfe.46.2016.03.14.11.46.20 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Mar 2016 11:46:21 -0700 (PDT) Subject: Re: [openbsd] 2.02-beta3: build fails - getroot.c:(.text+0x2b): undefined reference to `getrawpartition' To: Jiri B References: <20160312165742.GR17281@wolfman.devio.us> <56E45FFB.3070807@gmail.com> <20160312195423.GS17281@wolfman.devio.us> <56E4FD87.1040009@gmail.com> <20160314181957.GV17281@wolfman.devio.us> From: Andrei Borzenkov X-Enigmail-Draft-Status: N1110 Message-ID: <56E706FC.4000905@gmail.com> Date: Mon, 14 Mar 2016 21:46:20 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160314181957.GV17281@wolfman.devio.us> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::22a Cc: bug-grub@gnu.org, The development of GNU GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2016 18:46:28 -0000 14.03.2016 21:19, Jiri B пишет: > On Sun, Mar 13, 2016 at 08:41:27AM +0300, Andrei Borzenkov wrote: >>> Well, I see something went wrong now with compressing a file: >>> >>> $ tar tzvf /home/jirib/openbsd/packages/amd64/all/grub-2.02-beta3.tgz | grep lzma_decompress >>> -r-xr-xr-x 1 root bin 3904 Jan 1 1970 lib/grub/i386-pc/lzma_decompress.image >>> -r--r--r-- 1 root bin 134480024 Jan 1 1970 lib/grub/i386-pc/lzma_decompress.img >>> >>> It should not be 128MB, right? :) >>> >> >> No. Something went wrong with section addresses/offsets. Please test >> 2.02~beta2 - do you observe the same problem? Please upload Did you test beta2? >> lzma_decompress.image. Where obcopy comes from (obcopy --version)? What >> assembler is used? > > $ objcopy -V > GNU objcopy 2.17 > Copyright 2005 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. > > OpenBSD uses binutils-2.17 and it's not possible to update it just like that, > it's part of OS. > > The file is available here: http://afterboot.cz/pub/lzma_decompress.img > I asked lzma_decompress.image, not img. img is too late. >>> I uploaded whole build log here: http://devio.us/~jirib/grub.txt (2.3MB) >>> >>>>> -find . -iname '*.[ch]' ! -ipath './grub-core/lib/libgcrypt-grub/*' ! -ipath './build-aux/*' ! -ipath './grub-core/lib/libgcrypt/src/misc.c' ! -ipath './grub-core/lib/libgcrypt/src/global.c' ! -ipath './grub-core/lib/libgcrypt/src/secmem.c' ! -ipath './util/grub-gen-widthspec.c' ! -ipath './util/grub-gen-asciih.c' |sort > po/POTFILES.in >>>>> +find . -iname '*.[ch]' ! -path './grub-core/lib/libgcrypt-grub/*' ! -path './build-aux/*' ! -path './grub-core/lib/libgcrypt/src/misc.c' ! -path './grub-core/lib/libgcrypt/src/global.c' ! -path './grub-core/lib/libgcrypt/src/secmem.c' ! -path './util/grub-gen-widthspec.c' ! -path './util/grub-gen-asciih.c' |sort > po/POTFILES.in >>>>> find util -iname '*.in' ! -name Makefile.in |sort > po/POTFILES-shell.in >>>>> >>>> >>>> Hmm ... we support building on Windows which is case insensitive. What >>>> are other options to compare full path name case insenstive? >>> >>> I can live with patching it. OpenBSD find doesn't have 'ipath' and IIUC >>> it's not POSIX requiremement, so I doubt it will be implemented. >>> >> >> Why did you need it initially? Normally it is needed only when building >> from GIT; tarball comes with generated files. > > I built from git snapshot, I haven't seen any tarball for beta3. > They are available on http://alpha.gnu.org/gnu/grub/.