[opensuse-packaging] Build for x86_64 platform on x86?
GRUB2 for legacy BIOS builds two EFI runtime emulation modules - 32 and 64 bits. They are used when booting OS X. As I noticed, those modules are missing in grub2 for i586 because it cannot build 64 bit module. Is it possible at all? Which packages would be need during build? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sunday 2014-01-12 15:02, Andrey Borzenkov wrote:
GRUB2 for legacy BIOS builds two EFI runtime emulation modules - 32 and 64 bits. They are used when booting OS X. As I noticed, those modules are missing in grub2 for i586 because it cannot build 64 bit module. Is it possible at all? Which packages would be need during build?
cross-x86_64-binutils, cross-x86_64-gcc Now if you had x32 instead of i586, there wouldn't be a problem… ;-) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
В Sun, 12 Jan 2014 15:27:59 +0100 (CET) Jan Engelhardt <jengelh@inai.de> пишет:
On Sunday 2014-01-12 15:02, Andrey Borzenkov wrote:
GRUB2 for legacy BIOS builds two EFI runtime emulation modules - 32 and 64 bits. They are used when booting OS X. As I noticed, those modules are missing in grub2 for i586 because it cannot build 64 bit module. Is it possible at all? Which packages would be need during build?
cross-x86_64-binutils
Yes, this is available
cross-x86_64-gcc
This does not exist on 13.1 32 bits. Was it added recently in factory? Or available from third-party repo? I cannot use it in this case :(
Now if you had x32 instead of i586, there wouldn't be a problem… ;-)
Not my choice :) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sun, 12 Jan 2014, Andrey Borzenkov wrote:
В Sun, 12 Jan 2014 15:27:59 +0100 (CET) Jan Engelhardt <jengelh@inai.de> пишет:
On Sunday 2014-01-12 15:02, Andrey Borzenkov wrote:
GRUB2 for legacy BIOS builds two EFI runtime emulation modules - 32 and 64 bits. They are used when booting OS X. As I noticed, those modules are missing in grub2 for i586 because it cannot build 64 bit module. Is it possible at all? Which packages would be need during build?
cross-x86_64-binutils
Yes, this is available
cross-x86_64-gcc
This does not exist on 13.1 32 bits. Was it added recently in factory? Or available from third-party repo? I cannot use it in this case :(
It's indeed not available. We build the i586 GCC without multilib support (we could build with support for compiling with -m64). The "proper" way to handle this is to add a baselibs.conf that copies the 64bit part from the x86_64 package. Richard. -- Richard Biener <rguenther@suse.de> SUSE / SUSE Labs SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 GF: Jeff Hawn, Jennifer Guild, Felix Imend"orffer
On Mon, Jan 13, 2014 at 12:59 PM, Richard Biener <rguenther@suse.de> wrote:
The "proper" way to handle this is to add a baselibs.conf that copies the 64bit part from the x86_64 package.
Could you give (a link to) an example? Thank you! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Mon, 13 Jan 2014, Andrey Borzenkov wrote:
On Mon, Jan 13, 2014 at 12:59 PM, Richard Biener <rguenther@suse.de> wrote:
The "proper" way to handle this is to add a baselibs.conf that copies the 64bit part from the x86_64 package.
Could you give (a link to) an example? Thank you!
Look at gcc48 baselibs.conf for example: targettype x86 package libgcc_s1 targettype x86 package libstdc++6 libgcj48 requires "libgcj48" libgcj48-devel gcc48-gij requires "libgcj48-<targettype>" +/usr/bin/gij-4.8 -> /usr/bin/gij<extension>-4.8 +/usr/bin/grmiregistry-4.8 -> /usr/bin/grmiregistry<extension>-4.8 there should be extensive documentation about this somewhere in the packagers manual as well. Richard. -- Richard Biener <rguenther@suse.de> SUSE / SUSE Labs SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 GF: Jeff Hawn, Jennifer Guild, Felix Imend"orffer -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Andrey Borzenkov
-
Jan Engelhardt
-
Richard Biener