grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [openbsd] 2.02-beta3: build fails - getroot.c:(.text+0x2b): undefine


From: Andrei Borzenkov
Subject: Re: [openbsd] 2.02-beta3: build fails - getroot.c:(.text+0x2b): undefined reference to `getrawpartition'
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

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/.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]