From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1afX7T-00042t-EL for mharc-grub-devel@gnu.org; Mon, 14 Mar 2016 14:21:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afX7O-000413-69 for grub-devel@gnu.org; Mon, 14 Mar 2016 14:21:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afX7K-0005Lo-20 for grub-devel@gnu.org; Mon, 14 Mar 2016 14:21:26 -0400 Received: from wolfman.devio.us ([98.142.108.75]:37264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afX7E-0005JZ-HC; Mon, 14 Mar 2016 14:21:16 -0400 Received: from localhost (localhost [127.0.0.1]) by wolfman.devio.us (Postfix) with ESMTP id D6EE5201DEB; Mon, 14 Mar 2016 14:20:01 -0400 (EDT) X-Virus-Scanned: amavisd-new at devio.us Received: from wolfman.devio.us ([127.0.0.1]) by localhost (wolfman.devio.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZkuCDS3tcMzl; Mon, 14 Mar 2016 14:19:57 -0400 (EDT) Received: by wolfman.devio.us (Postfix, from userid 2589) id B902F201DDA; Mon, 14 Mar 2016 14:19:57 -0400 (EDT) Date: Mon, 14 Mar 2016 14:19:57 -0400 From: Jiri B To: Andrei Borzenkov Subject: Re: [openbsd] 2.02-beta3: build fails - getroot.c:(.text+0x2b): undefined reference to `getrawpartition' Message-ID: <20160314181957.GV17281@wolfman.devio.us> References: <20160312165742.GR17281@wolfman.devio.us> <56E45FFB.3070807@gmail.com> <20160312195423.GS17281@wolfman.devio.us> <56E4FD87.1040009@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56E4FD87.1040009@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: OpenBSD 4.x-5.x X-Received-From: 98.142.108.75 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:21:30 -0000 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 > 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 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. > >>> Another thing - 'INSTALL' file says >= autoconf 2.60 is needed but > >>> it is >= 2.62 otherwise there is: > >>> > >>> "error: possibly undefined macro: AS_ECHO" > >>> > >> > >> Indeed. According to git log, AS_ECHO appeared first in 2.61a. What > >> version you have? > > > > IIUC it was firstly available in "normal" autoconf release in 2.62. > > > > This does not answer my question - what autoconf version your system > ships with (i.e. - do we need to change configure.ac or simply update > INSTALL)? IMO it would be ok to update INSTALL file. I had following autoconf versions: autoconf-2.13p3 autoconf-2.52p5 autoconf-2.59p4 autoconf-2.60p4 autoconf-2.61p4 autoconf-2.62p1 autoconf-2.63p0 autoconf-2.65p0 autoconf-2.67p0 autoconf-2.68p0 autoconf-2.69p1 Thanks for help. j.