grub-devel
[Top][All Lists]
Advanced

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

Re: powerpc/sparc problems


From: Bean
Subject: Re: powerpc/sparc problems
Date: Thu, 22 Oct 2009 04:15:07 +0800

On Thu, Oct 22, 2009 at 12:03 AM, rubisher <address@hidden> wrote:
> Bean wrote:
>>
>> On Mon, Oct 12, 2009 at 4:55 PM, Felix Zielcke <address@hidden> wrote:
>>>
>>> David are you still there?
>>> And also anyone who has access to a powerpc machine (and experience)?
>>>
>>> In Debian we the problem that the `__ashldi3' and `__bswapsi2' symbols
>>> can't be found in the grub-ieee1275 build on powerpc and also sparc.
>>>
>>> Jordi already noticed this with the 1.96+20090721-4 IIRC and now other
>>> people noticed this with 1.97~beta3
>>> AFAICS there wasn't anything relevant changed on our side, so seems to
>>> be a gcc issue.
>>>
>>> `__ashldi3' is listed in include/grub/powerpc/libgcc.h and `__bswapsi2'
>>> in the sparc64 header.
>>> But something has now changed that this isn't enough anymore, at least
>>> in Debian.
>>>
>>> We used gcc 4.3.3 at the time Jordi noticed this and now switched to
>>> gcc-4.4.1.
>>>
>>> And David we still have this sparc bug open, which I forwared to
>>> grub-devel:
>>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538030
>>
>> Hi,
>>
>> Try my branch, it includes the libgcc functions in grub instead of
>> rely on external library. It builds and run properly for
>> powerpc-ieee1275 last time I check.
>>
> Hello Mr bean ;<)
>
> I reach to grab your git tree but even a fresh pull still failed to build
> from src as follow:
> grub_emu-normal_main.o: In function `uitree_append':
> /Sources/jso/Grub2.deb/grub2-git091021/normal/main.c:169: undefined
> reference to `grub_uitree_root'
> /Sources/jso/Grub2.deb/grub2-git091021/normal/main.c:169: undefined
> reference to `grub_uitree_root'
> /Sources/jso/Grub2.deb/grub2-git091021/normal/main.c:169: undefined
> reference to `grub_uitree_find'
> /Sources/jso/Grub2.deb/grub2-git091021/normal/main.c:179: undefined
> reference to `grub_uitree_create_node'
> /Sources/jso/Grub2.deb/grub2-git091021/normal/main.c:184: undefined
> reference to `grub_uitree_set_prop'
> /Sources/jso/Grub2.deb/grub2-git091021/normal/main.c:185: undefined
> reference to `grub_uitree_set_prop'
> /Sources/jso/Grub2.deb/grub2-git091021/normal/main.c:186: undefined
> reference to `grub_tree_add_child'
> /Sources/jso/Grub2.deb/grub2-git091021/normal/main.c:172: undefined
> reference to `grub_uitree_create_node'
> /Sources/jso/Grub2.deb/grub2-git091021/normal/main.c:175: undefined
> reference to `grub_tree_add_child'
> collect2: ld returned 1 exit status
> make[1]: *** [grub-emu] Error 1
> make[1]: Leaving directory
> `/Sources/jso/Grub2.deb/grub2-git091021/build/grub-common'
> make: *** [build/grub-common] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
>
> Any idea/advise?

Hi,

I forget to add some file for grub-emu previously, but it's fixed
already, pull the latest code.

-- 
Bean

gitgrub home: http://github.com/grub/grub/
my fork page: http://github.com/bean123/grub/




reply via email to

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