Bug#389873: grub2: FTBFS (ppc64): util/console.c:275: undefined reference to `stdscr'

Robert Millan rmh at aybabtu.com
Thu Sep 28 15:17:32 UTC 2006


On Thu, Sep 28, 2006 at 12:00:48PM -0300, Otavio Salvador wrote:
> Robert Millan <rmh at aybabtu.com> writes:
> 
> > [ Please don't use -quiet.  I didn't see your reply and had to copy it from BTS ]
> 
> Ok, sorry!

Np ;)

> >> IIRC, bootloading on ppc64 needs to be done at 32bits space. 
> >> 
> >> Can someone confirm it?
> >
> > Yes, it needs to be 32-bit.  But the part that links with ncurses is grub-emu
> > which is a host tool.
> 
> humm... to allow it we would like to change the code to allow
> different parts of compilation use different flags. I hadn't check if
> the code already allow it but would be better to stay in a single mode
> (32 or 64) to keep simple.

The upstream code already does that (host_m32 is for the host components, and
target_m32 for the bootloader itself).  It's clear we need target_m32, but for
host_m32 we don't know what works and what doesn't, so we can only stick to
what upstream decided for us.

Our problem, however, is not really to decide wether to use 32 or 64 bit for the
host part, but to add biarch build-dependencies in case 32-bit is going to be
used.

To summarise:

  - To change host_m32 variable please check if that works and get in touch with
    upstream (grub-devel at gnu.org).

  - In case host_m32 is going to be set, we (debian) need to add the appropiate
    biarch build-dependencies, but we still need someone to confirm these work
    at least to get the thing building.

-- 
Robert Millan

My spam trap is honeypot at aybabtu.com.  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.




More information about the Pkg-grub-devel mailing list