All of lore.kernel.org
 help / color / mirror / Atom feed
* powerpc/sparc problems
@ 2009-10-12  8:55 Felix Zielcke
  2009-10-12  9:05 ` David Miller
                   ` (4 more replies)
  0 siblings, 5 replies; 46+ messages in thread
From: Felix Zielcke @ 2009-10-12  8:55 UTC (permalink / raw)
  To: The development of GRUB 2; +Cc: David Miller

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


-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer




^ permalink raw reply	[flat|nested] 46+ messages in thread
* Re: powerpc/sparc problems
@ 2009-10-22  9:12 rubisher
  2009-10-22  9:31 ` Bean
  0 siblings, 1 reply; 46+ messages in thread
From: rubisher @ 2009-10-22  9:12 UTC (permalink / raw)
  To: grub-devel; +Cc: grub-devel, rubisher

[-- Attachment #1: Type: text/plain, Size: 3949 bytes --]

> On Thu, Oct 22, 2009 at 12:03 AM, rubisher wrote:
> > Bean wrote:
> >>
> >> On Mon, Oct 12, 2009 at 4:55 PM, Felix Zielcke 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/
>
Sorry I would have to be more accurate:
the git log said:
commit eb03e2575b2c0b1b4fd83f33a741f6fef3b93339
Author: Bean <bean123ch@gmail.com>
Date:   Wed Oct 21 01:11:27 2009 +0800

    Minor bug fix for parameter handling.

commit 8a3390f0164c89e8ae73884672556a9b31cbd766
Author: Bean <bean123ch@gmail.com>
Date:   Tue Oct 20 22:37:32 2009 +0800

    Support dialog and template, set maximum text mode for EFI.

Anyway, I remove all and clone it again:
git clone http://github.com/bean123/grub.git

copy this git tree in a working dir then run autogen.sh; mkdir build; cd build; ../configure; make
which still failed the same way.

Did i miss something???

Tx again,
    J.

_________________________________________
Scarlet Mobile, free subscription in combination with your Scarlet One or ADSL, visit http://www.scarlet.be/fr/mobile3g

[-- Attachment #2: Type: text/html, Size: 5860 bytes --]

^ permalink raw reply	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2009-10-28 10:29 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-12  8:55 powerpc/sparc problems Felix Zielcke
2009-10-12  9:05 ` David Miller
2009-10-12  9:42   ` Felix Zielcke
2009-10-12  9:56   ` Vladimir 'phcoder' Serbinenko
2009-10-12 10:11     ` David Miller
2009-10-12 10:27     ` Felix Zielcke
2009-10-12  9:26 ` Vladimir 'phcoder' Serbinenko
2009-10-12  9:33 ` Felix Zielcke
2009-10-20 18:07   ` rubisher
2009-10-20 20:24     ` Vladimir 'phcoder' Serbinenko
2009-10-21 15:59       ` rubisher
2009-10-12  9:58 ` Bean
2009-10-12 10:14   ` David Miller
2009-10-12 10:26     ` Vladimir 'phcoder' Serbinenko
2009-10-12 10:28       ` David Miller
2009-10-12 15:29         ` Pavel Roskin
2009-10-12 15:45           ` Vladimir 'phcoder' Serbinenko
2009-10-12 22:03             ` Pavel Roskin
2009-10-12 23:39             ` David Miller
2009-10-15 11:58         ` Vladimir 'phcoder' Serbinenko
2009-10-15 22:41           ` Pavel Roskin
2009-10-16 12:44             ` David Miller
2009-10-16 14:10               ` Pavel Roskin
2009-10-17  1:21               ` Pavel Roskin
2009-10-17  9:08                 ` Vladimir 'phcoder' Serbinenko
2009-10-17 10:11                 ` Robert Millan
2009-10-20 21:38                   ` [PATCH] auto-generate libgcc.h Robert Millan
2009-10-21  6:28                     ` Vladimir 'phcoder' Serbinenko
2009-10-21 15:55                       ` rubisher
2009-10-21 21:00                         ` Vladimir 'phcoder' Serbinenko
2009-10-23 16:19                           ` rubisher
2009-10-12 10:31     ` powerpc/sparc problems Bean
2009-10-12 11:07       ` David Miller
2009-10-12 14:05         ` Bean
2009-10-14 16:37       ` Robert Millan
2009-10-21 16:03   ` rubisher
2009-10-21 20:15     ` Bean
2009-10-28 10:24 ` Felix Zielcke
2009-10-28 10:29   ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2009-10-22  9:12 rubisher
2009-10-22  9:31 ` Bean
2009-10-23 20:34   ` rubisher
2009-10-24  6:13     ` Bean
2009-10-25 15:22       ` rubisher
2009-10-25 15:57         ` Bean
2009-10-26 21:06           ` rubisher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.