Skip to contentSkip to conversation

Compile Grub2 in pure 64 bits ?

DISCUSSION Ghotcom 2 participants 3 messages Nov 2, 2007 – Nov 5, 2007 1 message not in the archive

lore
Share & tools
lore

Ghotcom

author
#0 lore raw

Hello folks!

I m trying to build Grub2 using a pure 64 bits compilation toolchain, and it doesn t seem to work; i m getting this error in 'configure' : neither start nor _start has been defined...(sort of).

Does someone know what the problem here is about ?

Any help apreciated.

A message that is not in the archive (sent off-list or not yet received): 1194015119.6523.5.camel@dv

author
#2 lore raw

Re,

well, there isn t much more in config.log. anyhow, from what I understand I won t go anywhere with Grub and pure 64 bits ? So maybe I should just rebuild my toolchain with multilib support ?

Regards

2007/11/2, Pavel Roskin <[email protected]>:

Quoted 22 lines · Ghotcom
Quoted 7 lines

Hello folks!

I m trying to build Grub2 using a pure 64 bits compilation toolchain, and it doesn t seem to work; i m getting this error in 'configure' :
neither start nor _start has been defined...(sort of).

Does someone know what the problem here is about ?

GRUB needs a 32-bit compiler, so it adds -m32 to force 32-bit compilation. Checking for "start" and "_start" is the first test that involves linking. I understand that you don't have 32-bit libraries installed, so it's the first test that fails. See config.log, it should have the details.

--
Regards,
Pavel Roskin

#3 lore raw
Quoted 4 lines · Ghotcom

Re,

well, there isn t much more in config.log. anyhow, from what I understand I won t go anywhere with Grub and pure 64 bits ?

Not untill someone volunteers to debug the problem (it really isn't trivial).

Besides, you can never get rid of 32-bit completely because of legacy cruft :-) In fact GRUB starts in 16-bit mode...

Quoted 2 lines

So maybe I should just
rebuild my toolchain with multilib support ?

If you just want a working GRUB, that's your best option.

Signature · 5 lines
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)